Nikhil Suri
ee2b6d0c17
cosmwasm: wormhole: remove unecessary cast to usize
2022-12-15 14:51:54 -05:00
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
Csongor Kiss
d8e7a5f93f
terra/token_bridge: transfer with payload
...
Also rename terra token-bridge package so it's unique Otherwise cargo
can't find it externally, and confuses it with the solana one.
2022-05-11 21:24:36 -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
Chirantan Ekbote
4d0e3b9030
terra: contracts: fix clippy warnings ( #983 )
2022-03-30 11:01:43 +01:00
Reisen
b662de4efb
terra: columbus-5 contracts by default
...
Change-Id: I007689b032c6182e35421b47b56787a657a6919c
2021-10-04 16:41:31 +00:00
Reisen
50bd0355fd
terra/contracts: rustfmt in line with solana
...
Change-Id: I566dc2c4504bf7014d11a6d18775c4eec896b42f
2021-09-06 14:58:48 +00:00
Alwin Peng
2c56a916eb
fix bytes -> string, flip arg order to be less confusing
...
Change-Id: I952b73628e56bc9449e5525bfd85e57851c20143
2021-07-28 16:00:44 +00:00
Hendrik Hofstadt
4753700d3f
Remove persistence remainders from terra
...
Change-Id: I27657333ebd4f8b7ba433c6d0680ee061b965571
2021-07-20 23:52:40 +02:00
Hendrik Hofstadt
1992684351
fix governance header parsing on Terra
...
Change-Id: I07385a2487315d3eac6c83ec65e30d7f6f64a350
2021-07-20 17:30:51 +00:00
Hendrik Hofstadt
d12863f957
fix terra vaa parsing
...
Change-Id: I27306e004897f971d62c82e6046c1f6ec0016247
2021-07-20 17:09:39 +00:00
Hendrik Hofstadt
1fc6842917
Double hashing on terra
...
Change-Id: Ie3d65030d221585245d94d7650694fc545e72174
2021-07-20 10:14:29 +00:00
Hendrik Hofstadt
af4e29978d
Add commitment level to VAAs
...
This allows requesting attestations for various commitment/confirmation levels. This is helpful for low-latency applications like Pyth.
Change-Id: Ib49ace163365106b227613d2f66b787b3e5f5461
2021-07-19 07:11:45 +00:00
Hendrik Hofstadt
7784e74725
Align behaviour of persistent message fees
...
Change-Id: Ic9c6c40dbac2399e0eaf3a861dff33254a828a18
2021-07-05 18:02:04 +00:00
Hendrik Hofstadt
b177c94737
Add sequence to terra wormhole
...
Change-Id: Ic8aa508402b3c07334e059ed1b8973ccf1c1dc6d
2021-06-28 12:45:41 +00:00
Hendrik Hofstadt
3a20ec9b0d
Clean up terra program
...
Change-Id: I2a323e80dc4d72c0405f50eaaf23e04b1e875246
2021-06-28 12:31:01 +00:00
Alwin
2025efd50a
switch terra contracts over to using governance packet structure
...
Change-Id: I10b53cb0cfdb86ca2aa57cab20ec375a26fd252e
2021-06-01 17:10:34 -04:00
Alwin
16cc520187
initial terra contracts for wormhole v2
...
Change-Id: Ie28f1e7ce381fcbf33de609bc6c8465679cd2a43
2021-05-31 09:13:59 -04: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
10c2fa4eea
Added VAA verification query to the Terra smart contract, refactoring
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
eaee9c0638
Fixed guardian set expiration and quorum logic, tests updated
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