Skip to content

Commit

Permalink
Don't use ChainId struct directly. (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff authored Oct 19, 2020
1 parent d03cbd0 commit 075cbee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/parachain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ impl_runtime_apis! {

impl frontier_rpc_primitives::EthereumRuntimeRPCApi<Block> for Runtime {
fn chain_id() -> u64 {
ChainId::get()
<Runtime as pallet_evm::Trait>::ChainId::get()
}

fn account_basic(address: H160) -> EVMAccount {
Expand Down
2 changes: 1 addition & 1 deletion runtime/standalone/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ impl_runtime_apis! {

impl frontier_rpc_primitives::EthereumRuntimeRPCApi<Block> for Runtime {
fn chain_id() -> u64 {
ChainId::get()
<Runtime as frame_evm::Trait>::ChainId::get()
}

fn account_basic(address: H160) -> EVMAccount {
Expand Down

0 comments on commit 075cbee

Please sign in to comment.