mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-05 16:47:25 +00:00
pallet-evm: configurable gasometer config (#5320)
* pallet-evm: configurable gasometer config * Bump runtime impl_version * Update evm to 0.16.1 Documentation updates Co-authored-by: Gavin Wood <gavin@parity.io>
This commit is contained in:
@@ -7,7 +7,6 @@ use sp_core::{U256, H256, H160};
|
||||
use sp_runtime::traits::UniqueSaturatedInto;
|
||||
use frame_support::storage::{StorageMap, StorageDoubleMap};
|
||||
use sha3::{Keccak256, Digest};
|
||||
use evm::Config;
|
||||
use evm::backend::{Backend as BackendT, ApplyBackend, Apply};
|
||||
use crate::{Trait, Accounts, AccountStorages, AccountCodes, Module, Event};
|
||||
|
||||
@@ -43,10 +42,6 @@ pub struct Vicinity {
|
||||
pub origin: H160,
|
||||
}
|
||||
|
||||
/// Gasometer config used for executor. Currently this is hard-coded to
|
||||
/// Istanbul hard fork.
|
||||
pub static GASOMETER_CONFIG: Config = Config::istanbul();
|
||||
|
||||
/// Substrate backend for EVM.
|
||||
pub struct Backend<'vicinity, T> {
|
||||
vicinity: &'vicinity Vicinity,
|
||||
|
||||
Reference in New Issue
Block a user