Skip to content

Commit

Permalink
update: runtime deps
Browse files Browse the repository at this point in the history
  • Loading branch information
clostao committed Nov 21, 2023
1 parent 0cdf668 commit aeb7e70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions primitives/transaction-validator/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use frame_support::{
};
use hex::FromHex;
use pallet_evm::{EnsureAddressNever, EnsureAddressRoot};
use sp_core::{H160, H256, U256, ConstU32};
use sp_core::{ConstU32, H160, H256, U256};
use sp_runtime::{
traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify},
MultiSignature,
Expand Down Expand Up @@ -108,7 +108,7 @@ impl pallet_timestamp::Config for Runtime {

parameter_types! {
pub BlockGasLimit: U256 = U256::max_value();
pub const WeightPerGas: Weight = Weight::from_ref_time(1);
pub const WeightPerGas: Weight = Weight::from_parts(1, 0);
pub ERC20SlotZero: H160 = H160::from_str("0x22D598E0a9a1b474CdC7c6fBeA0B4F83E12046a9").unwrap();
pub ZeroSlot : H256 = H256::from_low_u64_be(0);
pub const GasLimitPovSizeRatio: u64 = 15;
Expand All @@ -118,7 +118,7 @@ impl FeeCalculator for FixedBaseFee {
fn min_gas_price() -> (U256, Weight) {
(
U256::from(1_000_000_000),
Weight::from_ref_time(1_000_000_000),
Weight::from_parts(1_000_000_000, 0),
)
}
}
Expand Down
1 change: 0 additions & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,6 @@ impl pallet_sponsored_transactions::Config for Runtime {

impl pallet_zero_gas_transactions::Config for Runtime {
type RuntimeCall = RuntimeCall;
type UserFeeTokenController = pallet_user_fee_selector::Pallet<Self>;
}

parameter_types! {
Expand Down

0 comments on commit aeb7e70

Please sign in to comment.