Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support archway v9.0.0 #125

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
services:
node:
image: archwaynetwork/archwayd:v6.0.0
image: ghcr.io/archway-network/archwayd-dev:v9.0.0
command: start --x-crisis-skip-assert-invariants
entrypoint: /docker-entrypoint.sh
ports:
- 1317:1317 # API
- 9090:9090 # gRPC
- 9091:9091 # gRPC-web
- 1317:1317 # API
- 9090:9090 # gRPC
- 9091:9091 # gRPC-web
- 26656:26656 # p2p
- 26657:26657 # RPC
volumes:
- ./scripts/docker-entrypoint.sh:/docker-entrypoint.sh:ro
- ./scripts/contracts:/contracts:ro
- data:/root/.archway
healthcheck:
test:
curl --retry 5 --retry-delay 1 --retry-all-errors -sf 'http://localhost:26657/status' |
test: curl --retry 5 --retry-delay 1 --retry-all-errors -sf 'http://localhost:26657/status' |
jq -e '.result.sync_info | (.latest_block_height > 0 and .catching_up == false)'
interval: 5s
timeout: 30s
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@
]
},
"resolutions": {
"@cosmjs/amino": "^0.32.2",
"@cosmjs/cosmwasm-stargate": "^0.32.2",
"@cosmjs/math": "^0.32.2",
"@cosmjs/proto-signing": "^0.32.2",
"@cosmjs/stargate": "^0.32.2",
"@cosmjs/tendermint-rpc": "^0.32.2"
"@cosmjs/amino": "^0.32.4",
"@cosmjs/cosmwasm-stargate": "^0.32.4",
"@cosmjs/math": "^0.32.4",
"@cosmjs/proto-signing": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@cosmjs/tendermint-rpc": "^0.32.4"
},
"dependencies": {
"@archwayhq/arch3-core": "workspace:^",
Expand Down
16 changes: 8 additions & 8 deletions packages/arch3-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
},
"dependencies": {
"@archwayhq/arch3-proto": "workspace:^",
"@cosmjs/amino": "^0.32.2",
"@cosmjs/cosmwasm-stargate": "^0.32.2",
"@cosmjs/encoding": "^0.32.2",
"@cosmjs/math": "^0.32.2",
"@cosmjs/proto-signing": "^0.32.2",
"@cosmjs/stargate": "^0.32.2",
"@cosmjs/tendermint-rpc": "^0.32.2",
"@cosmjs/utils": "^0.32.2",
"@cosmjs/amino": "^0.32.4",
"@cosmjs/cosmwasm-stargate": "^0.32.4",
"@cosmjs/encoding": "^0.32.4",
"@cosmjs/math": "^0.32.4",
"@cosmjs/proto-signing": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@cosmjs/tendermint-rpc": "^0.32.4",
"@cosmjs/utils": "^0.32.4",
"cosmjs-types": "^0.9.0",
"lodash": "^4.17.21"
},
Expand Down
124 changes: 105 additions & 19 deletions packages/arch3-proto/generated/archway/bundle.ts
Original file line number Diff line number Diff line change
@@ -1,37 +1,123 @@
/* eslint-disable */
import * as _1 from "./rewards/v1/events";
import * as _2 from "./rewards/v1/genesis";
import * as _3 from "./rewards/v1/query";
import * as _4 from "./rewards/v1/rewards";
import * as _5 from "./rewards/v1/tx";
import * as _6 from "./tracking/v1/genesis";
import * as _7 from "./tracking/v1/query";
import * as _8 from "./tracking/v1/tracking";
import * as _16 from "./rewards/v1/tx.amino";
import * as _17 from "./rewards/v1/tx.registry";
import * as _18 from "./rewards/v1/query.rpc.Query";
import * as _19 from "./tracking/v1/query.rpc.Query";
import * as _20 from "./rewards/v1/tx.rpc.msg";
import * as _1 from "./callback/v1/callback";
import * as _2 from "./callback/v1/errors";
import * as _3 from "./callback/v1/events";
import * as _4 from "./callback/v1/genesis";
import * as _5 from "./callback/v1/query";
import * as _6 from "./callback/v1/tx";
import * as _7 from "./cwerrors/v1/cwerrors";
import * as _8 from "./cwerrors/v1/events";
import * as _9 from "./cwerrors/v1/genesis";
import * as _10 from "./cwerrors/v1/params";
import * as _11 from "./cwerrors/v1/query";
import * as _12 from "./cwerrors/v1/tx";
import * as _13 from "./cwfees/v1/cwfees";
import * as _14 from "./cwica/v1/errors";
import * as _15 from "./cwica/v1/genesis";
import * as _16 from "./cwica/v1/params";
import * as _17 from "./cwica/v1/query";
import * as _18 from "./cwica/v1/sudo";
import * as _19 from "./cwica/v1/tx";
import * as _20 from "./rewards/v1/events";
import * as _21 from "./rewards/v1/genesis";
import * as _22 from "./rewards/v1/query";
import * as _23 from "./rewards/v1/rewards";
import * as _24 from "./rewards/v1/tx";
import * as _25 from "./tracking/v1/genesis";
import * as _26 from "./tracking/v1/query";
import * as _27 from "./tracking/v1/tracking";
import * as _37 from "./callback/v1/tx.amino";
import * as _38 from "./cwerrors/v1/tx.amino";
import * as _39 from "./cwfees/v1/cwfees.amino";
import * as _40 from "./cwica/v1/tx.amino";
import * as _41 from "./rewards/v1/tx.amino";
import * as _42 from "./callback/v1/tx.registry";
import * as _43 from "./cwerrors/v1/tx.registry";
import * as _44 from "./cwfees/v1/cwfees.registry";
import * as _45 from "./cwica/v1/tx.registry";
import * as _46 from "./rewards/v1/tx.registry";
import * as _47 from "./callback/v1/query.rpc.Query";
import * as _48 from "./cwerrors/v1/query.rpc.Query";
import * as _49 from "./cwfees/v1/cwfees.rpc.Query";
import * as _50 from "./cwica/v1/query.rpc.Query";
import * as _51 from "./rewards/v1/query.rpc.Query";
import * as _52 from "./tracking/v1/query.rpc.Query";
import * as _53 from "./callback/v1/tx.rpc.msg";
import * as _54 from "./cwerrors/v1/tx.rpc.msg";
import * as _55 from "./cwfees/v1/cwfees.rpc.msg";
import * as _56 from "./cwica/v1/tx.rpc.msg";
import * as _57 from "./rewards/v1/tx.rpc.msg";
export namespace archway {
export namespace rewards {
export namespace callback {
export const v1 = {
..._1,
..._2,
..._3,
..._4,
..._5,
..._6,
..._37,
..._42,
..._47,
..._53
};
}
export namespace cwerrors {
export const v1 = {
..._7,
..._8,
..._9,
..._10,
..._11,
..._12,
..._38,
..._43,
..._48,
..._54
};
}
export namespace cwfees {
export const v1 = {
..._13,
..._39,
..._44,
..._49,
..._55
};
}
export namespace cwica {
export const v1 = {
..._14,
..._15,
..._16,
..._17,
..._18,
..._20
..._19,
..._40,
..._45,
..._50,
..._56
};
}
export namespace rewards {
export const v1 = {
..._20,
..._21,
..._22,
..._23,
..._24,
..._41,
..._46,
..._51,
..._57
};
}
export namespace tracking {
export const v1 = {
..._6,
..._7,
..._8,
..._19
..._25,
..._26,
..._27,
..._52
};
}
}
Loading
Loading