Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ethtx-forward test case #1519

Merged
merged 3 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pallet/ethtx-forwarder/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub use crate as darwinia_ethtx_forwarder;
// crates.io
use sha3::Digest;
// polkadot-sdk
use frame_support::derive_impl;
use frame_support::{derive_impl, traits::ConstU64};
boundless-forest marked this conversation as resolved.
Show resolved Hide resolved
use sp_runtime::BuildStorage;
use sp_std::prelude::*;

Expand All @@ -41,6 +41,7 @@ impl frame_system::Config for Runtime {
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig as pallet_balances::DefaultConfig)]
impl pallet_balances::Config for Runtime {
type AccountStore = System;
type ExistentialDeposit = ConstU64<0>;
boundless-forest marked this conversation as resolved.
Show resolved Hide resolved
}

#[derive_impl(pallet_timestamp::config_preludes::TestDefaultConfig as pallet_timestamp::DefaultConfig)]
Expand Down
4 changes: 2 additions & 2 deletions runtime/crab/src/pallets/tx_pause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>
| b"Assets" | b"Deposit"
| b"AccountMigration"
| b"DarwiniaStaking"
| b"Ethereum"
| b"EVM" | b"EthTxForwarder"
| b"Ethereum" | b"EVM"
| b"EthTxForwarder"
)
}
}
Expand Down
4 changes: 2 additions & 2 deletions runtime/koi/src/pallets/tx_pause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>
b"Balances"
| b"Assets" | b"Deposit"
| b"DarwiniaStaking"
| b"Ethereum"
| b"EVM" | b"EthTxForwarder"
| b"Ethereum" | b"EVM"
| b"EthTxForwarder"
)
}
}
Expand Down