From 48d6f6af9257ca9cd87101de91c2b9ecddbcce67 Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Wed, 2 Feb 2022 19:12:43 -0600 Subject: [PATCH] Use more recent FORK_BLOCK to reenable ganache (#14) Fixes #7, not by fixing the bug in Ganache, but rather by working around it, per the suggestion at https://twitter.com/atdavidmurdoch/status/1487125565425520645?t=3VKAXE2pKS2tBI3ZYJpw0Q&s=03 --- .env.example | 2 +- Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 8012227..1d20c34 100644 --- a/.env.example +++ b/.env.example @@ -14,5 +14,5 @@ export CLEAR_CACHE=0 export TS_NODE_TRANSPILE_ONLY=1 # Simulation parameters -export FORK_BLOCK=13724056 +export FORK_BLOCK=14121827 export GAS_LIMIT=30000000 diff --git a/Dockerfile b/Dockerfile index 52b652f..5ca525f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,7 +78,6 @@ COPY --chown=user:user . . RUN make benchmark-foundry RUN make benchmark-hardhat RUN make benchmark-dapptools -# TODO: Benchmark ganache too, once it's fixed. -# (See https://github.com/mds1/convex-shutdown-simulation/pull/4) +RUN make benchmark-ganache ENTRYPOINT ["make"]