Skip to content

Commit

Permalink
bumped injective test tube
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrobot committed May 3, 2024
1 parent 22e027f commit 637af0e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
12 changes: 7 additions & 5 deletions Cargo.lock

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

10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,17 @@ Handles various queries to the contract:
pub fn query(deps: Deps<InjectiveQueryWrapper>, env: Env, msg: QueryMsg) -> StdResult<Binary>
```

## Authz Permission

Example how to allow the contract admin to authorize other addresses to make contract calls on their behalf.

```bash
injectived tx grant contract execution <grantee_addr> <contract_addr> --allow-raw-msgs set_routes --max-calls 5 --max-funds 100000uwasm --expiration 1667979596 --from=sgt-account --gas=auto --gas-prices 500000000inj --gas-adjustment 1.3 --output=json --node=https://testnet.sentry.tm.injective.network:443 --chain-id='injective-888'
```

## Disclaimer

This contract is designed for educational purposes only. Your use of this contract constitutes your agreement to the terms of the License below. In addition, your use of this contract constitutes your agreement to defend, indemnify, and hold harmless the contributors to this codebase from all claims of any kind related to your use of this contract.
This contract is designed for educational purposes only. Your use of this contract constitutes your agreement to the terms of the License below. In addition, your use of this contract constitutes your agreement to defend, indemnify, and hold harmless the contributors to this codebase from all claims of any kind related to your use of this contract.

## License

Expand Down
14 changes: 6 additions & 8 deletions contracts/swap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ serde-json-wasm = "1.0.1"
thiserror = { version = "1.0.31" }

[dev-dependencies]
cosmos-sdk-proto = { version = "0.21.1", features = [ "cosmwasm" ] }
cosmwasm-schema = "1.5.0"
cw-multi-test = "0.16.2"
injective-std = { git = "https://github.com/InjectiveLabs/cw-injective.git", rev = "8957ee2" }
# injective-std = { version = "0.1.5" }
injective-test-tube = { git = "https://github.com/InjectiveLabs/test-tube.git", rev = "402efd7" }
# injective-test-tube = "1.1.7"
prost = "0.11.9"
cosmos-sdk-proto = { version = "0.21.1", features = [ "cosmwasm" ] }
cosmwasm-schema = "1.5.0"
cw-multi-test = "0.16.2"
injective-std = { version = "0.1.7" }
injective-test-tube = "1.2.0"
prost = "0.12.4"

0 comments on commit 637af0e

Please sign in to comment.