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
The LastCodeID is always zero after importing codes
🤔 I was not able to reproduce this issue. During the genesis code import the CodeID sequence is not incremented. Instead the sequences are seeded from the following genesis block later.
We kept this separate to not run into issues for new instances when a derived contract account exists (accidentally). This scenario could happen when a contract instance was manually removed from the initial state dump for example but the account not. It is not obvious to find the relation between them so keeping the gap via sequences was a design decision.
@whylee259 This issue was closed now by #338 which addresses the first point only. If you still have issues with the second one, feel free to open this issue again or let us know via discord. 🌷
There exist errors in
InitGenesis
of the latest code.Using params before they are initialized.
The
LastCodeID
is always zero after importing codesimportCode
, It inserts codes but does not increase lastCodeIdThe text was updated successfully, but these errors were encountered: