From da8c8e5e61418a8c1f549e08e10da4d7adef6623 Mon Sep 17 00:00:00 2001 From: benesjan Date: Thu, 31 Aug 2023 16:44:36 +0000 Subject: [PATCH] fix --- yarn-project/canary/README.md | 2 +- yarn-project/end-to-end/src/e2e_cli.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn-project/canary/README.md b/yarn-project/canary/README.md index 035272f6777d..3ff4851a9ec1 100644 --- a/yarn-project/canary/README.md +++ b/yarn-project/canary/README.md @@ -10,6 +10,6 @@ To build and execute the test: `export FORK_BLOCK_NUMBER=17514288` `export FORK_URL='https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c'` -`docker build --build-arg COMMIT_TAG= .` +`docker build --build-arg COMMIT_TAG= .` `cd ./scripts` `docker-compose up` diff --git a/yarn-project/end-to-end/src/e2e_cli.test.ts b/yarn-project/end-to-end/src/e2e_cli.test.ts index 5b9a1c28b99b..3ad0678572b7 100644 --- a/yarn-project/end-to-end/src/e2e_cli.test.ts +++ b/yarn-project/end-to-end/src/e2e_cli.test.ts @@ -117,11 +117,11 @@ describe('cli', () => { expect(fetchedAddress).toEqual(newCompleteAddress.publicKey.toString()); }); - it.only('deploys a contract & sends transactions', async () => { + it('deploys a contract & sends transactions', async () => { // generate a private key debug('Create an account using a private key'); await run('generate-private-key', false); - const privKey = findInLogs(/Private\sKey:\s+(?[a-fA-F0-9]+)/)?.groups?.privKey; + const privKey = findInLogs(/Private\sKey:\s0x+(?[a-fA-F0-9]+)/)?.groups?.privKey; expect(privKey).toHaveLength(64); await run(`create-account --private-key ${privKey}`); const foundAddress = findInLogs(/Address:\s+(?
0x[a-fA-F0-9]+)/)?.groups?.address;