Commit Graph

34 Commits

Author SHA1 Message Date
kev1n-peters 54194b1f64
cosmwasm: Added injective mainnet verify script (#2078) 2022-12-06 16:03:44 +01:00
Chirantan Ekbote 83b473edba cosmwasm: Makefile: Separate unit and integration tests
We already run the unit tests as part of the rust-lint-and-tests CI job
so don't run them again before running the integration tests.
2022-12-02 14:45:24 +00:00
Chirantan Ekbote c5925f1467 cosmwasm: Add core accounting package
The accounting package implements the reusable, chain agnostic part of
tokenbridge accounting.

Part of #1880.
2022-11-30 16:34:22 +09:00
Chirantan Ekbote b1fce660c8 cosmwasm: Add wormhole-bindings package
This package defines the bindings into the native wormhole module on
wormchain.

Part of #1880 and #1881.
2022-11-29 08:18:56 +09:00
Paul Noel 8d92d23d48
cosmwasm: update verify script (#1936)
* cosmwasm: update script

* scripts: update governance script

* cosmwasm: remove commented code

* cosmwasm: redirect to stderr
2022-11-28 15:24:25 -06:00
Chirantan Ekbote aad0a2bf47 cosmwasm: Override local deps at the workspace level
Put all the local overrides at the workspace level rather than having
to specify the path in each individual crate.  This will also make it
easier for us to publish to crates.io when that time comes.
2022-11-11 09:46:33 -05:00
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
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
Evan Gray 19d9c3a290 ci: quieter terra 2022-10-27 07:52:24 -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 6c6661f621 js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
Hendrik Hofstadt 4a2fbd923f
tilt: shorten terra block time (#1744)
Change-Id: I35cce03ae6e82b522482f2c1c40ccb6819eb51f6
2022-10-17 18:13:19 +02:00
Csongor Kiss 3877f6f3c3 tilt: register aptos on other chains 2022-10-15 15:17:36 +01: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
Chirantan Ekbote f7eb26124c cosmwasm: byte_utils: Clean up padding functions
You don't need multiple heap allocations just to left-pad or right-pad a
buffer.  Also add tests.
2022-10-07 09:41:32 +09:00
Chirantan Ekbote 7f4b0d1a09 Wormhole chain integration
This is a squashed commit of all the changes needed to integrate
wormhole chain into the main repo.
2022-10-03 17:34:42 +09:00
kev1n-peters c5d2f9d54d
sdk/js: Near refactor, added integration tests (#1648)
* near-sdk-refactor: Fix attest
                 : Fix missing function calls
                 : make near on near
                 : renamed tryHexToNativeStringNear

* near-sdk-refactor: bumped near-sdk-js version

Co-authored-by: Josh Siegel <jsiegel@jumptrading.com>
2022-09-28 08:53:15 -05:00
Paul Noel e2575550e8 cosmwasm/tools: fix tilt 2022-09-27 07:58:28 -05:00
Paul Noel eb42bc48e7 cosmwasm/test: add integration tests 2022-09-27 07:58:28 -05:00
Csongor Kiss c22d0c222b cosmwasm: Add shutdown feature flag to token bridge 2022-09-27 07:58:28 -05:00
Csongor Kiss 650beaa79a solana/terra: delete generate_governance
These are superseded by the more general script `scripts/contract-upgrade-governance.sh`
2022-08-24 16:27:04 +02: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
claudijd 8221708ef0 Move from ADD to COPY on Dockerfiles 2022-07-13 09:27:15 -04:00
Evan Gray 3d373669e5 cosmwasm: test update foreign asset 2022-06-22 13:24:46 -04:00
Csongor Kiss c7a9d5ca8b cosmwasm: make storage key constants private 2022-06-22 13:24:46 -04:00
Csongor Kiss ea1eea99dd cosmwasm: fix sequence number in storage 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 13780dba51 cosmwasm: cw20_base.wasm 0.13.4 2022-06-21 10:03:57 -04:00
Evan Gray c7d8075555 cosmwasm: initialize 2022-06-21 10:03:57 -04:00