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(jellyfish-api-core): add token split testing #1475

Merged
merged 134 commits into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from 127 commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
eb0044a
Change to the latest docker image
May 12, 2022
d7d6bd5
Fix fail test
May 12, 2022
2b5a299
Update masternode doc
May 12, 2022
3db64d2
Add collateralTx
May 12, 2022
9715794
Update docs
May 12, 2022
6a04759
Update test
May 12, 2022
7688ecf
Fix failed tests
May 12, 2022
f673c6d
Fix failed tests
May 12, 2022
daf5aa5
Fix failed tests
May 12, 2022
5f22665
Fix failed tests
May 12, 2022
75ef967
Fix failed tests
May 12, 2022
cf5e863
Temporarily comment out failed test
May 12, 2022
1cb4ed7
Minor
May 12, 2022
85b659e
Add back commented code
May 13, 2022
20e991a
Merge branch 'main' into jimmy/rpc-updatemasternode
jingyi2811 May 13, 2022
06f3552
Fix failed test
jingyi2811 May 13, 2022
51bde58
Merge remote-tracking branch 'origin/main' into jimmy/v3-fix-failed-t…
jingyi2811 May 17, 2022
19c304c
Fixed withdrawFutureSwap failing tests.
surangap May 18, 2022
ebea81e
Fix block length
jingyi2811 May 19, 2022
8adb8be
Minor
jingyi2811 May 19, 2022
a5c7967
Minor
jingyi2811 May 19, 2022
e21fefc
Minor
jingyi2811 May 19, 2022
503fa08
Merge remote-tracking branch 'origin/main' into jimmy/v3-fix-failed-t…
jingyi2811 May 19, 2022
17cdd49
Fix failed test
jingyi2811 May 19, 2022
f745160
Fix failed test
jingyi2811 May 19, 2022
83eb8e5
Fix failed test
jingyi2811 May 19, 2022
6b51a53
Fix failed test
jingyi2811 May 19, 2022
bdec7b0
Updated to V3 latest image.
surangap May 20, 2022
84f315a
Updated image to stock-splits only.
surangap May 23, 2022
d38aad5
Fixed placeAuctionBid.test.ts failing tests with stock-splits.
surangap May 23, 2022
ee97164
Fixed withdrawFutureSwap.test.ts failing tests with stock-splits.
surangap May 23, 2022
5d23200
Updated image to latest fortcanningspicegardenheight.
surangap May 23, 2022
fc8c8db
Fixed failing tests.
surangap May 23, 2022
b53d5ec
Updated image to latest master.
surangap May 23, 2022
38f19da
Update packages/testcontainers/src/containers/RegTestContainer/index.ts
surangap May 24, 2022
4998416
Merge branch 'surangap/token-splits-port' of https://github.com/Jelly…
jingyi2811 May 24, 2022
e965ad1
Update docker image
jingyi2811 May 24, 2022
ed52cca
Merge remote-tracking branch 'origin/main' into surangap/token-splits…
jingyi2811 May 24, 2022
a15897c
Fix failed tests
jingyi2811 May 24, 2022
6c09f2f
fix pg setgov
canonbrother May 24, 2022
4406d65
Fix failed tests
jingyi2811 May 24, 2022
3837259
Merge remote-tracking branch 'origin/surangap/token-splits-port' into…
jingyi2811 May 24, 2022
f64baa8
Fix failed tests
jingyi2811 May 24, 2022
f55709f
Don't use v3 code, revert to old code
jingyi2811 May 24, 2022
847c489
Remove activateAfterBlock test unit and defaulted the value to 0 for …
jingyi2811 May 24, 2022
8a47bd2
Connect to the latest docker image
jingyi2811 May 24, 2022
4bb353b
Fix failed test
jingyi2811 May 24, 2022
c87b248
Skip on-chain governance code
jingyi2811 May 24, 2022
07ba8dc
Skip on-chain governance code
jingyi2811 May 24, 2022
6029be0
Connect to latest docker image
jingyi2811 May 24, 2022
28536b3
Fix failed test
jingyi2811 May 24, 2022
32faa4b
Fix failed test
jingyi2811 May 24, 2022
c968812
Fix failed test
jingyi2811 May 24, 2022
6f190ff
Connect to latest docker image
jingyi2811 May 24, 2022
557a536
add missing doc - poolpair dexfee
canonbrother May 25, 2022
3d4dba7
Fix bad code after which is the result of "eslint --fix"
jingyi2811 May 25, 2022
b2af44d
Fix bad code after which is the result of "eslint --fix"
jingyi2811 May 25, 2022
a30627d
Merge remote-tracking branch 'origin/surangap/token-splits-port' into…
jingyi2811 May 25, 2022
8088039
Remove redundant now function.
jingyi2811 May 25, 2022
8bc8aa4
Use skip instead
jingyi2811 May 25, 2022
18eebf7
Fix flaky test. (Retrieve date from a global variable)
jingyi2811 May 25, 2022
a59843e
Change variable name from currentTimestamp to now. (Which is the comm…
jingyi2811 May 25, 2022
ba08ffa
Use unique date for this test only
jingyi2811 May 25, 2022
6de7692
Set unique date for different oracle data
jingyi2811 May 25, 2022
0d11f0f
Fix flaky test
jingyi2811 May 25, 2022
555a74b
Temporarily skip this
jingyi2811 May 25, 2022
45806a5
Skip the entire describe
jingyi2811 May 25, 2022
e820f12
Skip and add comments
jingyi2811 May 26, 2022
b5cca7b
Fix wrong description
jingyi2811 May 26, 2022
533e273
Improve code
jingyi2811 May 26, 2022
734ef85
Revert back code
jingyi2811 May 26, 2022
b979707
Reverted changes to placeAuctionBid.test.ts file.
surangap May 26, 2022
4734b54
Temporarily skip flaky test
jingyi2811 May 26, 2022
f0c92e2
Updated to latest master image.
surangap May 27, 2022
00b1024
Updated to latest master image.
surangap May 27, 2022
21d961f
Added token split tests.
surangap May 26, 2022
b270412
Tested a futureswap after split
chanakasameera May 26, 2022
12874e8
Tested a futureswap before split
chanakasameera May 26, 2022
82559e3
Added poolpair test after token split.
surangap May 26, 2022
dba29c2
Tested futureswaps with token splits
chanakasameera May 26, 2022
4096375
Possible fixes for the failures due to latest docker image
chanakasameera May 26, 2022
daa7665
Updated tests.
surangap May 27, 2022
14196ec
Updated tests.
surangap May 27, 2022
b88818f
Updated the "check active vault after split" test with correct version.
surangap May 27, 2022
6847340
Updated tests.
surangap May 27, 2022
357cfb6
Moved tokenSplits.test.ts file to token category.
surangap May 27, 2022
e8045fd
Merge branch 'main' into surangap/token-split-tests
chanakasameera May 30, 2022
3407f85
Moved tokenSplits.test.ts file into masternode category.
chanakasameera May 30, 2022
4bf7d1c
Added checking withdrawFromVault and takeLoan after split lock
chanakasameera Jun 1, 2022
d6f84da
Add test units
jingyi2811 Jun 1, 2022
1372579
Merge remote-tracking branch 'origin/main' into surangap/token-split-…
jingyi2811 Jun 1, 2022
a1c594b
Merge remote-tracking branch 'origin/surangap/token-split-tests' into…
jingyi2811 Jun 1, 2022
8c0cf0c
Add test units
jingyi2811 Jun 1, 2022
8d1ac63
Add code skeleton to setGov.locks.token
jingyi2811 Jun 1, 2022
83b6fe9
Add more comment
jingyi2811 Jun 2, 2022
1842802
Add more comment
jingyi2811 Jun 2, 2022
a04630a
Add more comment
jingyi2811 Jun 2, 2022
aa1cb02
Added tests for updateToken and getFixedIntervalPrice with lock
chanakasameera Jun 2, 2022
a672f91
Add split token code
jingyi2811 Jun 2, 2022
3897c71
Merge remote-tracking branch 'origin/surangap/token-split-tests' into…
jingyi2811 Jun 2, 2022
4af9b43
Add split pool pair code
jingyi2811 Jun 2, 2022
c997852
Check addPoolLiquidity after split
chanakasameera Jun 2, 2022
970e977
Add vault split and refund futureswap tests
jingyi2811 Jun 2, 2022
a86ddd0
Merge branch 'surangap/token-split-tests' of https://github.com/Jelly…
jingyi2811 Jun 2, 2022
b915425
Add set GOV variables correctly test
jingyi2811 Jun 2, 2022
51a8443
Added poolSwap and futureSwap tests with token lock
chanakasameera Jun 2, 2022
08abe9d
Add split auction test
jingyi2811 Jun 2, 2022
689037c
Added depositToVault, withdrawFromVault, takeLoan and paybackLoan tes…
chanakasameera Jun 2, 2022
4011b20
Merge branch 'surangap/token-split-tests' of github.com:JellyfishSDK/…
chanakasameera Jun 2, 2022
b89d6fd
Merge branch 'main' into surangap/token-split-tests
chanakasameera Jun 3, 2022
f02185d
Updated the docker image to latest master
chanakasameera Jun 3, 2022
b83bfd7
Updated the docker image to 1311 Return -1 value on getvault when tok…
chanakasameera Jun 3, 2022
c63ad5d
Should split liquidated vault
jingyi2811 Jun 3, 2022
b7d1c33
Merge branch 'surangap/token-split-tests' of https://github.com/Jelly…
jingyi2811 Jun 3, 2022
e2d7efc
Break 1 file into 2 files
jingyi2811 Jun 3, 2022
0a20fcb
Fix failed test
jingyi2811 Jun 3, 2022
67efbd3
Fix flaky test
jingyi2811 Jun 3, 2022
bf2fbdd
Quite complete version
jingyi2811 Jun 3, 2022
b86f27b
Add single and multi locks
jingyi2811 Jun 4, 2022
bc15045
Add niche test scenario
jingyi2811 Jun 4, 2022
8b94688
Add space
jingyi2811 Jun 4, 2022
fb9ccfc
Milestone version
jingyi2811 Jun 5, 2022
b239afc
Use number ends with 99999999 for better testing
jingyi2811 Jun 5, 2022
dda5a7a
Updated image ain v2.8.1
surangap Jun 6, 2022
81f44ab
Minor
jingyi2811 Jun 6, 2022
56c4679
Merge remote-tracking branch 'origin/main' into surangap/token-split-…
jingyi2811 Jun 6, 2022
eabff5c
Updated tests according to review comments
chanakasameera Jun 7, 2022
e8d549e
fix test
canonbrother Jun 7, 2022
0687413
Refactored tests.
surangap Jun 7, 2022
dc829d4
Renamed file.
surangap Jun 7, 2022
b8a707f
Added new test.
surangap Jun 7, 2022
3b4fa4f
cherry pick 29085d8
eli-lim Jun 7, 2022
1c3d4a2
Verified that deposit, withdraw, take loan, future swap and pool swap…
chanakasameera Jun 7, 2022
dcbd8f6
Merge branch 'main' into surangap/token-split-tests
chanakasameera Jun 8, 2022
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
Loading