allora-network / allora-chain

Node software to run the Allora Network
https://www.allora.network/
Apache License 2.0
76 stars 71 forks source link

Do not use comos-sdk reserved error 1 #504

Closed relyt29 closed 1 month ago

relyt29 commented 1 month ago

What is the purpose of the change

According to the Cosmos SDK Errors documentation, the error code :

Must be greater than one, as a code value of one is reserved for internal errors.

This fixes that broken rule.

Testing and Verifying

This change is a trivial rework / code cleanup without any test coverage.

Documentation and Release Note

No documentation changes