Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
54 changes: 27 additions & 27 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions node/service/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ where
fee_history_cache,
fee_history_limit,
10,
true,
forced_parent_hashes,
pending_create_inherent_data_providers,
Some(pending_consenus_data_provider),
Expand Down
1 change: 1 addition & 0 deletions pallets/ethereum-xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ impl<T: Config> Pallet<T> {
base_fee: U256::zero(),
chain_id: 0u64,
is_transactional: true,
allow_unprotected_txs: false,
},
transaction_data.into(),
weight_limit,
Expand Down
2 changes: 2 additions & 0 deletions pallets/ethereum-xcm/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,14 @@ impl pallet_evm::Config for Test {

parameter_types! {
pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes;
pub const AllowUnprotectedTxs: bool = true;
}

impl pallet_ethereum::Config for Test {
type StateRoot = IntermediateStateRoot<<Test as frame_system::Config>::Version>;
type PostLogContent = PostBlockAndTxnHashes;
type ExtraDataLength = ConstU32<30>;
type AllowUnprotectedTxs = AllowUnprotectedTxs;
}

parameter_types! {
Expand Down
2 changes: 2 additions & 0 deletions pallets/moonbeam-foreign-assets/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,14 @@ impl pallet_evm::Config for Test {

parameter_types! {
pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes;
pub const AllowUnprotectedTxs: bool = true;
}

impl pallet_ethereum::Config for Test {
type StateRoot = IntermediateStateRoot<<Test as frame_system::Config>::Version>;
type PostLogContent = PostBlockAndTxnHashes;
type ExtraDataLength = ConstU32<30>;
type AllowUnprotectedTxs = AllowUnprotectedTxs;
}

/// Gets parameters of last `ForeignAssetCreatedHook::on_asset_created` hook invocation
Expand Down
2 changes: 2 additions & 0 deletions runtime/moonbase/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -693,13 +693,15 @@ impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConve

parameter_types! {
pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes;
pub const AllowUnprotectedTxs: bool = true;
}

impl pallet_ethereum::Config for Runtime {
type StateRoot =
pallet_ethereum::IntermediateStateRoot<<Runtime as frame_system::Config>::Version>;
type PostLogContent = PostBlockAndTxnHashes;
type ExtraDataLength = ConstU32<30>;
type AllowUnprotectedTxs = AllowUnprotectedTxs;
}

pub struct EthereumXcmEnsureProxy;
Expand Down
2 changes: 2 additions & 0 deletions runtime/moonbase/tests/xcm_mock/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -885,13 +885,15 @@ impl xcm_primitives::HrmpEncodeCall for MockHrmpEncoder {

parameter_types! {
pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes;
pub const AllowUnprotectedTxs: bool = true;
}

impl pallet_ethereum::Config for Runtime {
type StateRoot =
pallet_ethereum::IntermediateStateRoot<<Runtime as frame_system::Config>::Version>;
type PostLogContent = PostBlockAndTxnHashes;
type ExtraDataLength = ConstU32<30>;
type AllowUnprotectedTxs = AllowUnprotectedTxs;
}
parameter_types! {
pub ReservedXcmpWeight: Weight = Weight::from_parts(u64::max_value(), 0);
Expand Down
2 changes: 2 additions & 0 deletions runtime/moonbeam/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -691,12 +691,14 @@ impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConve

parameter_types! {
pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes;
pub const AllowUnprotectedTxs: bool = true;
}

impl pallet_ethereum::Config for Runtime {
type StateRoot = pallet_ethereum::IntermediateStateRoot<Self::Version>;
type PostLogContent = PostBlockAndTxnHashes;
type ExtraDataLength = ConstU32<30>;
type AllowUnprotectedTxs = AllowUnprotectedTxs;
}

/// Relay chain slot duration, in milliseconds.
Expand Down
2 changes: 2 additions & 0 deletions runtime/moonbeam/tests/xcm_mock/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -878,13 +878,15 @@ impl xcm_primitives::HrmpEncodeCall for MockHrmpEncoder {

parameter_types! {
pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes;
pub const AllowUnprotectedTxs: bool = true;
}

impl pallet_ethereum::Config for Runtime {
type StateRoot =
pallet_ethereum::IntermediateStateRoot<<Runtime as frame_system::Config>::Version>;
type PostLogContent = PostBlockAndTxnHashes;
type ExtraDataLength = ConstU32<30>;
type AllowUnprotectedTxs = AllowUnprotectedTxs;
}
parameter_types! {
pub ReservedXcmpWeight: Weight = Weight::from_parts(u64::max_value(), 0);
Expand Down
2 changes: 2 additions & 0 deletions runtime/moonriver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -694,13 +694,15 @@ impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConve

parameter_types! {
pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes;
pub const AllowUnprotectedTxs: bool = true;
}

impl pallet_ethereum::Config for Runtime {
type StateRoot =
pallet_ethereum::IntermediateStateRoot<<Runtime as frame_system::Config>::Version>;
type PostLogContent = PostBlockAndTxnHashes;
type ExtraDataLength = ConstU32<30>;
type AllowUnprotectedTxs = AllowUnprotectedTxs;
}

pub struct EthereumXcmEnsureProxy;
Expand Down
2 changes: 2 additions & 0 deletions runtime/moonriver/tests/xcm_mock/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -852,13 +852,15 @@ impl xcm_primitives::HrmpEncodeCall for MockHrmpEncoder {

parameter_types! {
pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes;
pub const AllowUnprotectedTxs: bool = true;
}

impl pallet_ethereum::Config for Runtime {
type StateRoot =
pallet_ethereum::IntermediateStateRoot<<Runtime as frame_system::Config>::Version>;
type PostLogContent = PostBlockAndTxnHashes;
type ExtraDataLength = ConstU32<30>;
type AllowUnprotectedTxs = AllowUnprotectedTxs;
}

parameter_types! {
Expand Down
Loading
Loading