Skip to content

Commit

Permalink
Self-review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Oct 27, 2023
1 parent 6c50234 commit 3f8277c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runtime/shiden/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ pub use precompiles::{ShidenNetworkPrecompiles, ASSET_PRECOMPILE_ADDRESS_PREFIX}
pub type Precompiles = ShidenNetworkPrecompiles<Runtime, ShidenAssetLocationIdConverter>;

/// Constant values used within the runtime.
pub const PICOSDN: Balance = 1_000_000_000;
pub const MICROSDN: Balance = 1_000 * PICOSDN;
pub const NANOSDN: Balance = 1_000_000_000;
pub const MICROSDN: Balance = 1_000 * NANOSDN;
pub const MILLISDN: Balance = 1_000 * MICROSDN;
pub const SDN: Balance = 1_000 * MILLISDN;

pub const STORAGE_BYTE_FEE: Balance = 200 * PICOSDN;
pub const STORAGE_BYTE_FEE: Balance = 200 * NANOSDN;

/// Charge fee for stored bytes and items.
pub const fn deposit(items: u32, bytes: u32) -> Balance {
Expand Down Expand Up @@ -1043,7 +1043,7 @@ parameter_types! {
pub const BaseFeeStr: &'static str = "BaseFee";
}

/// Simple `OnRuntimeUpgrade` logic to prepare Shibuya runtime for `DynamicEvmBaseFee` pallet.
/// Simple `OnRuntimeUpgrade` logic to prepare Shiden runtime for `DynamicEvmBaseFee` pallet.
pub use frame_support::traits::{OnRuntimeUpgrade, StorageVersion};
pub struct DynamicEvmBaseFeeMigration;
impl OnRuntimeUpgrade for DynamicEvmBaseFeeMigration {
Expand Down

0 comments on commit 3f8277c

Please sign in to comment.