Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request paritytech#506 from subspace/tweak-escrow-constants
Browse files Browse the repository at this point in the history
Decrease storage fee percentage that goes into escrow and taken out of it each block
  • Loading branch information
nazar-pc committed May 27, 2022
2 parents 780b3b7 + 27d74a4 commit 6b0a892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/subspace-runtime-primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ pub const RECORDED_HISTORY_SEGMENT_SIZE: u32 = RECORD_SIZE * MERKLE_NUM_LEAVES /
pub const MIN_REPLICATION_FACTOR: u16 = 1;
/// How much (ratio) of storage fees escrow should be given to farmer each block as a reward.
// TODO: Proper value here
pub const STORAGE_FEES_ESCROW_BLOCK_REWARD: (u64, u64) = (1, 100);
pub const STORAGE_FEES_ESCROW_BLOCK_REWARD: (u64, u64) = (1, 10000);
/// How much (ratio) of storage fees collected in a block should be put into storage fees escrow
/// (with remaining issued to farmer immediately).
// TODO: Proper value here
pub const STORAGE_FEES_ESCROW_BLOCK_TAX: (u64, u64) = (1, 2);
pub const STORAGE_FEES_ESCROW_BLOCK_TAX: (u64, u64) = (1, 10);

/// The smallest unit of the token is called Shannon.
pub const SHANNON: Balance = 1;
Expand Down

0 comments on commit 6b0a892

Please sign in to comment.