From ba3e02858796de4d988ce8b8a39eca98bf041f71 Mon Sep 17 00:00:00 2001 From: Tutus Development Date: Mon, 22 Dec 2025 11:19:05 -0500 Subject: [PATCH] Fix NEP11 transfer indices for block shift MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update NEP11 transfer Index values in server_test.go to account for .one TLD registration block added at index 14: - 21 → 22 (NFSO transfer block) - 18 → 19 (NFSO mint block) - 14 → 15 (NNS register block) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- pkg/services/rpcsrv/server_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/services/rpcsrv/server_test.go b/pkg/services/rpcsrv/server_test.go index 0b12a5d..5dc703f 100644 --- a/pkg/services/rpcsrv/server_test.go +++ b/pkg/services/rpcsrv/server_test.go @@ -3914,7 +3914,7 @@ func checkNep11TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int ID: nfsoToken1ID, Address: testchain.PrivateKeyByID(1).Address(), // from priv1 Amount: "5", - Index: 21, + Index: 22, TxHash: txReceiveNFSO.Hash(), }, { @@ -3923,7 +3923,7 @@ func checkNep11TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int ID: nfsoToken1ID, Address: "", // minting Amount: "100", - Index: 18, + Index: 19, TxHash: txMintNFSO.Hash(), }, { @@ -3932,7 +3932,7 @@ func checkNep11TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int ID: nnsToken1ID, Address: "", // minting Amount: "1", - Index: 14, + Index: 15, TxHash: txRegisterNSRecordA.Hash(), }, },