Skip to content

Commit

Permalink
minor version bumps.
Browse files Browse the repository at this point in the history
  • Loading branch information
PFC-developer committed Jul 29, 2024
1 parent d229891 commit 7e3de73
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ keywords = ["blockchain", "cosmos", "cosmwasm"]
cw-ownable = "0.5"
cw-ownable-derive = "0.5.1"

cosmwasm-schema = "1.5.4"
cosmwasm-std = { version = "1.5.4", features = [
cosmwasm-schema = "1.5.5"
cosmwasm-std = { version = "1.5.5", features = [
# Kuji is @ 1.2
"cosmwasm_1_2",
"iterator",
Expand Down
8 changes: 4 additions & 4 deletions deploy/01-testnet-treasury.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ injectived tx wasm store ./artifacts/treasurechest_contract-aarch64.wasm --from

tx=AC309E601058B623CF4C8F73CEAAAF2C34F7BC0BAE068AF50ED48834F7432287

export TREASURE=$(injectived query tx ${tx} |jq -e -r ' .logs[].events[] | select(.type=="cosmwasm.wasm.v1.EventCodeStored").attributes[] | select(.key=="code_id").value ' | tr -d '"')
export TREASURE=$(injectived query tx ${tx} |jq -e -r ' .events[] | select(.type=="cosmwasm.wasm.v1.EventCodeStored").attributes[] | select(.key=="code_id").value ' | tr -d '"')
echo $TREASURE
export TREASURE=8127

injectived tx wasm store ./artifacts/injective_auction_pool-aarch64.wasm --from ${FROM} --yes --gas-prices "160000000inj" --gas-adjustment 1.3 --gas auto

tx=B2EDA45FC77F1B0521386341301FE4C9B8B3844960C2A5BF603E60118856303B

export AUCTION=$(injectived query tx ${tx} |jq -e -r ' .logs[].events[] | select(.type=="cosmwasm.wasm.v1.EventCodeStored").attributes[] | select(.key=="code_id").value ' | tr -d '"')
export AUCTION=$(injectived query tx ${tx} |jq -e -r ' .events[] | select(.type=="cosmwasm.wasm.v1.EventCodeStored").attributes[] | select(.key=="code_id").value ' | tr -d '"')
echo $AUCTION
export AUCTION=8128
export AUCTION=11643

## create the test denom
fee_amt=$(injectived query tokenfactory params|jq -r '.params.denom_creation_fee[0].amount')
Expand Down Expand Up @@ -79,7 +79,7 @@ tx_treasure_i=7B7889E11B4C87F255B07B2755E087CCD593A192381F2F3024C9646E98F72F08

export TREASURE_CONTRACT=$(injectived query tx $tx_treasure_i|jq -r '.logs[].events[]| select(.type=="cosmwasm.wasm.v1.EventContractInstantiated").attributes[] |select(.key=="contract_address").value '|tr -d '"')
echo $TREASURE_CONTRACT
# inj13m59zu2w62293v4t7g9y2zwhjy6wxtunxl03hj
# export TREASURE_CONTRACT=inj13m59zu2w62293v4t7g9y2zwhjy6wxtunxl03hj

injectived query wasm cs smart $TREASURE_CONTRACT '{"config":{}}'|jq
injectived query wasm cs smart $TREASURE_CONTRACT '{"state":{}}'|jq
Expand Down
2 changes: 1 addition & 1 deletion deploy/02-testnet-auction.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ injectived config
export FROM=auction-test
export FROM_ADDR=inj12nn88vtuf893cpfkke23dszpr5uccqj2zqukt6
export TREASURE=8127
export AUCTION=8128
export AUCTION=11643
## create the test denom
export FEE_AMT=$(injectived query tokenfactory params|jq -r '.params.denom_creation_fee[0].amount')
#export FEE_AMT=1000000000000000000
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ optimize-arm:
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
--platform linux/arm64 \
cosmwasm/workspace-optimizer-arm64:0.15.1
cosmwasm/optimizer-arm64:0.16.0

optimize-x86:
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
--platform linux/amd64 \
cosmwasm/workspace-optimizer:0.15.1
cosmwasm/optimizer:0.16.0

0 comments on commit 7e3de73

Please sign in to comment.