Skip to content

Commit

Permalink
pallet-dynamic-fee: 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 14f4cff commit f00cc56
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

4 changes: 2 additions & 2 deletions frame/dynamic-fee/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "pallet-dynamic-fee"
version = "2.0.0-dev"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
description = "Dynamic fee handling for EVM."
license = "Apache-2.0"

[dependencies]
pallet-evm = { path = "../evm", version = "4.0.0-dev", default-features = false }
pallet-evm = { path = "../evm", version = "4.0.0", default-features = false }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
serde = { version = "1.0.101", optional = true }
sp-std = { version = "3.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "frontier" }
Expand Down
4 changes: 2 additions & 2 deletions frame/dynamic-fee/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use sp_inherents::{InherentIdentifier, InherentData, ProvideInherent, IsFatalErr
#[cfg(feature = "std")]
use sp_inherents::ProvideInherentData;
use frame_support::{
decl_module, decl_storage, decl_event,
decl_module, decl_storage,
traits::Get, weights::Weight,
};
use frame_system::ensure_none;
Expand Down Expand Up @@ -56,7 +56,7 @@ decl_module! {
T::DbWeight::get().writes(1)
}

fn on_finalize(n: T::BlockNumber) {
fn on_finalize(_n: T::BlockNumber) {
if let Some(target) = TargetMinGasPrice::get() {
let bound = MinGasPrice::get() / T::MinGasPriceBoundDivisor::get() + U256::one();

Expand Down

0 comments on commit f00cc56

Please sign in to comment.