* terra/contracts: migrate to cosmwasm 1.1.0
use `classic-bindings` crate instead of terra-cosmwasm.
This is the updated version that calls the correct query post chain upgrade
* terra/Dockerfile: update workspace optimizer
* terra: label is now required on instantiate
* terra: accept either 32 or 20 byte addresses
* terra: update devnet terra classic
* node/cosmwasm: always CW >1
* tilt: re-introduce terra classic tests
* terra: make get_address support both 20 and 32 byte addresses
* terra: fix tests to account for burn tax
Since the tests are now ran against the new LocalTerra which has burn
tax, the transaction results are different from before
* terra/token-bridge: check first 12 bytes to determine native denoms
* terra/token-bridge: simplify conditional
---------
Co-authored-by: Evan Gray <battledingo@gmail.com>
The terra tests had bit rotted quite terribly. It seems no one has run
them in almost a year because the API changed with the 0.14 release of
cosmwasm_vm in April, 2021.
Completely remove cosmwasm_vm from dev-dependencies. The tests aren't
doing anything that requires interacting with the wasm code and can just
test the relevant functions directly.
Once this goes in the tests should be running in the CI so hopefully no
one will be able to push any more breaking changes.
commit-id:537d95e6
- added new descriptive errors in terra wormhole contract
- 0-expiration guardian sets error fixed
- added script for test VAAs generation
- added full test coverage for the VAA processing in the contract
- fixed cargo clippy/fmt warnings