Skip to content

Commit

Permalink
test: fixed test after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Aug 23, 2023
1 parent 1465440 commit ca19401
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions yarn-project/end-to-end/src/e2e_sandbox_example.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
createAztecRpcClient,
createDebugLogger,
getSchnorrAccount,
mustSucceedFetch,
makeFetch,
} from '@aztec/aztec.js';
// docs:end:imports

Expand All @@ -35,7 +35,9 @@ describe('e2e_sandbox_example', () => {
const logger = createDebugLogger('private-token');
const sandboxUrl = 'http://localhost:8080';

const aztecRpc = createAztecRpcClient(sandboxUrl, mustSucceedFetch);
// We create AztecRPC client connected to the sandbox URL and we use fetch with 3 automatic retries and a 1s, 2s
// and 3s intervals between failures
const aztecRpc = createAztecRpcClient(sandboxUrl, makeFetch([1, 2, 3], false));

const nodeInfo = await aztecRpc.getNodeInfo();

Expand Down

0 comments on commit ca19401

Please sign in to comment.