Skip to content

Commit

Permalink
Merge pull request #174 from neutron-org/feat/upd-47
Browse files Browse the repository at this point in the history
feat: support cosmos-sdk v0.47
  • Loading branch information
pr0n00gler authored Dec 8, 2023
2 parents d7ec6db + a1da4e8 commit 0fb2e26
Show file tree
Hide file tree
Showing 177 changed files with 4,910 additions and 16,744 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- '**'
- "**"

name: tests

Expand All @@ -17,7 +17,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '14'
cache: 'yarn'
node-version: "16"
cache: "yarn"
- name: Lint
run: yarn && yarn lint
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ NODE2_WS_URL - url to websocket of the second node
BLOCKS_COUNT_BEFORE_START - how many blocks we wait before start first test
NO_DOCKER - do not start cosmopark for tests
NO_REBUILD - skip containers rebuilding
DEBUG_SUBMIT_TX - log submitted txs to stdout
```

## Config
Expand Down
Binary file added contracts_thirdparty/floaty_2.0.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config = {
statements: 95,
},
},
setupFilesAfterEnv: ['jest-extended/all'],
setupFilesAfterEnv: ['jest-extended/all', './src/helpers/console.ts'],
transform: {
'^.+\\.[t|j]sx?$': 'babel-jest',
},
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "yarn test:parallel && yarn test:run_in_band",
"test:parallel": "jest -b src/testcases/parallel",
"test:run_in_band": "yarn test:tge:auction && yarn test:tge:airdrop && yarn test:tge:credits && yarn test:interchaintx && yarn test:interchain_kv_query && yarn test:interchain_tx_query_plain && yarn test:tokenomics && yarn test:reserve && yarn test:ibc_hooks && yarn test:globalfee",
"test:run_in_band": "yarn test:tge:auction && yarn test:tge:airdrop && yarn test:tge:credits && yarn test:interchaintx && yarn test:interchain_kv_query && yarn test:interchain_tx_query_plain && yarn test:tokenomics && yarn test:reserve && yarn test:ibc_hooks && yarn test:float && yarn test:parameters",
"test:simple": "jest -b src/testcases/parallel/simple",
"test:stargate_queries": "jest -b src/testcases/parallel/stargate_queries",
"test:interchaintx": "jest -b src/testcases/run_in_band/interchaintx",
Expand All @@ -23,33 +23,35 @@
"test:dao": "NO_WAIT_CHANNEL1=1 NO_WAIT_HTTP2=1 NO_WAIT_CHANNEL2=1 NO_WAIT_DELAY=1 jest -b src/testcases/parallel/dao_assert",
"test:globalfee": "jest -b src/testcases/run_in_band/globalfee",
"test:ibc_hooks": "jest -b src/testcases/run_in_band/ibc_hooks",
"test:parameters": "jest -b src/testcases/run_in_band/parameters",
"test:tokenfactory": "jest -b src/testcases/parallel/tokenfactory",
"test:overrule": "jest -b src/testcases/parallel/overrule",
"test:tge:vesting_lp_vault": "jest -b src/testcases/parallel/tge.vesting_lp_vault",
"test:tge:credits_vault": "jest -b src/testcases/parallel/tge.credits_vault",
"test:tge:investors_vesting_vault": "jest -b src/testcases/parallel/tge.investors_vesting_vault",
"test:voting_registry": "jest -b src/testcases/parallel/voting_registry",
"gen:proto": "bash ./gen-proto.sh",
"test:float": "NO_WAIT_CHANNEL1=1 NO_WAIT_HTTP2=1 NO_WAIT_CHANNEL2=1 NO_WAIT_DELAY=1 jest -b src/testcases/run_in_band/float",
"lint": "eslint ./src",
"fmt": "eslint ./src --fix"
},
"author": "Neutron",
"license": "Apache-2.0",
"dependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.18.6",
"@cosmos-client/core": "0.45.13",
"@cosmos-client/cosmwasm": "^0.20.1",
"@cosmos-client/core": "^0.47.4",
"@cosmos-client/cosmwasm": "^0.40.3",
"@cosmos-client/ibc": "^1.2.1",
"@neutron-org/neutronjsplus": "^0.0.16",
"@neutron-org/neutronjsplus": "0.1.0",
"@types/lodash": "^4.14.182",
"@types/long": "^4.0.2",
"axios": "^0.27.2",
"babel-jest": "^29.3.1",
"commander": "^10.0.0",
"date-fns": "^2.16.1",
"express": "^4.18.2",
"jest": "^27.5.1",
"jest-junit": "^15.0.0",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-extended": "^4.0.2",
"lodash": "^4.17.21",
"long": "^5.2.1",
"merkletreejs": "^0.3.9",
Expand All @@ -59,14 +61,13 @@
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/express": "^4.17.9",
"@types/jest": "^28.1",
"@types/jest": "^29.5",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"core-js": "^3.23.5",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"jest-extended": "^3.0.2",
"lint-staged": "^12.3.8",
"prettier": "^2.6.2",
"regenerator-runtime": "^0.13.9",
Expand All @@ -84,6 +85,6 @@
]
},
"engines": {
"node": ">=11.0 <17"
"node": ">=16.0 <17"
}
}
}
234 changes: 0 additions & 234 deletions proto-thirdparty/confio/proofs.proto

This file was deleted.

50 changes: 0 additions & 50 deletions proto-thirdparty/cosmos/auth/v1beta1/auth.proto

This file was deleted.

Loading

0 comments on commit 0fb2e26

Please sign in to comment.