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

Longer evm data size for revert message #3100

Merged
merged 3 commits into from
Sep 27, 2024
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
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