Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Guantong committed Feb 9, 2023
1 parent c058a1b commit 5def3db
Show file tree
Hide file tree
Showing 11 changed files with 1,492 additions and 732 deletions.
2,213 changes: 1,482 additions & 731 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fc-cli = { git = "https://github.com/darwinia-network/frontier", branch
fc-consensus = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.37" }
fc-db = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.37" }
fc-mapping-sync = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.37" }
fc-rpc = { features = ["rpc_binary_search_estimate"], git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.37" }
fc-rpc = { features = ["rpc-binary-search-estimate"], git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.37" }
fc-rpc-core = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.37" }
fp-evm = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.37" }
fp-rpc = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.37" }
Expand Down
1 change: 1 addition & 0 deletions pallet/message-gadget/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ impl pallet_evm::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type WeightPerGas = ();
type WithdrawOrigin = pallet_evm::EnsureAddressNever<sp_core::H160>;
type Oncreate = ();
}

impl darwinia_message_gadget::Config for Runtime {}
Expand Down
1 change: 1 addition & 0 deletions pallet/message-transact/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ impl pallet_evm::Config for TestRuntime {
type RuntimeEvent = RuntimeEvent;
type WeightPerGas = WeightPerGas;
type WithdrawOrigin = pallet_evm::EnsureAddressNever<AccountId>;
type OnCreate = ();
}

impl pallet_ethereum::Config for TestRuntime {
Expand Down
1 change: 1 addition & 0 deletions precompile/assets/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ impl pallet_evm::Config for TestRuntime {
type RuntimeEvent = RuntimeEvent;
type WeightPerGas = WeightPerGas;
type WithdrawOrigin = pallet_evm::EnsureAddressNever<AccountId>;
type OnCreate = ();
}

impl pallet_assets::Config for TestRuntime {
Expand Down
1 change: 1 addition & 0 deletions precompile/deposit/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ impl pallet_evm::Config for TestRuntime {
type RuntimeEvent = RuntimeEvent;
type WeightPerGas = WeightPerGas;
type WithdrawOrigin = pallet_evm::EnsureAddressNever<AccountId>;
type OnCreate = ();
}

frame_support::construct_runtime!(
Expand Down
1 change: 1 addition & 0 deletions precompile/staking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ impl pallet_evm::Config for TestRuntime {
type RuntimeEvent = RuntimeEvent;
type WeightPerGas = WeightPerGas;
type WithdrawOrigin = pallet_evm::EnsureAddressNever<AccountId>;
type OnCreate = ();
}

frame_support::parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions precompile/state-storage/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ impl pallet_evm::Config for TestRuntime {
type RuntimeEvent = RuntimeEvent;
type WeightPerGas = WeightPerGas;
type WithdrawOrigin = pallet_evm::EnsureAddressNever<AccountId>;
type OnCreate = ();
}

frame_support::construct_runtime! {
Expand Down
1 change: 1 addition & 0 deletions runtime/crab/src/pallets/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ impl pallet_evm::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type WeightPerGas = WeightPerGas;
type WithdrawOrigin = pallet_evm::EnsureAddressNever<AccountId>;
type OnCreate = ();
}

fn addr(a: u64) -> H160 {
Expand Down
1 change: 1 addition & 0 deletions runtime/darwinia/src/pallets/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ impl pallet_evm::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type WeightPerGas = WeightPerGas;
type WithdrawOrigin = pallet_evm::EnsureAddressNever<AccountId>;
type OnCreate = ();
}

fn addr(a: u64) -> H160 {
Expand Down
1 change: 1 addition & 0 deletions runtime/pangolin/src/pallets/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ impl pallet_evm::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type WeightPerGas = WeightPerGas;
type WithdrawOrigin = pallet_evm::EnsureAddressNever<AccountId>;
type OnCreate = ();
}

fn addr(a: u64) -> H160 {
Expand Down

0 comments on commit 5def3db

Please sign in to comment.