difftreelog
feat enable evm transaction payment
in: master
1 file changed
runtime/src/lib.rsdiffbeforeafterboth255 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;255 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;256 type ChainId = ChainId;256 type ChainId = ChainId;257 type Runner = pallet_evm::runner::stack::Runner<Self>;257 type Runner = pallet_evm::runner::stack::Runner<Self>;258 type OnChargeTransaction = ();258 type OnChargeTransaction = pallet_evm_transaction_payment::OnChargeTransaction<Self>;259 type TransactionValidityHack = pallet_evm_transaction_payment::TransactionValidityHack<Self>;259 type FindAuthor = EthereumFindAuthor<Aura>;260 type FindAuthor = EthereumFindAuthor<Aura>;260}261}261262742 type SponsorshipHandler = SponsorshipHandler;743 type SponsorshipHandler = SponsorshipHandler;743}744}745746impl pallet_evm_transaction_payment::Config for Runtime {747 type SponsorshipHandler = (748 pallet_nft::NftEthSponsorshipHandler<Self>,749 pallet_evm_contract_helpers::HelpersContractSponsoring<Self>,750 );751 type Currency = Balances;752}744753745impl pallet_nft_charge_transaction::Config for Runtime {}754impl pallet_nft_charge_transaction::Config for Runtime {}746755