git.delta.rocks / unique-network / refs/commits / cb1a9d813685

difftreelog

fix calibrate weights

Daniel Shiposha2023-09-26parent: #915db56.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>*/76_840_511_488_584_762/*</weight2fee>*/;55pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/76_902_456_736_428_438/*</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_906_626_161_453/*</mingasprice>*/;58pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_908_931_253_022/*</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.