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 cosmos-sdk v0.47 #174

Merged
merged 159 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
d8accc2
updated dependecies to work with sdk47
swelf19 Jul 5, 2023
0ec6a27
updates
swelf19 Jul 31, 2023
947da30
merged main
swelf19 Jul 31, 2023
8808081
Merge remote-tracking branch 'origin/main' into feat/upd-47
NeverHappened Aug 2, 2023
ef1b20c
fix: adapt tests to new global fee version for sdk47
NeverHappened Aug 2, 2023
fb04f49
feat: add new tests for global fees for other params
NeverHappened Aug 3, 2023
c16b7e3
cleanup
NeverHappened Aug 3, 2023
b383eda
cleanup 2
NeverHappened Aug 3, 2023
01b526c
add more param checks
NeverHappened Aug 3, 2023
f910ffa
cleanup proposal creation
NeverHappened Aug 3, 2023
c68c3b9
fix overrule failing
NeverHappened Aug 4, 2023
f348952
tmp
NeverHappened Aug 4, 2023
48d0314
get back old debugging and wallets
NeverHappened Aug 7, 2023
c5f5e81
fix: add missing await's for block waits
NeverHappened Aug 8, 2023
badc7aa
temporarily disabled globalfee test
swelf19 Aug 11, 2023
e32ae5e
feat: add resubmit_failure tests
NeverHappened Aug 11, 2023
a00ae56
feat: add resubmit_failure tests and out of gas test
NeverHappened Aug 11, 2023
083fc27
add resubmit and out of gas tests for simple.test
NeverHappened Aug 11, 2023
1636d92
fix tests
NeverHappened Aug 11, 2023
acf77a5
Merge pull request #186 from neutron-org/feat/upd-47-globalfee
pr0n00gler Aug 14, 2023
668de7e
comment out not working for now out of gas
NeverHappened Aug 14, 2023
de5ddf0
fix interchain tx test
NeverHappened Aug 14, 2023
095ebad
Merge branch 'feat/upd-47' into feat/contract-manager-resubmit
NeverHappened Aug 17, 2023
c25cb02
remove contractmanager stargate queries
NeverHappened Aug 17, 2023
625b035
change fields for failure struct check
NeverHappened Aug 17, 2023
24dfe89
test for sudo gas limit
swelf19 Aug 22, 2023
f3cf947
merged main
swelf19 Aug 22, 2023
d05a9ce
Merge branch 'feat/upd-47' into feat/contract-manager-resubmit
NeverHappened Aug 22, 2023
73e1ac7
removed ourdated tests
swelf19 Aug 22, 2023
31f63fd
hermes conflicts
swelf19 Aug 22, 2023
8fa300c
Merge branch 'feat/upd-47' into feat/icatx-rework
swelf19 Aug 22, 2023
a14ff2c
Merge branch 'feat/upd-47' into feat/contract-manager-resubmit
NeverHappened Aug 22, 2023
1b68a0b
update tests for 47sdk
quasisamurai Aug 25, 2023
07b433c
lint
quasisamurai Aug 25, 2023
750825a
Merge pull request #190 from neutron-org/feat/contract-manager-resubmit
pr0n00gler Aug 29, 2023
4c59e16
merge conflicts
swelf19 Aug 31, 2023
a800cd9
update admin module & ibc related proto
quasisamurai Sep 5, 2023
ac9bf11
fix comments, add some cases
quasisamurai Sep 5, 2023
5ebeb76
gaia version
quasisamurai Sep 6, 2023
af9760a
Merge branch 'feat/upd-47' into feat/admin-module-sdk47
quasisamurai Sep 6, 2023
6bcdd22
rm console log
quasisamurai Sep 6, 2023
067da6b
wip
quasisamurai Sep 7, 2023
a321861
Merge pull request #196 from neutron-org/feat/admin-module-sdk47
pr0n00gler Sep 7, 2023
990f7a0
wip
quasisamurai Sep 7, 2023
a2fab01
add new tokenfactory & upd params tests
quasisamurai Sep 8, 2023
3648f51
finalaze tokenfactory tests
quasisamurai Sep 8, 2023
3ff7e5d
post-review + some fixes
quasisamurai Sep 13, 2023
f733a45
lint
quasisamurai Sep 13, 2023
4a79171
polish
quasisamurai Sep 13, 2023
6decd6d
fix query
quasisamurai Sep 13, 2023
1581385
fix stargate tests
quasisamurai Sep 13, 2023
50f32ae
fix query
quasisamurai Sep 13, 2023
f1933a1
explicit type
quasisamurai Sep 13, 2023
be6e78e
topup balance at the beginning of the test
swelf19 Sep 15, 2023
72a2b93
lint, fix some stuff, introduce new test etc.
quasisamurai Sep 15, 2023
a13c37a
lintt
quasisamurai Sep 15, 2023
9f14474
rm legacy
quasisamurai Sep 15, 2023
5d6683b
Merge branch 'feat/upd-47' into feat/tokenfactory-update
quasisamurai Sep 17, 2023
8f5ab5d
fix reserve tests
quasisamurai Sep 17, 2023
6397a30
commit forgotten
quasisamurai Sep 18, 2023
fe6403c
Merge pull request #204 from neutron-org/feat/icatx-refactor
pr0n00gler Sep 19, 2023
299236b
Merge branch 'feat/upd-47' into feat/icatx-rework
swelf19 Sep 19, 2023
55d39bc
fix tests after review changes
NeverHappened Sep 19, 2023
5ab2c66
Merge pull request #195 from neutron-org/feat/icatx-rework
pr0n00gler Sep 20, 2023
b81080d
Merge remote-tracking branch 'origin/feat/upd-47' into feat/tokenfact…
NeverHappened Sep 20, 2023
7e6d67d
Merge pull request #200 from neutron-org/feat/tokenfactory-update
pr0n00gler Sep 20, 2023
c61ceb7
updated code pin ids amount according to wasmd 0.42.0
swelf19 Sep 28, 2023
c41d905
replaced pob with block-sdk
swelf19 Oct 5, 2023
a3ae23e
add sdk-47 paras test
quasisamurai Oct 16, 2023
7fffc83
Merge pull request #221 from neutron-org/feat/block-sdk-integration
pr0n00gler Oct 17, 2023
9586c69
updated test to work with block-sdk 1.1(strict tx timeout requirements)
swelf19 Oct 27, 2023
02e3d6b
Merge pull request #227 from neutron-org/nv/block-sdk-update
pr0n00gler Oct 27, 2023
5a031a2
rearrange order
quasisamurai Oct 31, 2023
fdf05d6
fix errors and typos
quasisamurai Oct 31, 2023
030a3c0
add explicit any declarations
quasisamurai Oct 31, 2023
f5da938
Merge branch 'feat/upd-47' into feat/updated-codepinids-amount
swelf19 Oct 31, 2023
5f0ba39
Merge branch 'feat/upd-47' into feat/params-testsuit
quasisamurai Nov 1, 2023
fd2daf1
refactor: add structs for params, rm gov artifacts & comment
quasisamurai Nov 3, 2023
5d664bb
upd gov testfile
quasisamurai Nov 3, 2023
85c0a6a
lint
quasisamurai Nov 3, 2023
992f63f
Merge pull request #213 from neutron-org/feat/updated-codepinids-amount
pr0n00gler Nov 3, 2023
57142eb
Merge pull request #223 from neutron-org/feat/params-testsuit
pr0n00gler Nov 8, 2023
eb222bc
import reordering
pr0n00gler Nov 13, 2023
b80f95b
remove events log
pr0n00gler Nov 13, 2023
261701f
fix ICA fund amount
pr0n00gler Nov 13, 2023
c28ba39
fix ICTX tests
pr0n00gler Nov 14, 2023
b98be36
Merge pull request #239 from neutron-org/fix/proper-module-params
pr0n00gler Nov 15, 2023
6879ee8
update gov tests
pr0n00gler Nov 16, 2023
ab89895
fix governance tests due to changed whitelist
pr0n00gler Nov 18, 2023
6e4fdc2
fix tests
pr0n00gler Nov 19, 2023
d86295b
increase bond amount
quasisamurai Nov 20, 2023
482aab7
increase bond amount for overrule test as well
quasisamurai Nov 20, 2023
ec803f7
fix lint
pr0n00gler Nov 20, 2023
af6ce68
remove commented code
pr0n00gler Nov 20, 2023
56c74ff
Merge pull request #241 from neutron-org/fix/tests
pr0n00gler Nov 20, 2023
b2a2e98
update subdao testsuit
quasisamurai Nov 20, 2023
55098d6
return previous contract name
quasisamurai Nov 20, 2023
1f304eb
upd tests
quasisamurai Nov 20, 2023
626246f
default execution failure
quasisamurai Nov 20, 2023
9f16674
fix status check
quasisamurai Nov 20, 2023
d35820c
add explicit close propose on execution failure for overrule
quasisamurai Nov 20, 2023
fc58c7f
upd tests;
quasisamurai Nov 20, 2023
08a7208
Merge pull request #242 from neutron-org/fix/subdao-sdk47
pr0n00gler Nov 20, 2023
a2818c9
added test+contract to test wasm float support in neutron
swelf19 Nov 22, 2023
686fed5
fixed floaty_2.0.wasm, enabled test
swelf19 Nov 22, 2023
5a65409
update golang to 1.20 for gaia version to 13
NeverHappened Nov 22, 2023
2c989b5
feat: add neutronjsplus
NeverHappened Nov 22, 2023
811a3f2
chore: neutronjsplus test:simple
NeverHappened Nov 22, 2023
83d6e0b
tmp
NeverHappened Nov 22, 2023
dbdcf22
update pkg
NeverHappened Nov 22, 2023
7b810d5
use global setup
NeverHappened Nov 23, 2023
2247b5b
cleanup simple test
Nov 23, 2023
8454973
feat: migrate governance test
Nov 23, 2023
7e4cb57
fixed tests
swelf19 Nov 23, 2023
01d20fd
migrate ibc_hooks
Nov 23, 2023
bc3273f
migrate tokenomics
Nov 23, 2023
2aa8042
migrate tokenfactory test
Nov 23, 2023
4c205b3
fix interchain txs
Nov 23, 2023
49cf57f
migrated globalfee test
Nov 23, 2023
10e4876
chore: fix all tests
Nov 23, 2023
25414d5
fix interchain_kv_query test
Nov 23, 2023
3f92e0a
moved test from perallel to run_in_band
swelf19 Nov 23, 2023
e070b22
fix test:float
pr0n00gler Nov 24, 2023
405ca95
remove pob test
pr0n00gler Nov 24, 2023
ef59fdf
Merge pull request #245 from neutron-org/fix/remove-pob-test
pr0n00gler Nov 24, 2023
6eb945b
added timeout before querying voting vaults
swelf19 Nov 24, 2023
480df92
migrate subdao tests
Nov 25, 2023
a6226bc
remove pob test
Nov 25, 2023
08d6f86
tmp
Nov 25, 2023
548937e
fix parameters test
Nov 25, 2023
9a022a5
fix overrule
Nov 25, 2023
7404d29
fix auction
Nov 25, 2023
11616e6
Merge branch 'feat/upd-47' into feat/float_support_feature
pr0n00gler Nov 25, 2023
6084880
fix package.json
pr0n00gler Nov 25, 2023
377336e
Merge pull request #243 from neutron-org/feat/float_support_feature
pr0n00gler Nov 25, 2023
bf1bdc2
remove all helpers and proto files that migrated to neutronjs
Nov 27, 2023
5732c50
adapt interchaintxquery_plain to use neutronjs
Nov 27, 2023
2a262bd
extract testExecControl back to the tests
Nov 27, 2023
b848458
fix test start
Nov 27, 2023
891f554
remove TotalBurnedNeutronsAmount as non-whitelisted query
pr0n00gler Nov 27, 2023
ada82f9
remove helpers from imports
Nov 27, 2023
8d333d7
update neutronjs plus version
Nov 27, 2023
37dc455
rename generated -> proto in neutronjs lib
Nov 27, 2023
364017a
Merge branch 'feat/upd-47' into feat/use-neutronjs
Nov 27, 2023
3c334b7
get back console
Nov 28, 2023
3dd4cfc
use neutronjsplus 0.1.0-rc0 version
Nov 28, 2023
ee20e47
fix linter
Nov 28, 2023
c895c59
update neutronjs to 0.1.0-rc1
Nov 28, 2023
c745541
Merge remote-tracking branch 'origin/feat/upd-47' into feat/use-neutr…
Nov 28, 2023
585ac78
update neutronjs to 0.1.0-rc2
Nov 28, 2023
c6036ec
update neutronjs to 0.1.0-rc3
Nov 28, 2023
3225784
Merge branch 'main' into feat/use-neutronjs
Nov 29, 2023
5f488b1
update neutronjs to 0.1.0-rc4
Nov 30, 2023
fd85142
increase minimal version of node to 16, remove non existant gen:proto…
Nov 30, 2023
6e4f09c
add test:parameters to test:run_in_band
Dec 6, 2023
36cb85d
Update src/testcases/parallel/simple.test.ts
NeverHappened Dec 7, 2023
d3a1d0d
fix unterminated string literal
Dec 7, 2023
e86a49f
update neutronjsplus version to 0.1.0
Dec 8, 2023
a1da4e8
Merge pull request #244 from neutron-org/feat/use-neutronjs
pr0n00gler Dec 8, 2023
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
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