You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
Inspecting the pcli view database indicates that the FMD parameters are not being updated (you can verify this periodically through the devnet run after attempting a tx and using select hex(v) from kv where k='fmd_params';).
Looking at the logic in finalize_compact_blockhere:
let fmd_parameters = if height == 0{Some(self.get_current_fmd_parameters().await.context("could not get FMD parameters")?,)}else{None};
the FMD parameters are only being provided at block height 0
The text was updated successfully, but these errors were encountered:
Describe the bug
When using an algorithm that dynamically changes the FMD parameters, the updated FMD parameters are not provided in the compact block.
To Reproduce
Steps to reproduce the behavior:
genesis.json
to ensure you have an allocation to a test wallet and replace the existing key forfmdMetaParams
with:Expected behavior
You should see the tx succeed
Actual behavior
The tx will fail due to the wrong FMD parameters being used:
Additional context
Inspecting the pcli view database indicates that the FMD parameters are not being updated (you can verify this periodically through the devnet run after attempting a tx and using
select hex(v) from kv where k='fmd_params';
).Looking at the logic in
finalize_compact_block
here:the FMD parameters are only being provided at block height 0
The text was updated successfully, but these errors were encountered: