We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51bd10f commit 9d42605Copy full SHA for 9d42605
1 file changed
template/runtime/src/lib.rs
@@ -479,15 +479,15 @@ impl_runtime_apis! {
479
480
impl frontier_rpc_primitives::EthereumRuntimeRPCApi<Block> for Runtime {
481
fn chain_id() -> u64 {
482
- ChainId::get()
+ <Runtime as frame_evm::Trait>::ChainId::get()
483
}
484
485
fn account_basic(address: H160) -> EVMAccount {
486
EVM::account_basic(&address)
487
488
489
fn gas_price() -> U256 {
490
- FixedGasPrice::min_gas_price()
+ <Runtime as frame_evm::Trait>::FeeCalculator::min_gas_price()
491
492
493
fn account_code_at(address: H160) -> Vec<u8> {
0 commit comments