Skip to content

Commit 7c46f98

Browse files
authored
Merge pull request #1449 from scrtlabs/contract-upgrade-v2
Contract Upgrade
2 parents 62396b7 + f782cde commit 7c46f98

File tree

204 files changed

+37413
-3393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+37413
-3393
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
./scripts/install-wasm-tools.sh
7272
- name: Build Contracts
7373
run: |
74-
make build-test-contract
74+
make build-test-contracts
7575
cp x/compute/internal/keeper/testdata/erc20.wasm .
7676
- uses: actions/upload-artifact@v3
7777
with:
@@ -81,6 +81,10 @@ jobs:
8181
with:
8282
name: contract.wasm
8383
path: cosmwasm/contracts/v010/compute-tests/test-compute-contract/contract.wasm
84+
- uses: actions/upload-artifact@v3
85+
with:
86+
name: contract-v2.wasm
87+
path: cosmwasm/contracts/v010/compute-tests/test-compute-contract-v2/contract-v2.wasm
8488
- uses: actions/upload-artifact@v3
8589
with:
8690
name: v1-contract.wasm
@@ -133,10 +137,12 @@ jobs:
133137
docker run -v $PWD:/opt/mount --rm --entrypoint cp ghcr.io/scrtlabs/localsecret:v0.0.0 /usr/lib/librust_cosmwasm_enclave.signed.so /opt/mount/librust_cosmwasm_enclave.signed.so
134138
docker run -v $PWD:/opt/mount --rm --entrypoint cp ghcr.io/scrtlabs/localsecret:v0.0.0 /usr/lib/librandom_api.so /opt/mount/librandom_api.so
135139
docker run -v $PWD:/opt/mount --rm --entrypoint cp ghcr.io/scrtlabs/localsecret:v0.0.0 /usr/lib/tendermint_enclave.signed.so /opt/mount/tendermint_enclave.signed.so
136-
137140
- uses: actions/download-artifact@v3
138141
with:
139142
name: contract.wasm
143+
- uses: actions/download-artifact@v3
144+
with:
145+
name: contract-v2.wasm
140146
- uses: actions/download-artifact@v3
141147
with:
142148
name: v1-contract.wasm
@@ -162,6 +168,7 @@ jobs:
162168
# cp /opt/mount/librandom_api.so /usr/lib/librandom_api.so
163169
# cp /opt/mount/tendermint_enclave.signed.so /usr/lib/tendermint_enclave.signed.so
164170
cp contract.wasm ./x/compute/internal/keeper/testdata/contract.wasm
171+
cp contract-v2.wasm ./x/compute/internal/keeper/testdata/contract-v2.wasm
165172
cp too-high-initial-memory.wasm ./x/compute/internal/keeper/testdata/too-high-initial-memory.wasm
166173
cp contract_with_floats.wasm ./x/compute/internal/keeper/testdata/contract_with_floats.wasm
167174
cp static-too-high-initial-memory.wasm ./x/compute/internal/keeper/testdata/static-too-high-initial-memory.wasm
@@ -175,12 +182,13 @@ jobs:
175182
source "$HOME/.sgxsdk/sgxsdk/environment"
176183
export SGX_MODE=SW
177184
cp librust_cosmwasm_enclave.signed.so ./x/compute/internal/keeper
185+
# cp tendermint_enclave.signed.so ./x/compute/internal/keeper
178186
mkdir -p ias_keys/develop
179187
mkdir -p /opt/secret/.sgx_secrets/
180188
echo "not_a_key" > ias_keys/develop/spid.txt
181189
echo "not_a_key" > ias_keys/develop/api_key.txt
182190
LOG_LEVEL=ERROR go test -v -tags "test" ./x/compute/client/...
183-
LOG_LEVEL=ERROR go test -p 1 -timeout 90m -v -tags "test" ./x/compute/internal/...
191+
LOG_LEVEL=ERROR SKIP_LIGHT_CLIENT_VALIDATION=TRUE go test -p 1 -timeout 90m -v -tags "test" ./x/compute/internal/...
184192
185193
Clippy:
186194
runs-on: ubuntu-20.04
@@ -276,7 +284,7 @@ jobs:
276284
build-args: |
277285
SECRET_NODE_TYPE=BOOTSTRAP
278286
CHAIN_ID=secretdev-1
279-
FEATURES=debug-print,random
287+
FEATURES_U=debug-print,random,light-client-validation,go-tests
280288
SGX_MODE=SW
281289
target: build-localsecret
282290
cache-from: type=gha
@@ -341,7 +349,7 @@ jobs:
341349
make kill-localsecret # next step needs the localsecret ports
342350
- name: Run secret.js tests
343351
run: |
344-
git clone --depth 1 --branch master https://github.com/scrtlabs/secret.js
352+
git clone --depth 1 --branch contract-upgrade-v2 https://github.com/scrtlabs/secret.js
345353
cd secret.js
346354
# Use the docker images that we built just a few steps above
347355
perl -i -pe 's/localsecret:.+?"/localsecret:v0.0.0"/' ./test/docker-compose.yml

