-
Notifications
You must be signed in to change notification settings - Fork 456
Add proper calculation for ccm fee for the bounce function unit tests #8195
Comments
@Phanco Event after the LIP update, I think the tests are still prone to allow a bug. In test https://github.com/LiskHQ/lisk-sdk/blob/dc47a3f92ae7f30e3db8982f3fffb8f2ec481836/framework/test/unit/modules/interoperability/base_cross_chain_update_command.spec.ts#L1537, we simply give the lowest fee but without any explanation of this magic value Here, we can possibly calculate minFee for a CCM, have it in general for all the test and only for this test we can do something like |
Make sense, will work in it 👍 Thank you |
Description
(context.ccm.fee - (MIN_FEE_PER_BYTE * CCM_BYTES_LENGTH))
to explain why addToOutbox was called with the expected ccm fee.Which version(s) does this affect? (Environment, OS, etc...)
v6.0.0-alpha.14
The text was updated successfully, but these errors were encountered: