Keep track of the digests of committed transfers so that they can be used later when handling duplicate observations / VAAs. When processing an observation or VAA with the same (chain, address, sequence) tuple as a committed transfer, return a "message already processed" error when the digests match and a "digest mismatch" error when they don't. The latter implies a very serious issue because transfer details shouldn't change once they have been observed by a quorum of guardians. |
||
---|---|---|
.. | ||
helpers | ||
chain_registration.rs | ||
instantiate.rs | ||
modify_balance.rs | ||
query.rs | ||
submit_observations.rs | ||
submit_vaas.rs | ||
upgrade_contract.rs |