.github/workflows/go-lint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ jobs:
1919
with:
2020
go-version: 1.19
2121
- uses: actions/checkout@v3
22+
- name: make bin-data-sw
23+
run: |
24+
go install github.com/jteeuwen/go-bindata/go-bindata@latest
25+
make bin-data-sw
2226
- name: golangci-lint
2327
uses: golangci/golangci-lint-action@v3
2428
with:
25-
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
2629
version: v1.53.2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ secretcli*
1515
libenclave.a
1616
libEnclave_u.a
1717
librust_cosmwasm_enclave.signed.so
18+
tendermint_enclave.signed.so
1819
*.o
1920
/release
2021
SHA256SUMS*

.golangci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
run:
22
tests: false
3-
# # timeout for analysis, e.g. 30s, 5m, default is 1m
43
timeout: 5m
4+
skip-files:
5+
- x/registration/internal/types/reg_keys.go # uses auto generated code
6+
- x/registration/internal/types/ias_bin.*?.go # auto generated
57

68
linters:
79
disable-all: true

.vscode/launch.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,16 @@
1111
"mode": "debug",
1212
"program": "${file}",
1313
"cwd": "${workspaceFolder}/x/compute/internal/keeper",
14-
"env": { "SGX_MODE": "SW", "RUST_BACKTRACE": "1" },
14+
"env": {
15+
"SGX_MODE": "SW",
16+
"RUST_BACKTRACE": "1",
17+
"LOG_LEVEL": "TRACE",
18+
"SKIP_LIGHT_CLIENT_VALIDATION": "true"
19+
},
1520
"args": [
1621
"test",
22+
"-tags",
23+
"sgx",
1724
"-timeout",
1825
"1200s",
1926
"-p",

.vscode/settings.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@
77
"third_party/build/Cargo.toml",
88
"cosmwasm/enclaves/Cargo.toml",
99
"cosmwasm/contracts/v1/compute-tests/test-compute-contract/Cargo.toml",
10+
"cosmwasm/contracts/v1/compute-tests/test-compute-contract-v2/Cargo.toml",
1011
"cosmwasm/contracts/v1/compute-tests/ibc-test-contract/Cargo.toml",
1112
"cosmwasm/contracts/v1/compute-tests/bench-contract/Cargo.toml",
1213
"cosmwasm/contracts/v010/compute-tests/test-compute-contract/Cargo.toml",
14+
"cosmwasm/contracts/v010/compute-tests/test-compute-contract-v2/Cargo.toml",
15+
"cosmwasm/contracts/v1/compute-tests/migration/contract-v1/Cargo.toml",
16+
"cosmwasm/contracts/v1/compute-tests/migration/contract-v2/Cargo.toml",
1317
"integration-tests/contract-v1/Cargo.toml",
1418
"integration-tests/contract-v0.10/Cargo.toml",
1519
"go-cosmwasm/Cargo.toml",
1620
"cosmwasm/enclaves/shared/cosmos-proto/Cargo.toml",
17-
"cosmwasm/enclaves/shared/contract-engine/Cargo.toml"
21+
"cosmwasm/enclaves/shared/contract-engine/Cargo.toml",
22+
"cosmwasm/enclaves/shared/utils/Cargo.toml",
23+
"cosmwasm/enclaves/shared/block-verifier/Cargo.toml"
1824
],
1925
"rust-analyzer.diagnostics.experimental.enable": true,
2026
"rust-analyzer.rustfmt.rangeFormatting.enable": true,
@@ -31,6 +37,7 @@
3137
"SGX_MODE": "SW",
3238
"RUST_BACKTRACE": "1"
3339
},
40+
"go.buildTags": "sgx",
3441
"go.useLanguageServer": true,
3542
"go.lintTool": "golangci-lint",
3643
"go.lintOnSave": "workspace",

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,20 @@
33
# 1.10.0 (Unreleased - WIP)
44

