zetacore
: observer
NonceToCCTX mapping is set twice during genesis
#3258
Labels
zetacore
: observer
NonceToCCTX mapping is set twice during genesis
#3258
1NonceToCCTX
is set by the crosschain module genesis when saving the CCTXhttps://github.com/zeta-chain/zeta-node/blob/2cd0b73f27167222199341601a1a2f305a149b27/x/crosschain/keeper/cctx.go#L25-L34
It also gets set again by the observer module during the genesis
https://github.com/zeta-chain/zeta-node/blob/2cd0b73f27167222199341601a1a2f305a149b27/x/observer/genesis.go#L130-L132
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.
The text was updated successfully, but these errors were encountered: