Skip to content

Commit

Permalink
fix and switch endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan committed Oct 8, 2024
1 parent 0a81afd commit 73e70e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: nick-fields/retry@v2
with:
timeout_minutes: 30
max_attempts: 3
max_attempts: 1
command: yarn workspace @acala-network/${{ matrix.project }} run test:coverage

- name: save coverage reports
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
uses: nick-fields/retry@v2
with:
timeout_minutes: 30
max_attempts: 3
max_attempts: 1
command: cd e2e-tests/${{ matrix.project }} && yarn test:acalaFork

- name: stop coverage server and generate coverage report
Expand Down
2 changes: 1 addition & 1 deletion chopsticks/configs/acala.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
endpoint: wss://acala-rpc.aca-api.network
endpoint: wss://acala-rpc.dwellir.com
mock-signature-host: true
runtime-log-level: 5
block: 7000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ describe('finalized/safe/pending blocktag', () => {
const resF = (await eth_getTransactionCount([wallet.address, 'finalized'])).data.result;
const resS = (await eth_getTransactionCount([wallet.address, 'safe'])).data.result;

await deployErc20(wallet, false);
const token = await deployErc20(wallet, false);
const resP = (await eth_getTransactionCount([wallet.address, 'pending'])).data.result;

expect(res).to.equal(resF);
expect(res).to.equal(resS);
expect(Number(res)).to.equal(Number(resP) - 1); // pending should have +1 nonce

await token.deployed(); // wait for deployment in case it affects next tests
});

it('eth_getBalance', async () => {
Expand Down

0 comments on commit 73e70e5

Please sign in to comment.