wormhole/cosmwasm
Csongor Kiss 0f3ffe705f
sdk,cosmwasm: fix new clippy 1.78.0 lints (#3925)
The 1.78 version of the rust toolchain has been released on the stable channel: https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-178

It introduces a number of new clippy lints. The relevant ones:

- https://rust-lang.github.io/rust-clippy/master/index.html#/assigning_clones
- https://rust-lang.github.io/rust-clippy/master/index.html#/multiple_bound_locations
- https://rust-lang.github.io/rust-clippy/master/index.html#/new_without_default

This commit fixes these lints.
2024-05-02 20:38:55 +01:00
..
.cargo accountant: address review comments for modify governance vaa 2023-02-15 06:23:25 -08:00
artifacts cosmwasm: cw20_base.wasm 0.13.4 2022-06-21 10:03:57 -04:00
contracts sdk,cosmwasm: fix new clippy 1.78.0 lints (#3925) 2024-05-02 20:38:55 +01:00
deployment docs: quit the spelling spam typo fix PRs with cspell magic (#3845) 2024-03-20 15:40:02 -04:00
devnet/config cosmwasm - separate deploy code per chain 2023-01-19 09:32:13 -06:00
packages sdk,cosmwasm: fix new clippy 1.78.0 lints (#3925) 2024-05-02 20:38:55 +01:00
.dockerignore cosmwasm: initialize 2022-06-21 10:03:57 -04:00
.gitignore cosmwasm - separate deploy code per chain 2023-01-19 09:32:13 -06:00
Cargo.lock sdk/rust: prepare to publish crate (#3849) 2024-03-25 14:09:54 -04:00
Cargo.toml sdk/rust: prepare to publish crate (#3849) 2024-03-25 14:09:54 -04:00
Dockerfile cosmwasm: functional ntt-accountant contract 2024-03-07 11:04:06 -05:00
Dockerfile.deploy tilt: remove additional root CA support 2023-12-12 14:22:05 -06:00
Makefile cosmwasm - separate deploy code per chain 2023-01-19 09:32:13 -06:00
README.md cosmwasm - separate deploy code per chain 2023-01-19 09:32:13 -06:00
rustfmt.toml cosmwasm: Fix formatting 2022-10-28 14:35:44 -04:00
verify cosmwasm: Added injective mainnet verify script (#2078) 2022-12-06 16:03:44 +01:00

README.md

Cosmwasm Wormhole Contracts

NOTE: This process is only Linux host compatible at this time.

Build Contracts

The following command can be used to build optimized cosmwasm contracts via Docker.

wormhole/cosmwasm $ make artifacts

Upon completion, the compiled bytecode for cosmwasm contracts will be placed into the artifacts directory.

Run tests

You can run the cargo unit tests.

wormhole/cosmwasm $ cargo test --workspace --locked