difftreelog
feat enable evm contract helpers
in: master
1 file changed
runtime/src/lib.rsdiffbeforeafterboth248 type Precompiles = ();248 type Precompiles = ();249 type Currency = Balances;249 type Currency = Balances;250 type Event = Event;250 type Event = Event;251 type OnMethodCall = pallet_nft::NftErcSupport<Self>;251 type OnMethodCall = (252 pallet_nft::NftErcSupport<Self>,253 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,254 );255 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;252 type ChainId = ChainId;256 type ChainId = ChainId;253 type Runner = pallet_evm::runner::stack::Runner<Self>;257 type Runner = pallet_evm::runner::stack::Runner<Self>;254 type OnChargeTransaction = ();258 type OnChargeTransaction = ();742746743// impl pallet_contract_helpers::Config for Runtime {}747// impl pallet_contract_helpers::Config for Runtime {}748749parameter_types! {750 // 0x842899ECF380553E8a4de75bF534cdf6fBF64049751 pub const HelpersContractAddress: H160 = H160([752 0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,753 ]);754}755756impl pallet_evm_contract_helpers::Config for Runtime {757 type Event = Event;758 type ContractAddress = HelpersContractAddress;759}744760745construct_runtime!(761construct_runtime!(746 pub enum Runtime where762 pub enum Runtime where