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

Testing OCEX pallet #479

Merged
merged 87 commits into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from 79 commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
8cf22de
Updated OCEX Pallet
zktony Jun 27, 2022
1abbae0
Merged latest gj-ocex
zktony Jun 27, 2022
682a9b6
fix: allowing test tokens for a few assetids
felixfaisal Jun 30, 2022
1d1a9cf
fix: update asset_id
felixfaisal Jun 30, 2022
2aea215
fix: update extrinsic
felixfaisal Jun 30, 2022
3fc041d
fix: asset
felixfaisal Jun 30, 2022
b1b5084
Merge pull request #453 from Polkadex-Substrate/fx-token-faucet
zktony Jun 30, 2022
2496d5e
fix: token amount
felixfaisal Jun 30, 2022
2092e0c
fix: updating asset amount
felixfaisal Jun 30, 2022
c8c954b
fix: remove unwrap causing panic
felixfaisal Jul 2, 2022
f2b5ac9
Merge branch 'zk-ocex-update' of https://github.com/Polkadex-Substrat…
felixfaisal Jul 2, 2022
69c2f2a
Merge pull request #454 from Polkadex-Substrate/fx-token-faucet
zktony Jul 3, 2022
49ffd3f
Refactor register_enclave
zktony Jul 4, 2022
34dacb4
Merge branch 'zk-ocex-update' of https://github.com/Polkadex-Substrat…
zktony Jul 4, 2022
56a0b13
Saved new chnages
zktony Jul 21, 2022
2404d5b
fix: updated mock environment
felixfaisal Jul 26, 2022
cf71a4e
fix: moved tests to mock
felixfaisal Jul 26, 2022
2394431
add: pallet_timestamp dev deps
felixfaisal Jul 26, 2022
21051df
fix: add tests module
felixfaisal Jul 27, 2022
bba4686
fix: add new test ext function
felixfaisal Jul 27, 2022
76fe979
fix: add dev dependency for testing
felixfaisal Jul 27, 2022
29f3360
add: single test for registering main account
felixfaisal Jul 27, 2022
6a7c40b
fix: add unit tests for extrinsics
felixfaisal Jul 27, 2022
6930f31
fix: add deposit tests
felixfaisal Jul 27, 2022
2a860d8
fix: add tests for open_trading_pair extrinsic
felixfaisal Jul 27, 2022
03e223a
fix: add tests for close_trading_pair extrinsic
felixfaisal Jul 27, 2022
6c4093c
fix: testing collect_fees extrinsic
felixfaisal Jul 27, 2022
eec02b6
fix: add dev deps for MRR tests
felixfaisal Jul 28, 2022
fca289b
fix: add function to calculate MMR for accounts
felixfaisal Jul 28, 2022
ed3984f
fix: add tests for submitting snapshot
felixfaisal Jul 28, 2022
dc318a4
fix: submit_snapshot extrinsic
felixfaisal Jul 28, 2022
e801f09
fix: add tests for register_enclave extrinsic
felixfaisal Jul 29, 2022
d74dfd9
fix: add tests for shutdown
felixfaisal Jul 29, 2022
6b012bc
fix: add event assertion in tests
felixfaisal Aug 1, 2022
0f5fe86
fix: ingress messages assertion in testcases
felixfaisal Aug 2, 2022
1b9329c
fix: add bad origin test for shutdown
felixfaisal Aug 2, 2022
e99d3e6
fix: add bad origin test for withdrawal
felixfaisal Aug 2, 2022
221ea76
fix: add bad origin test for register_enclave
felixfaisal Aug 2, 2022
8ca048a
fix: add bad origin test for submit_snapshot
felixfaisal Aug 2, 2022
4575e5b
fix: add bad origin test for collect_fees
felixfaisal Aug 2, 2022
49e5b8a
fix: bad origin test for close trading pairs
felixfaisal Aug 2, 2022
48db631
fix: bad origin test for open_trading_pair
felixfaisal Aug 2, 2022
21f900c
fix: bad origin test for deposit
felixfaisal Aug 2, 2022
f8410ac
fix: bad origin test for register_trading_pair
felixfaisal Aug 2, 2022
29f8d38
fix: bad origin test for add_proxy_account
felixfaisal Aug 2, 2022
6035f95
fix: bad origin test for register_main_account
felixfaisal Aug 2, 2022
7a5b158
fix: add proxy limit test
felixfaisal Aug 2, 2022
8129e25
fix: add success withdrawal test
felixfaisal Aug 2, 2022
1ac3058
fix: adding withdrawal test with a valid snapshot instance
felixfaisal Aug 3, 2022
5690be2
fix: updating lock file
felixfaisal Aug 17, 2022
0627e4d
Update register_main_account to add proxy account correctly (#484)
Gauthamastro Aug 18, 2022
a29d57c
Integrated council governence
zktony Aug 18, 2022
f008c1e
Changed comment
zktony Aug 18, 2022
6cf3d22
Added concil
zktony Aug 18, 2022
dd8534e
fix: balance assertions
felixfaisal Aug 19, 2022
fa2fdb4
fix: add trailing empty line
felixfaisal Aug 19, 2022
bc20f02
fix: remove unused account_id
felixfaisal Aug 19, 2022
ec9f8da
fix: remove example pallet in mock.rs
felixfaisal Aug 19, 2022
703b5b3
Merge pull request #485 from Polkadex-Substrate/zk-added-governence
zktony Aug 19, 2022
cecc383
Fix Compilation
Gauthamastro Aug 19, 2022
3759b35
Change back the branch
Gauthamastro Aug 19, 2022
4f5761f
Added orderbook council (#487)
zktony Aug 19, 2022
686bc52
Upgrade to polkadot-v0.9.28 (#488)
Gauthamastro Aug 23, 2022
f656c4d
fix: cleanup tests
felixfaisal Aug 23, 2022
cf5c915
fix: remove EnsureOneOf and use EitherOfDiverse
felixfaisal Aug 23, 2022
fa27316
fix: updated withdrawal extrinsic with BoundedBTreeMap
felixfaisal Aug 23, 2022
add4aa0
fix: updated snapshot tests
felixfaisal Aug 23, 2022
24b2359
fix: updated succesfull tests to include BoundedBTreeMap
felixfaisal Aug 23, 2022
26978d5
fix: updated tests for collect_fees
felixfaisal Aug 23, 2022
44b1c92
fix: added sp_io as a dev dependency for testing
felixfaisal Aug 23, 2022
c8f3c2d
fix: assert_ok for enclave empty report
felixfaisal Aug 23, 2022
439a3ef
fix: annotate insert_enclave with #[doc(hidden)]
felixfaisal Aug 23, 2022
9f90a4f
fix: remove comment in cargo.toml
felixfaisal Aug 23, 2022
e699a48
refactor: add trailing empty line
felixfaisal Aug 23, 2022
10a84e5
fix: add Cargo.lock
felixfaisal Aug 23, 2022
31c4f90
fix: resolve conflicts
felixfaisal Aug 23, 2022
c205207
Adds Chainbridge and AssetHandler
Gauthamastro Aug 23, 2022
04dd64c
Adds Chainbridge and AssetHandler
Gauthamastro Aug 23, 2022
a6e823d
Code style fixes
serhii-temchenko Aug 24, 2022
b5f2661
fix: remove accidental comment
felixfaisal Aug 25, 2022
49f83fd
Merge branch 'fx-ocex-testing' of https://github.com/Polkadex-Substra…
felixfaisal Aug 25, 2022
10225bd
fix: update register_enclave test and extrinsic
felixfaisal Aug 25, 2022
a7a4c10
Fix Snapshot Nonce in ocex
Gauthamastro Aug 25, 2022
09259f5
Fix Snapshot Nonce in ocex
Gauthamastro Aug 25, 2022
4a0577a
Fix Snapshot Nonce in ocex
Gauthamastro Aug 25, 2022
8bdb4b9
fix: add rpcs and update tests
felixfaisal Aug 25, 2022
29ea933
Merge branch 'fx-ocex-testing' of https://github.com/Polkadex-Substra…
felixfaisal Aug 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10,250 changes: 0 additions & 10,250 deletions Cargo.lock

This file was deleted.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ members = [


[patch."https://github.com/open-web3-stack/open-runtime-module-library.git"]
orml-vesting = { git = "https://github.com/Polkadex-Substrate/open-runtime-module-library.git", branch="polkadot-v0.9.19"}
orml-vesting = { git = "https://github.com/Polkadex-Substrate/open-runtime-module-library.git", branch="polkadot-v0.9.28"}

55 changes: 0 additions & 55 deletions client/thea/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion client/thea/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions client/thea/build.rs

This file was deleted.

20 changes: 0 additions & 20 deletions client/thea/rpc/Cargo.toml

This file was deleted.

61 changes: 0 additions & 61 deletions client/thea/rpc/src/lib.rs

This file was deleted.

148 changes: 0 additions & 148 deletions client/thea/src/error.rs

This file was deleted.