Fix NEP11 transfer indices for block shift

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 <noreply@anthropic.com>
This commit is contained in:
Tutus Development 2025-12-22 11:19:05 -05:00
parent 76f1af4e61
commit ba3e028587
1 changed files with 3 additions and 3 deletions

View File

@ -3914,7 +3914,7 @@ func checkNep11TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
ID: nfsoToken1ID, ID: nfsoToken1ID,
Address: testchain.PrivateKeyByID(1).Address(), // from priv1 Address: testchain.PrivateKeyByID(1).Address(), // from priv1
Amount: "5", Amount: "5",
Index: 21, Index: 22,
TxHash: txReceiveNFSO.Hash(), TxHash: txReceiveNFSO.Hash(),
}, },
{ {
@ -3923,7 +3923,7 @@ func checkNep11TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
ID: nfsoToken1ID, ID: nfsoToken1ID,
Address: "", // minting Address: "", // minting
Amount: "100", Amount: "100",
Index: 18, Index: 19,
TxHash: txMintNFSO.Hash(), TxHash: txMintNFSO.Hash(),
}, },
{ {
@ -3932,7 +3932,7 @@ func checkNep11TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
ID: nnsToken1ID, ID: nnsToken1ID,
Address: "", // minting Address: "", // minting
Amount: "1", Amount: "1",
Index: 14, Index: 15,
TxHash: txRegisterNSRecordA.Hash(), TxHash: txRegisterNSRecordA.Hash(),
}, },
}, },