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:
parent
76f1af4e61
commit
ba3e028587
|
|
@ -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(),
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue