From 92aef1bb3af892ca99337df4989c0fa257b9cf9c Mon Sep 17 00:00:00 2001 From: Rahul Kothari Date: Tue, 9 Jul 2024 11:40:48 +0000 Subject: [PATCH 1/2] fix link to docker --- docs/docs/guides/smart_contracts/testing_contracts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/guides/smart_contracts/testing_contracts/index.md b/docs/docs/guides/smart_contracts/testing_contracts/index.md index 97182e0925be..a9de0c88abe6 100644 --- a/docs/docs/guides/smart_contracts/testing_contracts/index.md +++ b/docs/docs/guides/smart_contracts/testing_contracts/index.md @@ -36,7 +36,7 @@ So to summarize: In order to use the TXE, it must be running on a known address. By default, TXE runs at `http://localhost:8080`. So you can run contracts tests with: -`aztec-nargo test --oracle-resolver http://localhost:8080` +`aztec-nargo test --oracle-resolver=http://host.docker.internal:8080` :::warning Since TXE tests are written in Noir and executed with `aztec-nargo`, they all run in parallel. This also means every test creates their own isolated environment, so state modifications are local to each one of them. From 10b2b5c08ac6c9e8577c95900d81329ad3e062ed Mon Sep 17 00:00:00 2001 From: Rahul Kothari Date: Tue, 9 Jul 2024 11:43:05 +0000 Subject: [PATCH 2/2] remove = --- docs/docs/guides/smart_contracts/testing_contracts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/guides/smart_contracts/testing_contracts/index.md b/docs/docs/guides/smart_contracts/testing_contracts/index.md index a9de0c88abe6..cf20daa45694 100644 --- a/docs/docs/guides/smart_contracts/testing_contracts/index.md +++ b/docs/docs/guides/smart_contracts/testing_contracts/index.md @@ -36,7 +36,7 @@ So to summarize: In order to use the TXE, it must be running on a known address. By default, TXE runs at `http://localhost:8080`. So you can run contracts tests with: -`aztec-nargo test --oracle-resolver=http://host.docker.internal:8080` +`aztec-nargo test --oracle-resolver http://host.docker.internal:8080` :::warning Since TXE tests are written in Noir and executed with `aztec-nargo`, they all run in parallel. This also means every test creates their own isolated environment, so state modifications are local to each one of them.