From 7e46547310261e9cdaf17f8f4b1fc8d72f4d3379 Mon Sep 17 00:00:00 2001 From: LeoSagan Date: Tue, 17 Sep 2024 15:07:06 -0400 Subject: [PATCH] Adds calldata decoding task --- package-lock.json | 3 +++ package.json | 3 +++ packages/ethernaut-util/README.md | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 6f8c80c..c4915e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,9 @@ "workspaces": [ "packages/*" ], + "dependencies": { + "ethernaut-util": "^1.1.11" + }, "devDependencies": { "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", diff --git a/package.json b/package.json index 81f9aed..31c278a 100644 --- a/package.json +++ b/package.json @@ -23,5 +23,8 @@ "lerna": "^8.1.2", "lint-staged": "^15.2.2", "prettier": "^3.2.5" + }, + "dependencies": { + "ethernaut-util": "^1.1.11" } } diff --git a/packages/ethernaut-util/README.md b/packages/ethernaut-util/README.md index 42cc35b..2411c1c 100644 --- a/packages/ethernaut-util/README.md +++ b/packages/ethernaut-util/README.md @@ -41,7 +41,7 @@ This plugin adds the tasks listed below. - unit Converts between different units of Ether - gas Fetch gas info on the current network - chain Finds a network name from a chain ID, or vice versa -- hex Converts integers to hex +- calldata Decodes calldata from a transaction id ## Environment extensions