asset-hub-polkadot: use inmemorydb weights#1025
Conversation
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
|
@claravanstaden with this PR I see If this is mandatory I can do something like this to make sure the weights for extrinsics |
|
Hey @alexggh!
Yes, it is mandatory for the AH weights to be equal or bigger than the BH extrinsics, because these AH extrinsics call a corresponding extrinsic on BH. So the caller needs to cover both the AH and BH extrinsic costs. |
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Alright totally makes sense, then I'll keep them that same e2c5830, let me know if you have any concern. |
claravanstaden
left a comment
There was a problem hiding this comment.
@alexggh perfect!
|
Review required! Latest push from author must always be reviewed |
Modify asset-hub-polkadot to use the read/write costs computed in validate block on validator reference hardware, since these are weights that guarantee the blocks will pass validation and make it on the relay chain.
This were obtained with the benchmark created here: paritytech/polkadot-sdk#8069.
Part of: #800