Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zetacore : observer NonceToCCTX mapping is set twice during genesis #3258

Open
kingpinXD opened this issue Dec 9, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working m:observer

Comments

@kingpinXD
Copy link
Contributor

Also, the value should remain the same as the index; the key is generated from the nonceToCCTX object, so setting it twice should be avoided.

@kingpinXD kingpinXD added the bug Something isn't working label Dec 9, 2024
@kingpinXD
Copy link
Contributor Author

Let's consider refactoring the Crosschhain genesis. The state for an module should always be imported by the import function for that specific module , Observer in this case .

We should also avoid using High-level functions such as SaveCCTXUpdate during genesis amd try to keep the format as simple as possible ,
Ideally iterating through the elements and setting them if not empty

@kingpinXD kingpinXD self-assigned this Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working m:observer
Projects
None yet
Development

No branches or pull requests

1 participant