Skip to content

Commit

Permalink
Update OnChargeTransaction adapter (#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
boundless-forest authored May 7, 2024
1 parent 351a0b3 commit bf7a8b3
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
48 changes: 24 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runtime/crab/src/pallets/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl pallet_evm::Config for Runtime {
type FindAuthor = FindAuthor<pallet_session::FindAccountFromAuthorIndex<Self, Aura>>;
type GasLimitPovSizeRatio = GasLimitPovSizeRatio;
type GasWeightMapping = pallet_evm::FixedGasWeightMapping<Self>;
type OnChargeTransaction = ();
type OnChargeTransaction = pallet_evm::EVMFungibleAdapter<Balances, ()>;
type OnCreate = ();
type PrecompilesType = CrabPrecompiles<Self>;
type PrecompilesValue = PrecompilesValue;
Expand Down
2 changes: 1 addition & 1 deletion runtime/darwinia/src/pallets/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl pallet_evm::Config for Runtime {
type FindAuthor = FindAuthor<pallet_session::FindAccountFromAuthorIndex<Self, Aura>>;
type GasLimitPovSizeRatio = GasLimitPovSizeRatio;
type GasWeightMapping = pallet_evm::FixedGasWeightMapping<Self>;
type OnChargeTransaction = ();
type OnChargeTransaction = pallet_evm::EVMFungibleAdapter<Balances, ()>;
type OnCreate = ();
type PrecompilesType = DarwiniaPrecompiles<Self>;
type PrecompilesValue = PrecompilesValue;
Expand Down
2 changes: 1 addition & 1 deletion runtime/pangolin/src/pallets/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl pallet_evm::Config for Runtime {
type FindAuthor = FindAuthor<pallet_session::FindAccountFromAuthorIndex<Self, Aura>>;
type GasLimitPovSizeRatio = GasLimitPovSizeRatio;
type GasWeightMapping = pallet_evm::FixedGasWeightMapping<Self>;
type OnChargeTransaction = ();
type OnChargeTransaction = pallet_evm::EVMFungibleAdapter<Balances, ()>;
type OnCreate = ();
type PrecompilesType = PangolinPrecompiles<Self>;
type PrecompilesValue = PrecompilesValue;
Expand Down

0 comments on commit bf7a8b3

Please sign in to comment.