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
When creating a Marker at genesis, the provenanced command line help says that one can use the flag --supplyFixed to create a Marker with a fixed supply. However, when I attempt to use that flag, I get a marker supply invariant panic.
panic: invariant broken: failed to assess invariant: marker: required-marker-supply invariant
marker: required-marker-supply invariant
invalid somecoin supply: required (100) current (0somecoin)
The issue here is that the marker module balances are not getting properly set in the bank module genesis handling. So if you for example set the escrow amount it will fail because it doesn't count that correctly. If you set the --supplyFixed flag this will turn on invariant checking but unless accounts have been set with the required balances to match things will blow up.
While this command feels like it matches the transaction commands that we are familiar with it is actually different since it is only setting up the various genesis.json entries which will subsequently be loaded when the chain starts...
At a minimum the help documentation could use a refresh here to explain what needs to happen ... but the command itself could stand some updates to try and better work with the bank module genesis to ensure balance amount line up on start.
Summary of Bug
When creating a Marker at genesis, the
provenanced
command line help says that one can use the flag--supplyFixed
to create a Marker with a fixed supply. However, when I attempt to use that flag, I get a marker supply invariant panic.Version
1.20
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: