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 : Observer set is not saved to store during genesis if the count of observers is 0 #3259

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

Comments

@kingpinXD
Copy link
Contributor

https://github.com/zeta-chain/zeta-node/blob/2cd0b73f27167222199341601a1a2f305a149b27/x/observer/genesis.go#L14-L19

For an observer set of 0 length, we skip setting it to the store entirely.
This is incorrect, and it should instead be set to the store as an empty observer object.

@kingpinXD kingpinXD added bug Something isn't working m:observer labels Dec 9, 2024
@kingpinXD kingpinXD changed the title zetacore : observer : Observer set is not set to store during geneisis if the len of observers is 0 zetacore : observer : Observer set is not saved to store during genesis if the len of observers is 0 Dec 9, 2024
@kingpinXD kingpinXD changed the title zetacore : observer : Observer set is not saved to store during genesis if the len of observers is 0 zetacore : observer : Observer set is not saved to store during genesis if the count of observers is 0 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