wormhole/cosmwasm/contracts
Chirantan Ekbote 1e3356b4c9 cosmwasm: accounting: Don't store Observation on-chain
Now that we can calculate the digest of an Observation there's no need
to store the whole thing on-chain.  Instead only store the observation
digest, tx_hash, and emitter chain (the tx_hash is necessary because
it's not included in the digest and the emitter chain is used for
servicing missing observation queries).  When adding new observations
we can check for equality by comparing the digests and tx hashes rather
than comparing the whole object.

This should further reduce the size of the on-chain state.
2023-01-23 14:27:08 -05:00
..
cw20-wrapped cosmwasm: Fix clippy warnings 2022-10-28 14:35:44 -04:00
mock-bridge-integration cosmwasm: Override local deps at the workspace level 2022-11-11 09:46:33 -05:00
shutdown-token-bridge cosmwasm: Override local deps at the workspace level 2022-11-11 09:46:33 -05:00
shutdown-wormhole cosmwasm: Override local deps at the workspace level 2022-11-11 09:46:33 -05:00
token-bridge cosmwasm: Override local deps at the workspace level 2022-11-11 09:46:33 -05:00
wormchain-accounting cosmwasm: accounting: Don't store Observation on-chain 2023-01-23 14:27:08 -05:00
wormhole cosmwasm: wormhole: remove unecessary cast to usize 2022-12-15 14:51:54 -05:00