Commit Graph

9 Commits

Author SHA1 Message Date
Chirantan Ekbote 09459fcf9e cosmwasm: tokenbridge: Add chain registration query
Add a query to get the registered emitterr address for a given chain id.
This will be used by accounting.
2022-11-07 08:21:00 -05:00
Evan Gray 6c6661f621 js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
Evan Gray 3a37db8b98 cosmwasm: support natives over 8 decimals 2022-10-12 17:20:34 -04:00
Paul Noel eb42bc48e7 cosmwasm/test: add integration tests 2022-09-27 07:58:28 -05: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
Evan Gray 3d373669e5 cosmwasm: test update foreign asset 2022-06-22 13:24:46 -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