From 8c77cfb291b26b93e0aedd3f893baa383b6a9128 Mon Sep 17 00:00:00 2001 From: vishal <1117327+vishalchangrani@users.noreply.github.com> Date: Thu, 4 Jun 2026 15:49:30 -0400 Subject: [PATCH] remove node ID 6944b7968594f277c4c051d83ced4bab6ed87ed992d831f31ffb6a7b5926e298 --- .../2026/June-4/README.md | 28 +++++++++++++++++++ .../2026/June-4/arguments.json | 11 ++++++++ .../2026/June-4/get_approved_nodes.cdc | 10 +++++++ 3 files changed, 49 insertions(+) create mode 100644 transactions/remove-approved-nodes/2026/June-4/README.md create mode 100644 transactions/remove-approved-nodes/2026/June-4/arguments.json create mode 100644 transactions/remove-approved-nodes/2026/June-4/get_approved_nodes.cdc diff --git a/transactions/remove-approved-nodes/2026/June-4/README.md b/transactions/remove-approved-nodes/2026/June-4/README.md new file mode 100644 index 00000000..40cc98e6 --- /dev/null +++ b/transactions/remove-approved-nodes/2026/June-4/README.md @@ -0,0 +1,28 @@ +# Remove node from the Approved Node Operators ID List + +> June 4th, 2026 + +Transaction: [remove_approved_nodes.cdc](../../../../templates/remove_approved_nodes.cdc) + +## Results + + + +## Verification + +### Before Transaction: + +``` +$ flow scripts execute get_approved_nodes.cdc -n mainnet -o json | jq '.value[] | select(.value=="6944b7968594f277c4c051d83ced4bab6ed87ed992d831f31ffb6a7b5926e298")' +{ +"value": "6944b7968594f277c4c051d83ced4bab6ed87ed992d831f31ffb6a7b5926e298", +"type": "String" +} +``` + +### After Transaction + +```shell +$ flow scripts execute get_approved_nodes.cdc -n mainnet -o json | jq '.value[] | select(.value=="3c6519ba8be35e338df7273a895ad3abaeb0c232eb908ee7b05462018c112fe1")' + +``` \ No newline at end of file diff --git a/transactions/remove-approved-nodes/2026/June-4/arguments.json b/transactions/remove-approved-nodes/2026/June-4/arguments.json new file mode 100644 index 00000000..bea7bd56 --- /dev/null +++ b/transactions/remove-approved-nodes/2026/June-4/arguments.json @@ -0,0 +1,11 @@ +[ + { + "type": "Array", + "value": [ + { + "type": "String", + "value": "6944b7968594f277c4c051d83ced4bab6ed87ed992d831f31ffb6a7b5926e298" + } + ] + } +] diff --git a/transactions/remove-approved-nodes/2026/June-4/get_approved_nodes.cdc b/transactions/remove-approved-nodes/2026/June-4/get_approved_nodes.cdc new file mode 100644 index 00000000..a60e4e0f --- /dev/null +++ b/transactions/remove-approved-nodes/2026/June-4/get_approved_nodes.cdc @@ -0,0 +1,10 @@ +import "FlowIDTableStaking" + +// This script returns the current approved list + +access(all) fun main(): [String] { + let approveList = FlowIDTableStaking.getApprovedList() + ?? panic("Could not read approved list from storage") + + return approveList.keys +} \ No newline at end of file