Skip to content

Commit

Permalink
Add Erc20XcmBridge to abstraction (#34)
Browse files Browse the repository at this point in the history
* fix pallets in abstraction

* updated docs
  • Loading branch information
KitHat authored Nov 4, 2024
1 parent f7f545e commit ef65cb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion procedural/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Pallet index assignment is hidden from this API. If you want to use it, please c
* `Consensus` -- `pallet_authorship`, `pallet_aura`, `cumulus_pallet_aura_ext`, `pallet_collator_selection`
* `Governance` -- `pallet_sudo`, `pallet_treasury`, `pallet_conviction_voting`, `pallet_whitelist`, `pallet_custom_origins`, `pallet_referenda`
* `XCM` -- `pallet_message_queue`, `cumulus_pallet_xcmp_queue`, `pallet_xcm`, `cumulus_pallet_xcm`, `pallet_xcm_transactor`, `orml_xtokens`, `pallet_xcm_weight_trader`
* `EVM` -- `pallet_ethereum`, `pallet_evm`, `pallet_base_fee`, `pallet_evm_chain_id`
* `EVM` -- `pallet_ethereum`, `pallet_evm`, `pallet_base_fee`, `pallet_evm_chain_id`, `pallet_erc20_xcm_bridge`

### `impl_runtime_apis!`

Expand Down
1 change: 1 addition & 0 deletions procedural/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ mod runtime_apis;
/// * `pallet_evm`
/// * `pallet_base_fee`
/// * `pallet_evm_chain_id`
/// * `pallet_erc20_xcm_bridge`
#[proc_macro_attribute]
pub fn openzeppelin_construct_runtime(_: TokenStream, tokens: TokenStream) -> TokenStream {
construct_runtime::construct_openzeppelin_runtime(tokens)
Expand Down
3 changes: 2 additions & 1 deletion src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ macro_rules! impl_openzeppelin_evm {
};
}

pub const PALLET_NAMES: [(&str, &str); 4] = [
pub const PALLET_NAMES: [(&str, &str); 5] = [
("Ethereum", "pallet_ethereum"),
("EVM", "pallet_evm"),
("BaseFee", "pallet_base_fee"),
("EVMChainId", "pallet_evm_chain_id"),
("Erc20XcmBridge", "pallet_erc20_xcm_bridge"),
];

0 comments on commit ef65cb2

Please sign in to comment.