-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Description
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 returns 0.000000000000000000
. This behavior should be consistent between both versions.
Steps to Reproduce
- Use the
--height
flag to queryannual-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.