Skip to content

Commit 0ea436b

Browse files
committed
Revert sync changes
1 parent eb9cd94 commit 0ea436b

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

parachain-runtime/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!(
658658
VERSION
659659
}
660660

661-
fn execute_block(block: <Block as BlockT>::LazyBlock) {
661+
fn execute_block(block: Block) {
662662
Executive::execute_block(block)
663663
}
664664

@@ -701,7 +701,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!(
701701
}
702702

703703
fn check_inherents(
704-
block: <Block as BlockT>::LazyBlock,
704+
block: Block,
705705
data: sp_inherents::InherentData,
706706
) -> sp_inherents::CheckInherentsResult {
707707
data.check_extrinsics(&block)

parachain-runtime/src/revive_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ parameter_types! {
2525
pub const DepositPerByte: Balance = deposit(0, 1);
2626
pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024);
2727
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(0);
28-
pub const MaxEthExtrinsicWeight: FixedU128 = FixedU128::from_rational(9, 10);
28+
pub const MaxEthExtrinsicWeight: FixedU128 = FixedU128::from_rational(1,2);
2929
}
3030

3131
impl pallet_revive::Config for Runtime {

runtime/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!(
385385
VERSION
386386
}
387387

388-
fn execute_block(block: <Block as BlockT>::LazyBlock) {
388+
fn execute_block(block: Block) {
389389
Executive::execute_block(block);
390390
}
391391

@@ -427,7 +427,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!(
427427
}
428428

429429
fn check_inherents(
430-
block: <Block as BlockT>::LazyBlock,
430+
block: Block,
431431
data: sp_inherents::InherentData,
432432
) -> sp_inherents::CheckInherentsResult {
433433
data.check_extrinsics(&block)

runtime/src/revive_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ parameter_types! {
2424
pub const DepositPerByte: Balance = deposit(0, 1);
2525
pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024);
2626
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(0);
27-
pub const MaxEthExtrinsicWeight: FixedU128 = FixedU128::from_rational(9, 10);
27+
pub const MaxEthExtrinsicWeight: FixedU128 = FixedU128::from_rational(1,2);
2828
}
2929

3030
impl pallet_revive::Config for Runtime {

0 commit comments

Comments
 (0)