From 6bb02ddb0364c1a2bffb9cb30d9684b8fb8f49da Mon Sep 17 00:00:00 2001 From: Franco Victorio Date: Sun, 3 Mar 2024 17:20:35 +0100 Subject: [PATCH] Update Hardhat version error message --- src/index.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/index.ts b/src/index.ts index 3092227..8356e56 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,16 +7,13 @@ try { ERROR -Please upgrade your hardhat version to 2.11 or above. -This error is generated by plugin "hardhat-tracer" because it is -dependent on some features available in hardhat >=2.11.0 <3.0.0. +This version of "hardhat-tracer" only works with versions of +Hardhat previous to 2.21.0. -npm i hardhat@latest - -or - -yarn add hardhat@latest +A new version compatible with the latest Hardhat will be released soon. +In the meantime, downgrade Hardhat to 2.20.1, or remove "hardhat-tracer" +from your Hardhat config. ` ); process.exit(1);