Skip to content

Commit

Permalink
Ditch SystemChainId.
Browse files Browse the repository at this point in the history
It was not used anywhere, and the underlying host function was removed 
in paritytech/substrate#7810
  • Loading branch information
JoshOrndorff committed Jan 13, 2021
1 parent 31d6afb commit 92bf799
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions frame/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,15 +223,6 @@ impl GasWeightMapping for () {
}
}

/// Substrate system chain ID.
pub struct SystemChainId;

impl Get<u64> for SystemChainId {
fn get() -> u64 {
sp_io::misc::chain_id()
}
}

static ISTANBUL_CONFIG: EvmConfig = EvmConfig::istanbul();

/// EVM module trait
Expand Down

0 comments on commit 92bf799

Please sign in to comment.