Skip to content

Commit

Permalink
Longer evm data size for revert message (#3100)
Browse files Browse the repository at this point in the history
* Increase ExtraDataLength to 256 bytes

* more udpate
  • Loading branch information
Kailai-Wang authored Sep 27, 2024
1 parent fe22fd9 commit 539af4e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion parachain/pallets/evm-address/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ impl pallet_ethereum::Config for Test {
type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;
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 {
Expand Down
2 changes: 1 addition & 1 deletion parachain/runtime/litentry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ impl pallet_ethereum::Config for Runtime {
type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;
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! {
Expand Down
2 changes: 1 addition & 1 deletion parachain/runtime/paseo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ impl pallet_ethereum::Config for Runtime {
type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;
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! {
Expand Down
2 changes: 1 addition & 1 deletion parachain/runtime/rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ impl pallet_ethereum::Config for Runtime {
type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;
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! {
Expand Down

0 comments on commit 539af4e

Please sign in to comment.