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
There is an inconsistency in the annual-provisions values returned by v1 and v2 when querying with the --height flag. Specifically, when querying at initial block (height=1), v1 returns the expected provision values, while v2 returns 0.000000000000000000. This behavior should be consistent between both versions.
Steps to Reproduce
Use the --height flag to query annual-provisions on both v1 and v2 for the same block height.
Compare the returned values.
Example:
# Query using simd (v1) with height flag
$ simd q mint annual-provisions -o json --height 1
{
"annual_provisions": "25000000.000000000000000000"
}
# Query using simdv2 (v2) with the same height flag
$ simdv2 q mint annual-provisions -o json --height 1
{
"annual_provisions": "0.000000000000000000"
}
# Query using simdv2 (v2) with height 2 for comparison
$ simdv2 q mint annual-provisions -o json --height 2
{
"annual_provisions": "25000000.000000000000000000"
}
Additional Context
It might be an issue with committing the state at genesis in v2, where height 1 is committed as an empty block.
The text was updated successfully, but these errors were encountered:
This line never gets executed in in app/v2 in block 1 (or ever as far as I can tell), so minter.AnnualProvisions is never mutated until MintFn is called in block 2:
Description
There is an inconsistency in the
annual-provisions
values returned by v1 and v2 when querying with the--height
flag. Specifically, when querying at initial block (height=1), v1 returns the expected provision values, while v2 returns0.000000000000000000
. This behavior should be consistent between both versions.Steps to Reproduce
--height
flag to queryannual-provisions
on both v1 and v2 for the same block height.Example:
Additional Context
It might be an issue with committing the state at genesis in v2, where height 1 is committed as an empty block.
The text was updated successfully, but these errors were encountered: