Closed fraidev closed 1 year ago
A good solution would be to add a variant type to categorize the constants per protocol version. This will be a breaking change, for now making the field tokens_per_roll
optional seems fine.
I will try to have a look at the PR tomorrow.
Hey!
I tried to use the
get_constants
RPC method, but it's not working because it's not possible to parsetokens_per_roll
field, which was renamed tominimal_stake
and is not marked with thedefault
Serde attribute.So, I renamed
tokens_per_roll
tominimal_stake
.But I don't know if makes sense for the project to remove the old field or add to it
default
.