Commit Graph

10 Commits

Author SHA1 Message Date
Chirantan Ekbote f7cc16aa91 terra: Fix clippy warnings 2022-10-28 14:35:44 -04:00
Chirantan Ekbote 68ae3ff6cd terra: Fix formatting
Also disable the unstable options in rustfmt.toml.
2022-10-28 14:35:44 -04:00
Chirantan Ekbote e907a05b1e sdk, terra: Fix tests and add them to CI
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
2022-04-20 09:46:51 +09:00
Hendrik Hofstadt 3a20ec9b0d Clean up terra program
Change-Id: I2a323e80dc4d72c0405f50eaaf23e04b1e875246
2021-06-28 12:31:01 +00:00
Yuriy Savchenko f694fbdf0f Removed contract activity killswitch, fee is now hardcoded, test scripts updated 2021-03-23 16:19:41 +01:00
Yuriy Savchenko 06242ffc74 Fee storage type changed to optional 2021-03-23 16:19:41 +01:00
Yuriy Savchenko 097093e1f1 Added configurable fee for locking assets, owner method to transfer fee from the contract, query to get contract state (with fee) 2021-03-23 16:19:41 +01:00
Yuriy Savchenko 701154457c New tests and fixes in Terra Wormhole contracts
- 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
2021-01-19 16:50:26 +01:00
Yuriy Savchenko ee5d07c929
Fixes to VAA submission to Terra smart contract (#115)
* Terra smart contract binary interface changed from vector to base64 string

* Added initial guardian set submission to Terra
2020-11-19 20:05:05 +01:00
Yuriy Savchenko 1ca2e29916
Terra support added (#79)
This commit adds initial support for the Terra blockchain.
2020-11-16 13:28:07 +01:00