Skip to content

Commit

Permalink
Add missed evm related config params
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylavrenov committed Oct 31, 2023
1 parent 83b5bd9 commit f2ed513
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/humanode-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,8 @@ impl pallet_evm::Config for Runtime {
type FindAuthor = find_author::FindAuthorTruncated<
find_author::FindAuthorFromSession<find_author::FindAuthorBabe, BabeId>,
>;
type Timestamp = Timestamp;
type WeightInfo = pallet_evm::weights::SubstrateWeight<Runtime>;
}

parameter_types! {
Expand All @@ -711,6 +713,7 @@ impl pallet_ethereum::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;
type PostLogContent = PostBlockAndTxnHashes;
type ExtraDataLength = ConstU32<30>;
}

impl pallet_chain_properties::Config for Runtime {}
Expand Down

0 comments on commit f2ed513

Please sign in to comment.