git.delta.rocks / unique-network / refs/commits / 0058f2683fc7

difftreelog

fix update pricing coefficients

Yaroslav Bolyukin2022-12-19parent: #1aa9f36.patch.diff
in: master

1 file changed

modifiedprimitives/common/src/constants.rsdiffbeforeafterboth
43pub const UNIQUE: Balance = 100 * CENTIUNIQUE;43pub const UNIQUE: Balance = 100 * CENTIUNIQUE;
4444
45// Targeting 0.1 UNQ per transfer45// Targeting 0.1 UNQ per transfer
46pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/78_389_100_150_858_528/*</weight2fee>*/;46pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_083_524_944_487_510/*</weight2fee>*/;
4747
48// Targeting 0.15 UNQ per transfer via ETH48// Targeting 0.15 UNQ per transfer via ETH
49pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_014_919_410_810/*</mingasprice>*/;49pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_014_919_313_914/*</mingasprice>*/;
5050
51/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.51/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
52/// This is used to limit the maximal weight of a single extrinsic.52/// This is used to limit the maximal weight of a single extrinsic.