Skip to content

Commit

Permalink
cosmwasm: update cw wormhole rust tests (#4190)
Browse files Browse the repository at this point in the history
* cosmwasm(cw_wormhole): integration tests- initial implementation

* chore: adding additional vaa parsing tests

* cosmwasm: added cw_wormhole integration tests and some code cleanup

cosmwasm: reverted contract changes

* cosmwasm: refactored the to guardianAddress logic

* wormchain: lower ict setup params to improve stability
  • Loading branch information
kakucodes authored Dec 19, 2024
1 parent 3797ed0 commit 7ef1159
Show file tree
Hide file tree
Showing 13 changed files with 1,295 additions and 120 deletions.
61 changes: 57 additions & 4 deletions cosmwasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cosmwasm/contracts/global-accountant/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ wormhole-sdk = { workspace = true, features = ["schemars"] }

[dev-dependencies]
anyhow = { version = "1", features = ["backtrace"] }
cw-multi-test = "0.13.2"
cw-multi-test = "0.14"
serde-json-wasm = "0.4"
wormhole-bindings = { version = "0.1", features = ["fake"] }
2 changes: 1 addition & 1 deletion cosmwasm/contracts/ntt-global-accountant/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ wormhole-sdk = { workspace = true, features = ["schemars"] }

[dev-dependencies]
anyhow = { version = "1", features = ["backtrace"] }
cw-multi-test = "0.13.2"
cw-multi-test = "0.14"
serde-json-wasm = "0.4"
wormhole-bindings = { version = "0.1", features = ["fake"] }
2 changes: 1 addition & 1 deletion cosmwasm/contracts/wormchain-ibc-receiver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ wormhole-sdk = { workspace = true, features = ["schemars"] }
serde_wormhole.workspace = true

[dev-dependencies]
cw-multi-test = "0.13.2"
cw-multi-test = "0.14"
serde-json-wasm = "0.4"
wormhole-bindings = { version = "0.1.0", features=["fake"] }
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
9 changes: 9 additions & 0 deletions cosmwasm/contracts/wormhole/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@ k256 = { version = "0.11", default-features = false, features = ["ecdsa"] }
sha3 = { version = "0.9.1", default-features = false }
generic-array = { version = "0.14.4" }
hex = "0.4.2"

[dev-dependencies]
cw-multi-test = "0.14"
serde_wormhole.workspace = true
wormhole-sdk.workspace = true
wormhole-bindings = { version = "0.1", features = ["fake"] }
tiny-keccak = { version = "2.0", features = ["keccak"] }
serde-json-wasm = "0.4"
wormchain-ibc-receiver = { path = "../wormchain-ibc-receiver" }
Loading

0 comments on commit 7ef1159

Please sign in to comment.