The Provenance Blockchain oracle module genesis state encompasses the essential initialization parameters required for oracle functionality, including the upcoming sequence ID for Interchain Query (ICQ) packets, module parameters, the designated port ID for IBC communication, and the oracle contract address. These values are both extracted during blockchain export operations and imported for storage within the state store during genesis initialization, ensuring proper oracle module configuration and continuity across blockchain restarts and upgrades.
GenesisState
The GenesisState encompasses the upcoming sequence ID for an ICQ packet, the associated parameters, the designated port ID for the module, and the oracle address. These values are both extracted for export and imported for storage within the store.
protobuf// Source: https://github.com/provenance-io/provenance/blob/ba0b65c54f61f99c951fe4694271847dbad0fb00/proto/provenance/oracle/v1/genesis.proto#L11-L24 message GenesisState { // The next sequence ID for ICQ packets uint64 sequence_id = 1; // The oracle module parameters Params params = 2; // The port ID for the oracle module string port_id = 3; // The oracle contract address string oracle = 4; }