From 6aa3614287f4bc0f0b0a1419fbf758334f9aa46b Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Fri, 27 Sep 2024 09:04:34 +0000 Subject: [PATCH 1/2] Increase ExtraDataLength to 256 bytes --- parachain/runtime/litentry/src/lib.rs | 2 +- parachain/runtime/paseo/src/lib.rs | 2 +- parachain/runtime/rococo/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parachain/runtime/litentry/src/lib.rs b/parachain/runtime/litentry/src/lib.rs index 4815a5fc21..0fe656a87f 100644 --- a/parachain/runtime/litentry/src/lib.rs +++ b/parachain/runtime/litentry/src/lib.rs @@ -1103,7 +1103,7 @@ impl pallet_ethereum::Config for Runtime { type StateRoot = pallet_ethereum::IntermediateStateRoot; type PostLogContent = PostBlockAndTxnHashes; // Maximum length (in bytes) of revert message to include in Executed event - type ExtraDataLength = ConstU32<30>; + type ExtraDataLength = ConstU32<256>; } parameter_types! { diff --git a/parachain/runtime/paseo/src/lib.rs b/parachain/runtime/paseo/src/lib.rs index f80bc095ec..8c5267e471 100644 --- a/parachain/runtime/paseo/src/lib.rs +++ b/parachain/runtime/paseo/src/lib.rs @@ -1146,7 +1146,7 @@ impl pallet_ethereum::Config for Runtime { type StateRoot = pallet_ethereum::IntermediateStateRoot; type PostLogContent = PostBlockAndTxnHashes; // Maximum length (in bytes) of revert message to include in Executed event - type ExtraDataLength = ConstU32<30>; + type ExtraDataLength = ConstU32<256>; } parameter_types! { diff --git a/parachain/runtime/rococo/src/lib.rs b/parachain/runtime/rococo/src/lib.rs index c875ce5e53..ba7f2ca240 100644 --- a/parachain/runtime/rococo/src/lib.rs +++ b/parachain/runtime/rococo/src/lib.rs @@ -1145,7 +1145,7 @@ impl pallet_ethereum::Config for Runtime { type StateRoot = pallet_ethereum::IntermediateStateRoot; type PostLogContent = PostBlockAndTxnHashes; // Maximum length (in bytes) of revert message to include in Executed event - type ExtraDataLength = ConstU32<30>; + type ExtraDataLength = ConstU32<256>; } parameter_types! { From 6f20c75521f9097e21b94b28e9c66330f552e0f0 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Fri, 27 Sep 2024 09:08:27 +0000 Subject: [PATCH 2/2] more udpate --- parachain/pallets/evm-address/src/mock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parachain/pallets/evm-address/src/mock.rs b/parachain/pallets/evm-address/src/mock.rs index bc5b21150a..ca2b1a10f4 100644 --- a/parachain/pallets/evm-address/src/mock.rs +++ b/parachain/pallets/evm-address/src/mock.rs @@ -233,7 +233,7 @@ impl pallet_ethereum::Config for Test { type StateRoot = pallet_ethereum::IntermediateStateRoot; type PostLogContent = PostBlockAndTxnHashes; // Maximum length (in bytes) of revert message to include in Executed event - type ExtraDataLength = ConstU32<30>; + type ExtraDataLength = ConstU32<256>; } impl pallet_evm_address::Config for Test {