Skip to content

Commit

Permalink
pallet-ethereum: release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sorpaas committed Jun 14, 2021
1 parent 094bb99 commit 14f4cff
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 13 deletions.
60 changes: 53 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions frame/ethereum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-ethereum"
version = "2.0.0-dev"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
description = "Ethereum compatibility full block processing emulation pallet for Substrate."
Expand All @@ -14,17 +14,17 @@ frame-support = { version = "3.0.0", default-features = false, git = "https://gi
frame-system = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "frontier" }
pallet-balances = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "frontier" }
pallet-timestamp = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "frontier" }
pallet-evm = { version = "4.0.0-dev", default-features = false, path = "../evm" }
pallet-evm = { version = "4.0.0", default-features = false, path = "../evm" }
sp-runtime = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "frontier" }
sp-std = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "frontier" }
sp-io = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "frontier" }
fp-evm = { version = "2.0.0-dev", default-features = false, path = "../../primitives/evm" }
fp-evm = { version = "2.0.0", default-features = false, path = "../../primitives/evm" }
evm = { version = "0.27.0", features = ["with-codec"], default-features = false }
ethereum = { version = "0.7.1", default-features = false, features = ["with-codec"] }
ethereum-types = { version = "0.11", default-features = false }
rlp = { version = "0.5", default-features = false }
sha3 = { version = "0.8", default-features = false }
libsecp256k1 = { version = "0.3", default-features = false }
libsecp256k1 = { version = "0.5", default-features = false }
fp-consensus = { version = "1.0.0", path = "../../primitives/consensus", default-features = false }
fp-rpc = { version = "2.0.0", path = "../../primitives/rpc", default-features = false }
fp-storage = { version = "1.0.1", path = "../../primitives/storage", default-features = false}
Expand Down
4 changes: 2 additions & 2 deletions frame/ethereum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ decl_module! {
Self::do_transact(transaction)
}

fn on_finalize(n: T::BlockNumber) {
fn on_finalize(_n: T::BlockNumber) {
<Module<T>>::store_block(
fp_consensus::find_pre_log(&frame_system::Module::<T>::digest()).is_err(),
U256::from(
Expand All @@ -164,7 +164,7 @@ decl_module! {
);
}

fn on_initialize(n: T::BlockNumber) -> Weight {
fn on_initialize(_n: T::BlockNumber) -> Weight {
Pending::kill();

if let Ok(log) = fp_consensus::find_pre_log(&frame_system::Module::<T>::digest()) {
Expand Down

0 comments on commit 14f4cff

Please sign in to comment.