Upgrade evm dependencies (#208)

* update evm dependencies to v1.10.0
This commit is contained in:
Özgün Özerk
2024-05-30 00:27:12 +03:00
committed by GitHub
parent 135e186816
commit 912e6f4e19
7 changed files with 1024 additions and 745 deletions
+5 -4
View File
@@ -680,6 +680,7 @@ parameter_types! {
impl pallet_message_queue::Config for Runtime {
type HeapSize = HeapSize;
type IdleMaxServiceWeight = MessageQueueServiceWeight;
type MaxStale = MaxStale;
#[cfg(feature = "runtime-benchmarks")]
type MessageProcessor = pallet_message_queue::mock_helpers::NoopMessageProcessor<
@@ -773,9 +774,9 @@ impl pallet_aura::Config for Runtime {
type AuthorityId = AuraId;
type DisabledValidators = ();
type MaxAuthorities = MaxAuthorities;
#[cfg(all(feature = "experimental", feature = "async-backing"))]
#[cfg(feature = "async-backing")]
type SlotDuration = ConstU64<SLOT_DURATION>;
#[cfg(all(feature = "experimental", not(feature = "async-backing")))]
#[cfg(not(feature = "async-backing"))]
type SlotDuration = pallet_aura::MinimumPeriodTimesTwo<Self>;
}
@@ -1079,7 +1080,7 @@ impl_runtime_apis! {
}
fn authorities() -> Vec<AuraId> {
Aura::authorities().into_inner()
pallet_aura::Authorities::<Runtime>::get().into_inner()
}
}
@@ -1092,7 +1093,7 @@ impl_runtime_apis! {
Executive::execute_block(block)
}
fn initialize_block(header: &<Block as BlockT>::Header) {
fn initialize_block(header: &<Block as BlockT>::Header) -> sp_runtime::ExtrinsicInclusionMode {
Executive::initialize_block(header)
}
}