55
- Added ibc-hooks middleware by Osmosis.
6-
- WASM Hooks: allows ICS-20 token transfers to initiate contract calls, serving various use cases.
6+
- WASM hooks: allows ICS-20 token transfers to initiate contract calls, serving various use cases.
77
- Example: Sending tokens to Secret and immediately wrapping them as SNIP-20 token. For example, `ATOM on Hub -> ATOM on Secret -> sATOMS on Secret` (2 transactions on 2 chains) now becomes `ATOM on Hub -> sATOM on Secret` (1 transaction).
88
- Example: Cross-chain swaps. Using IBC Hooks, an AMM on Secret can atomically swap tokens that originated on a different chain and are headed to Secret. The AMM can also send those tokens back to the originating chain.
99
- [Axelar GMP](https://docs.axelar.dev/dev/general-message-passing/overview): Using IBC Hooks, a contract on Ethereum can call a contract on Secret and get a response back.
1010
- Ack callbacks: allow non-IBC contracts that send an `IbcMsg::Transfer` to listen for the ack/timeout of the token transfer. This allows these contracts to definitively know whether the transfer was successful or not and act accordingly (refund if failed, continue if succeeded). See usage example [here](https://github.com/scrtlabs/secret.js/blob/4293219/test/ibc-hooks-contract/src/contract.rs#L47-L91).
11-
- Added and optional `memo` field to `IbcMsg::Transfer`, to ease to use of the IBC Hooks ack callbacks feature. See usage example [here](https://github.com/scrtlabs/secret.js/blob/4293219/test/ibc-hooks-contract/src/contract.rs#L60-L63).
11+
- Added an optional `memo` field to `IbcMsg::Transfer`, to ease to use of the IBC Hooks ack callbacks feature. See usage example [here](https://github.com/scrtlabs/secret.js/blob/4293219/test/ibc-hooks-contract/src/contract.rs#L60-L63).
12+
- Added contract upgrade feature.
13+
- On init, the creator can specify an admin address.
14+
- The admin can migrate the contract to a new code ID.
15+
- The admin can update or clear the admin address.
16+
- The admins of contracts that were instantiated before v1.10 are hardcoded according to [proposal TODO](https://www.mintscan.io/secret/proposals/TODO).
17+
- Hardcoded admins can only be updated/cleared with a future gov proposal.
18+
- When the new MsgMigrateContract is invoked, the `migrate()` function is being called on the new contract code, where the new contract can optionally perform state migrations. See usage example [here](https://github.com/scrtlabs/SecretNetwork/blob/139a0eb18/cosmwasm/contracts/v1/compute-tests/migration/contract-v2/src/contract.rs#L37-L43).
19+
- Fixed a scenario where the enclave's light client might fail a valid node registration transaction.
1220

1321
# 1.9.3
1422

Makefile

Lines changed: 55 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ TEST_COMPUTE_MODULE_PATH = ./x/compute/internal/keeper/testdata/
3232

3333
ENCLAVE_PATH = cosmwasm/enclaves/
3434
EXECUTE_ENCLAVE_PATH = $(ENCLAVE_PATH)/execute/
35-
QUERY_ENCLAVE_PATH = $(ENCLAVE_PATH)/query/
3635
DOCKER_BUILD_ARGS ?=
3736

3837
DOCKER_BUILDX_CHECK = $(@shell docker build --load test)
@@ -166,11 +165,13 @@ build-secret: build-linux
166165

167166
build-linux: _build-linux build_local_no_rust build_cli
168167
_build-linux:
169-
BUILD_PROFILE=$(BUILD_PROFILE) FEATURES=$(FEATURES) FEATURES_U=$(FEATURES_U) $(MAKE) -C go-cosmwasm build-rust
168+
BUILD_PROFILE=$(BUILD_PROFILE) FEATURES="$(FEATURES)" FEATURES_U="$(FEATURES_U) light-client-validation go-tests" $(MAKE) -C go-cosmwasm build-rust
170169

171-
build-linux-with-query: _build-linux-with-query build_local_no_rust build_cli
172-
_build-linux-with-query:
173-
BUILD_PROFILE=$(BUILD_PROFILE) FEATURES=$(FEATURES) FEATURES_U=query-node,$(FEATURES_U) $(MAKE) -C go-cosmwasm build-rust
170+
build-tm-secret-enclave:
171+
git clone https://github.com/scrtlabs/tm-secret-enclave.git /tmp/tm-secret-enclave || true
172+
cd /tmp/tm-secret-enclave && git checkout v1.9.3 && git submodule init && git submodule update --remote
173+
rustup component add rust-src
174+
SGX_MODE=$(SGX_MODE) $(MAKE) -C /tmp/tm-secret-enclave build
174175

175176
build_windows_cli:
176177
$(MAKE) xgo_build_secretcli XGO_TARGET=windows/amd64
@@ -244,7 +245,7 @@ clean:
244245

245246
localsecret:
246247
DOCKER_BUILDKIT=1 docker build \
247-
--build-arg FEATURES="${FEATURES},debug-print,random" \
248+
--build-arg FEATURES="${FEATURES},debug-print,random,light-client-validation" \
248249
--build-arg FEATURES_U=${FEATURES_U} \
249250
--secret id=API_KEY,src=.env.local \
250251
--secret id=SPID,src=.env.local \
@@ -416,39 +417,70 @@ build-bench-contract:
416417
$(MAKE) -C $(TEST_CONTRACT_V1_PATH)/bench-contract
417418
cp $(TEST_CONTRACT_V1_PATH)/bench-contract/*.wasm $(TEST_COMPUTE_MODULE_PATH)/
418419

419-
build-test-contract:
420+
build-test-contracts:
420421
# echo "" | sudo add-apt-repository ppa:hnakamur/binaryen
421422
# sudo apt update
422423
# sudo apt install -y binaryen
423424
$(MAKE) -C $(TEST_CONTRACT_V010_PATH)/test-compute-contract
424-
cp $(TEST_CONTRACT_V010_PATH)/test-compute-contract/*.wasm $(TEST_COMPUTE_MODULE_PATH)/
425+
426+
rm -f $(TEST_COMPUTE_MODULE_PATH)/contract.wasm
427+
cp $(TEST_CONTRACT_V010_PATH)/test-compute-contract/contract.wasm $(TEST_COMPUTE_MODULE_PATH)/contract.wasm
428+
429+
rm -f $(TEST_COMPUTE_MODULE_PATH)/contract_with_floats.wasm
430+
cp $(TEST_CONTRACT_V010_PATH)/test-compute-contract/contract_with_floats.wasm $(TEST_COMPUTE_MODULE_PATH)/contract_with_floats.wasm
431+
432+
rm -f $(TEST_COMPUTE_MODULE_PATH)/static-too-high-initial-memory.wasm
433+
cp $(TEST_CONTRACT_V010_PATH)/test-compute-contract/static-too-high-initial-memory.wasm $(TEST_COMPUTE_MODULE_PATH)/static-too-high-initial-memory.wasm
434+
435+
rm -f $(TEST_COMPUTE_MODULE_PATH)/too-high-initial-memory.wasm
436+
cp $(TEST_CONTRACT_V010_PATH)/test-compute-contract/too-high-initial-memory.wasm $(TEST_COMPUTE_MODULE_PATH)/too-high-initial-memory.wasm
437+
438+
$(MAKE) -C $(TEST_CONTRACT_V010_PATH)/test-compute-contract-v2
439+
440+
rm -f $(TEST_COMPUTE_MODULE_PATH)/contract-v2.wasm
441+
cp $(TEST_CONTRACT_V010_PATH)/test-compute-contract-v2/contract-v2.wasm $(TEST_COMPUTE_MODULE_PATH)/contract-v2.wasm
442+
425443
$(MAKE) -C $(TEST_CONTRACT_V1_PATH)/test-compute-contract
426-
cp $(TEST_CONTRACT_V1_PATH)/test-compute-contract/*.wasm $(TEST_COMPUTE_MODULE_PATH)/
444+
rm -f $(TEST_COMPUTE_MODULE_PATH)/v1-contract.wasm
445+
cp $(TEST_CONTRACT_V1_PATH)/test-compute-contract/v1-contract.wasm $(TEST_COMPUTE_MODULE_PATH)/v1-contract.wasm
446+
447+
$(MAKE) -C $(TEST_CONTRACT_V1_PATH)/test-compute-contract-v2
448+
rm -f $(TEST_COMPUTE_MODULE_PATH)/v1-contract-v2.wasm
449+
cp $(TEST_CONTRACT_V1_PATH)/test-compute-contract-v2/v1-contract-v2.wasm $(TEST_COMPUTE_MODULE_PATH)/v1-contract-v2.wasm
450+
427451
$(MAKE) -C $(TEST_CONTRACT_V1_PATH)/ibc-test-contract
428-
cp $(TEST_CONTRACT_V1_PATH)/ibc-test-contract/*.wasm $(TEST_COMPUTE_MODULE_PATH)/
452+
rm -f $(TEST_COMPUTE_MODULE_PATH)/ibc.wasm
453+
cp $(TEST_CONTRACT_V1_PATH)/ibc-test-contract/ibc.wasm $(TEST_COMPUTE_MODULE_PATH)/ibc.wasm
454+
455+
$(MAKE) -C $(TEST_CONTRACT_V1_PATH)/migration/contract-v1
456+
rm -f $(TEST_COMPUTE_MODULE_PATH)/migrate_contract_v1.wasm
457+
cp $(TEST_CONTRACT_V1_PATH)/migration/contract-v1/migrate_contract_v1.wasm $(TEST_COMPUTE_MODULE_PATH)/migrate_contract_v1.wasm
458+
459+
$(MAKE) -C $(TEST_CONTRACT_V1_PATH)/migration/contract-v2
460+
rm -f $(TEST_COMPUTE_MODULE_PATH)/migrate_contract_v2.wasm
461+
cp $(TEST_CONTRACT_V1_PATH)/migration/contract-v2/migrate_contract_v2.wasm $(TEST_COMPUTE_MODULE_PATH)/migrate_contract_v2.wasm
429462

430-
prep-go-tests: build-test-contract bin-data-sw
463+
464+
prep-go-tests: build-test-contracts bin-data-sw
431465
# empty BUILD_PROFILE means debug mode which compiles faster
432466
SGX_MODE=SW $(MAKE) build-linux
433467
cp ./$(EXECUTE_ENCLAVE_PATH)/librust_cosmwasm_enclave.signed.so ./x/compute/internal/keeper
434468
cp ./$(EXECUTE_ENCLAVE_PATH)/librust_cosmwasm_enclave.signed.so .
435469

436-
go-tests: build-test-contract bin-data-sw
470+
go-tests: build-test-contracts bin-data-sw
471+
# SGX_MODE=SW $(MAKE) build-tm-secret-enclave
472+
# cp /tmp/tm-secret-enclave/tendermint_enclave.signed.so ./x/compute/internal/keeper
437473
SGX_MODE=SW $(MAKE) build-linux
438474
cp ./$(EXECUTE_ENCLAVE_PATH)/librust_cosmwasm_enclave.signed.so ./x/compute/internal/keeper
439-
cp ./$(EXECUTE_ENCLAVE_PATH)/librust_cosmwasm_enclave.signed.so .
440-
#cp ./$(QUERY_ENCLAVE_PATH)/librust_cosmwasm_query_enclave.signed.so ./x/compute/internal/keeper
441-
rm -rf ./x/compute/internal/keeper/.sgx_secrets
442-
mkdir -p ./x/compute/internal/keeper/.sgx_secrets
443-
GOMAXPROCS=8 SGX_MODE=SW SCRT_SGX_STORAGE='./' go test -count 1 -failfast -timeout 90m -v ./x/compute/internal/... $(GO_TEST_ARGS)
475+
GOMAXPROCS=8 SGX_MODE=SW SCRT_SGX_STORAGE='./' SKIP_LIGHT_CLIENT_VALIDATION=TRUE go test -count 1 -failfast -timeout 90m -v ./x/compute/internal/... $(GO_TEST_ARGS)
444476

445-
go-tests-hw: build-test-contract bin-data
477+
go-tests-hw: build-test-contracts bin-data
446478
# empty BUILD_PROFILE means debug mode which compiles faster
479+
# SGX_MODE=HW $(MAKE) build-tm-secret-enclave
480+
# cp /tmp/tm-secret-enclave/tendermint_enclave.signed.so ./x/compute/internal/keeper
447481
SGX_MODE=HW $(MAKE) build-linux
448482
cp ./$(EXECUTE_ENCLAVE_PATH)/librust_cosmwasm_enclave.signed.so ./x/compute/internal/keeper
449-
rm -rf ./x/compute/internal/keeper/.sgx_secrets
450-
mkdir -p ./x/compute/internal/keeper/.sgx_secrets
451-
GOMAXPROCS=8 SGX_MODE=HW go test -v ./x/compute/internal/... $(GO_TEST_ARGS)
483+
GOMAXPROCS=8 SGX_MODE=HW SCRT_SGX_STORAGE='./' SKIP_LIGHT_CLIENT_VALIDATION=TRUE go test -v ./x/compute/internal/... $(GO_TEST_ARGS)
452484

453485
# When running this more than once, after the first time you'll want to remove the contents of the `ffi-types`
454486
# rule in the Makefile in `enclaves/execute`. This is to speed up the compilation time of tests and speed up the
@@ -457,7 +489,7 @@ go-tests-hw: build-test-contract bin-data
457489
enclave-tests:
458490
$(MAKE) -C cosmwasm/enclaves/test run
459491

460-
build-all-test-contracts: build-test-contract
492+
build-all-test-contracts: build-test-contracts
461493
cd $(CW_CONTRACTS_V010_PATH)/gov && RUSTFLAGS='-C link-arg=-s' cargo build --release --target wasm32-unknown-unknown --locked
462494
wasm-opt -Os $(CW_CONTRACTS_V010_PATH)/gov/target/wasm32-unknown-unknown/release/gov.wasm -o $(TEST_CONTRACT_PATH)/gov.wasm
463495

@@ -483,7 +515,7 @@ build-all-test-contracts: build-test-contract
483515
wasm-opt -Os .$(CW_CONTRACTS_V010_PATH)/hackatom/target/wasm32-unknown-unknown/release/hackatom.wasm -o $(TEST_CONTRACT_PATH)/contract.wasm
484516
cat $(TEST_CONTRACT_PATH)/contract.wasm | gzip > $(TEST_CONTRACT_PATH)/contract.wasm.gzip
485517

486-
build-erc20-contract: build-test-contract
518+
build-erc20-contract: build-test-contracts
487519
cd .$(CW_CONTRACTS_V010_PATH)/erc20 && RUSTFLAGS='-C link-arg=-s' cargo build --release --target wasm32-unknown-unknown --locked
488520
wasm-opt -Os .$(CW_CONTRACTS_V010_PATH)/erc20/target/wasm32-unknown-unknown/release/cw_erc20.wasm -o ./erc20.wasm
489521

client/docs/config.json

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Secret Network",
55
"description": "A REST interface for queries and transactions",
6-
"version": "v1.8"
6+
"version": "v1.10"
77
},
88
"apis": [
99
{
@@ -171,6 +171,17 @@
171171
}
172172
}
173173
},
174+
{
175+
"url": "../../tmp-swagger-gen/ibc/applications/fee/v1/query.swagger.json",
176+
"operationIds": {
177+
"rename": {
178+
"Params": "../../tmp-swagger-gen/ibc/applications/fee/v1/query.swagger.jsonParams",
179+
"Pool": "../../tmp-swagger-gen/ibc/applications/fee/v1/query.swagger.jsonPool",
180+
"DelegatorValidators": "../../tmp-swagger-gen/ibc/applications/fee/v1/query.swagger.jsonDelegatorValidators",
181+
"UpgradedConsensusState": "../../tmp-swagger-gen/ibc/applications/fee/v1/query.swagger.jsonUpgradedConsensusState"
182+
}
183+
}
184+
},
174185
{
175186
"url": "../../tmp-swagger-gen/ibc/applications/interchain_accounts/controller/v1/query.swagger.json",
176187
"operationIds": {
@@ -193,6 +204,17 @@
193204
}
194205
}
195206
},
207+
{
208+
"url": "../../tmp-swagger-gen/ibc/applications/packetforward/v1/query.swagger.json",
209+
"operationIds": {
210+
"rename": {
211+
"Params": "../../tmp-swagger-gen/ibc/applications/packetforward/v1/query.swagger.jsonParams",
212+
"Pool": "../../tmp-swagger-gen/ibc/applications/packetforward/v1/query.swagger.jsonPool",
213+
"DelegatorValidators": "../../tmp-swagger-gen/ibc/applications/packetforward/v1/query.swagger.jsonDelegatorValidators",
214+
"UpgradedConsensusState": "../../tmp-swagger-gen/ibc/applications/packetforward/v1/query.swagger.jsonUpgradedConsensusState"
215+
}
216+
}
217+
},
196218
{
197219
"url": "../../tmp-swagger-gen/ibc/applications/transfer/v1/query.swagger.json",
198220
"operationIds": {
@@ -248,6 +270,17 @@
248270
}
249271
}
250272
},
273+
{
274+
"url": "../../tmp-swagger-gen/secret/emergencybutton/v1beta1/query.swagger.json",
275+
"operationIds": {
276+
"rename": {
277+
"Params": "../../tmp-swagger-gen/secret/emergencybutton/v1beta1/query.swagger.jsonParams",
278+
"Pool": "../../tmp-swagger-gen/secret/emergencybutton/v1beta1/query.swagger.jsonPool",
279+
"DelegatorValidators": "../../tmp-swagger-gen/secret/emergencybutton/v1beta1/query.swagger.jsonDelegatorValidators",
280+
"UpgradedConsensusState": "../../tmp-swagger-gen/secret/emergencybutton/v1beta1/query.swagger.jsonUpgradedConsensusState"
281+
}
282+
}
283+
},
251284
{
252285
"url": "../../tmp-swagger-gen/secret/intertx/v1beta1/query.swagger.json",
253286
"operationIds": {

0 commit comments

Comments
 (0)