Commit Graph

12 Commits

Author SHA1 Message Date
Chirantan Ekbote 8d6bf74262 cosmwasm: Fix clippy warnings 2022-10-28 14:35:44 -04:00
Chirantan Ekbote dedcea34af cosmwasm: Fix formatting
Also remove the unstable options in rustfmt.toml.  We can re-enable them
once they are stabilized.
2022-10-28 14:35:44 -04:00
kii fbefb3aced
tob-worm-4-panics: using options rather than unwrap & tob-worm-9: cosmwasm test build (#1672)
* tob-worm-4-panics: using options rather than unwrap

* removed mock dependencies argument

* added test to make file

* use ok or else

* fmt

* ok

* errors resolved
2022-10-26 12:39:31 -04:00
Evan Gray 346f2f4e0e cosmwasm: comment terra2 migration so tests pass 2022-10-12 17:20:34 -04:00
Evan Gray 3a37db8b98 cosmwasm: support natives over 8 decimals 2022-10-12 17:20:34 -04:00
bruce-riley 67f57b797e
XPLA Mainnet Deploy (#1703)
* Prepare to deploy Xpla to mainnet

* Update SDK version

* Fix messed up error message

* Allow tests to pass with no XPLA tokens

* Make deploy script support testnet

* Update token bridge addresses after redeploy
2022-10-12 16:47:03 -04:00
Csongor Kiss c22d0c222b cosmwasm: Add shutdown feature flag to token bridge 2022-09-27 07:58:28 -05:00
Csongor Kiss d10072a33e cosmwasm: Add is_vaa_redeemed query to token bridge 2022-08-22 16:30:23 +02:00
Csongor Kiss f50586ad86 cosmwasm: move chain id and fee denom to storage
Prior to this change, these values were hardcode in the contract, as
the only supported chain was terra 2. This change allows the contract to
be deployed to other cosmwasm chains without having to recompile the
contract for each one.

The migration code ensures that terra2 is upgraded appropriately.
2022-07-20 16:09:39 -04:00
Csongor Kiss d3a1fa99d9
cosmwasm: Add fromAddress to payload 3 (#1292)
* cosmwasm: fix some clippy warnings

* cosmwasm: remove fee and add msg.sender to payload 3

* cosmwasm: fix payload 3 parsing test

* cosmwasm: fix fixed payload 3 parsing test

* cosmwasm: fix fixed fixed payload 3 parsing test

* cosmwasm: update payload tests

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-06-21 17:30:33 -04:00
Evan Gray db0fc219aa cosmwasm: terra2 support
Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-06-21 10:03:57 -04:00
Evan Gray c7d8075555 cosmwasm: initialize 2022-06-21 10:03:57 -04:00