From 4803bad686ca2564df77b55562f1a77ca1639eeb Mon Sep 17 00:00:00 2001 From: Mannan Goyal Date: Wed, 25 Jun 2025 15:01:07 +0530 Subject: [PATCH 1/2] fix: description for unset-code --- cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/main.go b/cmd/main.go index f5306e5..e43cb9c 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -101,7 +101,7 @@ func main() { { Name: "unset-code", Usage: "Unset code for the contract", - Description: "Remove the contract code (for emergency situations only)", + Description: "Revoke the contract code functionality from the EOA", Flags: []cli.Flag{ &cli.StringFlag{ Name: "config", From 58c24281d3f5bc8aeb644239ca27f7914bde80f2 Mon Sep 17 00:00:00 2001 From: nish20541 <80737754+nish20541@users.noreply.github.com> Date: Wed, 25 Jun 2025 15:02:29 +0530 Subject: [PATCH 2/2] Update README.md Change unset-delegation to unset-code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 18869d7..ebf0d92 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ The CLI requires the Pectra batch contract's ABI. Place the `abi.json` file in t To unset delegation for a validator, run: ```bash -./pectra-cli unset-delegation -c config.json +./pectra-cli unset-code -c config.json ``` ## Usage