Skip to content

Commit

Permalink
p-569 Remove parachain events listening from ts-tests (#2556)
Browse files Browse the repository at this point in the history
* remove ii tests

* Clean up event listeners in ts-tests.

* Correct the import error.

* fix assert path

* fix sidechain nonce update issue

* delete ii tests

* fmt

* fix merge issue

* fmt
  • Loading branch information
0xverin committed Mar 12, 2024
1 parent eeff000 commit c075eb1
Show file tree
Hide file tree
Showing 22 changed files with 42 additions and 1,417 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -682,15 +682,12 @@ jobs:
matrix:
include:
# Litentry
- test_name: lit-ii-vc-test
- test_name: lit-ii-identity-test
- test_name: lit-di-substrate-identity-test
- test_name: lit-di-evm-identity-test
- test_name: lit-di-bitcoin-identity-test
- test_name: lit-di-vc-test
- test_name: lit-dr-vc-test
- test_name: lit-parentchain-nonce
- test_name: lit-ii-batch-test
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -771,9 +768,6 @@ jobs:
- test_name: lit-di-substrate-identity-multiworker-test
- test_name: lit-di-vc-multiworker-test
- test_name: lit-dr-vc-multiworker-test
- test_name: lit-ii-batch-test-multiworker
- test_name: lit-ii-identity-multiworker-test
- test_name: lit-ii-vc-multiworker-test
- test_name: lit-resume-worker
steps:
- uses: actions/checkout@v4
Expand Down
24 changes: 0 additions & 24 deletions bitacross-worker/docker/lit-ii-batch-test.yml

This file was deleted.

28 changes: 0 additions & 28 deletions tee-worker/docker/lit-ii-batch-test-multiworker.yml

This file was deleted.

24 changes: 0 additions & 24 deletions tee-worker/docker/lit-ii-batch-test.yml

This file was deleted.

28 changes: 0 additions & 28 deletions tee-worker/docker/lit-ii-identity-multiworker-test.yml

This file was deleted.

24 changes: 0 additions & 24 deletions tee-worker/docker/lit-ii-identity-test.yml

This file was deleted.

28 changes: 0 additions & 28 deletions tee-worker/docker/lit-ii-vc-multiworker-test.yml

This file was deleted.

24 changes: 0 additions & 24 deletions tee-worker/docker/lit-ii-vc-test.yml

This file was deleted.

2 changes: 2 additions & 0 deletions tee-worker/ts-tests/integration-tests/common/di-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ export const getSidechainNonce = async (
teeShieldingKey: KeyObject,
primeIdentity: CorePrimitivesIdentity
): Promise<Index> => {
// wait for the nonce to be updated in sidechain
await sleep(5);
const getterPublic = createPublicGetter(context.api, ['nonce', '(LitentryIdentity)'], primeIdentity.toHuman());
const getter = context.api.createType('Getter', { public: getterPublic });
const res = await sendRequestFromGetter(context, teeShieldingKey, getter);
Expand Down

0 comments on commit c075eb1

Please sign in to comment.