Skip to content

Commit

Permalink
Restore intermediate state root (paritytech#207)
Browse files Browse the repository at this point in the history
This reverts commit 128f173.
  • Loading branch information
JoshOrndorff authored Jan 26, 2021
1 parent d869aa8 commit 1d9ca34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,17 +304,13 @@ impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConve

pub struct EthereumFindAuthor<F>(PhantomData<F>);

parameter_types! {
pub const DefaultStateRoot: H256 = H256::zero();
}

impl pallet_ethereum::Config for Runtime {
type Event = Event;
#[cfg(not(feature = "standalone"))]
type FindAuthor = EthereumFindAuthor<PhantomAura>;
#[cfg(feature = "standalone")]
type FindAuthor = EthereumFindAuthor<Aura>;
type StateRoot = DefaultStateRoot;
type StateRoot = pallet_ethereum::IntermediateStateRoot;
}

// 18 decimals
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ macro_rules! runtime_parachain {
spec_name: create_runtime_str!("moonbase-alphanet"),
impl_name: create_runtime_str!("moonbase-alphanet"),
authoring_version: 3,
spec_version: 10,
spec_version: 11,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/standalone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ macro_rules! runtime_standalone {
spec_name: create_runtime_str!("moonbeam-standalone"),
impl_name: create_runtime_str!("moonbeam-standalone"),
authoring_version: 3,
spec_version: 10,
spec_version: 11,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
Expand Down

0 comments on commit 1d9ca34

Please sign in to comment.