Skip to content

Commit

Permalink
[fix] reduce fees and deposit, release v1.0.1 (#604)
Browse files Browse the repository at this point in the history
* release v0.6.7

* reduce fees and bump spec version
  • Loading branch information
1xstj authored Apr 12, 2024
1 parent 8af256e commit 1438015
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ pub mod currency {

// Monetary value
// =============
/// Lets assume 10 TNT = 1USD
/// Lets assume 100 TNT = 1USD
/// This assumption forms the base of all fee calculations, revisit this
/// if the assumption is no longer true.
pub const DOLLAR: Balance = UNIT * 10;
pub const DOLLAR: Balance = UNIT * 100;
pub const CENT: Balance = DOLLAR / 100;
pub const MILLICENT: Balance = CENT / 1000;
/// The existential deposit.
Expand Down
8 changes: 4 additions & 4 deletions runtime/mainnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("tangle"),
impl_name: create_runtime_str!("tangle"),
authoring_version: 1,
spec_version: 1000, // v1.0.00
spec_version: 1001, // v1.0.1
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -1043,9 +1043,9 @@ impl pallet_tx_pause::Config for Runtime {
}

parameter_types! {
pub const BasicDeposit: Balance = deposit(0, 600);
pub const ByteDeposit: Balance = deposit(0, 100);
pub const FieldDeposit: Balance = deposit(0, 66);
pub const BasicDeposit: Balance = deposit(0, 200);
pub const ByteDeposit: Balance = deposit(0, 50);
pub const FieldDeposit: Balance = deposit(0, 33);
pub const SubAccountDeposit: Balance = deposit(1, 53);
pub const MaxSubAccounts: u32 = 100;
#[derive(Serialize, Deserialize)]
Expand Down
2 changes: 1 addition & 1 deletion runtime/testnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("tangle-testnet"),
impl_name: create_runtime_str!("tangle-testnet"),
authoring_version: 1,
spec_version: 1000, // v1.0.00
spec_version: 1001, // v1.0.1
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down

0 comments on commit 1438015

Please sign in to comment.