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

add morph #33

Merged
merged 4 commits into from
Oct 23, 2024
Merged

add morph #33

merged 4 commits into from
Oct 23, 2024

Conversation

xiaoch05
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Oct 23, 2024

Jest Test Errored Report

FAIL tests/generatedconfig.test.ts (7.042 s)
  ● helix chain couples check -> arbitrum <lnv3> ETH>ETH › target chain should be configured

    expect(received).not.toBe(expected) // Object.is equality

    Expected: not -1

      102 |
      103 |   test("target chain should be configured", () => {
    > 104 |     expect(TestSource.chains().findIndex((c) => c.code === couple.chain.code)).not.toBe(-1);
          |                                                                                    ^
      105 |   });
      106 |
      107 |   test("target chain should not be configured as the source chain", () => {

      at Object.<anonymous> (tests/generatedconfig.test.ts:104:84)

FAIL tests/online.couples.test.ts (15.929 s)
  ● helix chain couples check -> [arbitrum->morph]: ETH->ETH <lnv3> › test bridge messager service > [arbitrum->morph]: ETH->ETH (lnv3)

    expect(received).toBe(expected) // Object.is equality

    Expected: "0x0000000000000000000000000000000000000000"
    Received: "0x65be094765731f394bc6d9df53bdf3376f1fc8b0"

      32 |
      33 |       // if protocol is lnv2-default please compare with pm.sendService
    > 34 |       expect(couple.messager.address!.toLowerCase()).toBe(pm!.receiveService.toLowerCase());
         |                                                      ^
      35 |
      36 |       const mrm = await base.messagerRemoteMessager(couple);
      37 |       const tc = await base.targetCouple(couple);

      at Object.<anonymous> (tests/online.couples.test.ts:34:54)

  ● helix chain couples check -> [arbitrum->morph]: ETH->ETH <lnv3> › test lnv3 token registerd > [arbitrum->morph]: ETH->ETH (lnv3)

    expect(received).toBe(expected) // Object.is equality

    Expected: "0"
    Received: "18"

      57 |
      58 |       expect(ptr).toBeTruthy();
    > 59 |       expect(sourceToken.decimals.toString()).toBe(ptr!.sourceDecimals.toString());
         |                                               ^
      60 |       expect(targetToken.decimals.toString()).toBe(ptr!.targetDecimals.toString());
      61 |       expect(couple.fee.toString()).toBe(ptr!.protocolFee.toString());
      62 |       expect(ptr!.buildTokenKey).toBe(ptr!.indexToTokenKey);

      at Object.<anonymous> (tests/online.couples.test.ts:59:47)

PASS tests/online.tokens.test.ts (16.006 s)
PASS tests/online.chains.test.ts (8.965 s)

Test Suites: 2 failed, 2 passed, 4 total
Tests:       3 failed, 2696 passed, 2699 total
Snapshots:   0 total
Time:        16.472 s
Ran all test suites.

@xiaoch05 xiaoch05 merged commit 49f6cc7 into main Oct 23, 2024
1 check failed
@xiaoch05 xiaoch05 deleted the xiaoch05-add-morph branch October 23, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant