Skip to content

Commit

Permalink
Merge pull request #11 from jpine3528/develop
Browse files Browse the repository at this point in the history
Withdraw signed docker build fix, wasm upload fix, unit tests, documentation
  • Loading branch information
zikriya authored Feb 3, 2023
2 parents 7bd60e9 + b425842 commit d15f264
Show file tree
Hide file tree
Showing 11 changed files with 777 additions and 1,865 deletions.
2,077 changes: 292 additions & 1,785 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ If you hit any issues there and want to debug, you can try to run the
following in each contract dir:
`RUSTFLAGS="-C link-arg=-s" cargo build --release --target=wasm32-unknown-unknown --locked`

### Fix for "failed to fetch `https://github.com/rust-lang/crates.io-index`"

https://github.com/rust-lang/cargo/issues/3381#issuecomment-308460530

```
eval `ssh-agent -s`
ssh-add
cargo build
```

## Unit test

To run overall tests:
Expand Down
2 changes: 1 addition & 1 deletion contracts/fiberrouter-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fiberrouter = { path = "../../packages/fiberrouter", version = "0.14.0" }
multiswap = { path = "../../packages/multiswap", version = "0.14.0" }
cw-storage-plus = { version = "0.14.0" }
cw-utils = { version = "0.14.0" }
cosmwasm-std = { version = "1.0.0" }
cosmwasm-std = { version = "=1.0.0", default-features = false, features = ["staking"] }
schemars = "0.8.1"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.20" }
Expand Down
5 changes: 3 additions & 2 deletions contracts/multiswap-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ library = []
multiswap = { path = "../../packages/multiswap", version = "0.14.0" }
cw-storage-plus = { version = "0.14.0" }
cw-utils = { version = "0.14.0" }
cosmwasm-std = { version = "1.0.0" }
cosmwasm-std = { version = "=1.0.0", default-features = false, features = ["staking"] }
schemars = "0.8.1"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.20" }
web3 = { version = "0.17.0" }
rlp = "0.5"
hex = { version = "0.4"}
sha3 = "0.10"
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }

[dev-dependencies]
Expand Down
Loading

0 comments on commit d15f264

Please sign in to comment.