git.delta.rocks / unique-network / refs/commits / 74a28c8df90f

difftreelog

chore calibrate weight2fee

Daniel Shiposha2023-09-30parent: #42bd0c6.patch.diff
in: master

1 file changed

modifiedprimitives/common/src/constants.rsdiffbeforeafterboth
52pub const SESSION_LENGTH: BlockNumber = HOURS;52pub const SESSION_LENGTH: BlockNumber = HOURS;
5353
54// Targeting 0.1 UNQ per transfer54// Targeting 0.1 UNQ per transfer
55pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_300_265_101_007_172/*</weight2fee>*/;55pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_334_604_063_436_322/*</weight2fee>*/;
5656
57// Targeting 0.15 UNQ per transfer via ETH57// Targeting 0.15 UNQ per transfer via ETH
58pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_920_221_209_483/*</mingasprice>*/;58pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_920_639_188_722/*</mingasprice>*/;
5959
60/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.60/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
61/// This is used to limit the maximal weight of a single extrinsic.61/// This is used to limit the maximal weight of a single extrinsic.