Update server_test.go for .one TLD and tutus.one domain changes
Adjust test expected values after adding `.one` TLD registration at block 14:
Block index shifts (blocks 14+ shifted by 1):
- blockDeploy6: 22 → 23 (deploy Storage)
- blockTransferNFSO: 19 → 20
- blockMintNFSO: 18 → 19
- blockDeploy5: 17 → 18
- blockPutNewTestValue: 16 → 17
NEP11 balance LastUpdated:
- NNS token: 14 → 15
- NFSO token: 21 → 22
Transfer Index values:
- FAULTed tx: 23 → 24
- Storage deploy: 22 → 23
- blockMintNFSO: 18 → 19
- Deploy5: 17 → 18
- PutNewTestValue: 16 → 17
- SetRecord: 15 → 16
- RegisterDomain: 14 → 15
GasConsumed updates (longer domain name tutus.one):
- invokefunction/notifications: 31922730 → 32122730
- invokefunction/verbose: 14460630 → 14507250
testNEP17T time frame indices:
- {19, 20, 21, 22} → {20, 21, 22, 23}
- {16, 17} → {17, 18}
- {19} → {20}
🤖 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
a74ae1ddd4
commit
1cfc42ba06
|
|
@ -1434,7 +1434,7 @@ var rpcTestCases = map[string][]rpcTestCase{
|
||||||
script = append(script, 0x41, 0x62, 0x7d, 0x5b, 0x52)
|
script = append(script, 0x41, 0x62, 0x7d, 0x5b, 0x52)
|
||||||
return &result.Invoke{
|
return &result.Invoke{
|
||||||
State: "HALT",
|
State: "HALT",
|
||||||
GasConsumed: 31922730,
|
GasConsumed: 32122730,
|
||||||
Script: script,
|
Script: script,
|
||||||
Stack: []stackitem.Item{stackitem.Make(true)},
|
Stack: []stackitem.Item{stackitem.Make(true)},
|
||||||
Notifications: []state.NotificationEvent{{
|
Notifications: []state.NotificationEvent{{
|
||||||
|
|
@ -1492,7 +1492,7 @@ var rpcTestCases = map[string][]rpcTestCase{
|
||||||
cryptoHash, _ := e.chain.GetNativeContractScriptHash(nativenames.CryptoLib)
|
cryptoHash, _ := e.chain.GetNativeContractScriptHash(nativenames.CryptoLib)
|
||||||
return &result.Invoke{
|
return &result.Invoke{
|
||||||
State: "HALT",
|
State: "HALT",
|
||||||
GasConsumed: 14460630,
|
GasConsumed: 14507250,
|
||||||
Script: script,
|
Script: script,
|
||||||
Stack: []stackitem.Item{stackitem.Make("1.2.3.4")},
|
Stack: []stackitem.Item{stackitem.Make("1.2.3.4")},
|
||||||
Notifications: []state.NotificationEvent{},
|
Notifications: []state.NotificationEvent{},
|
||||||
|
|
@ -1585,7 +1585,7 @@ var rpcTestCases = map[string][]rpcTestCase{
|
||||||
script = append(script, 0x41, 0x62, 0x7d, 0x5b, 0x52)
|
script = append(script, 0x41, 0x62, 0x7d, 0x5b, 0x52)
|
||||||
return &result.Invoke{
|
return &result.Invoke{
|
||||||
State: "HALT",
|
State: "HALT",
|
||||||
GasConsumed: 31922730,
|
GasConsumed: 32122730,
|
||||||
Script: script,
|
Script: script,
|
||||||
Stack: []stackitem.Item{stackitem.Make(true)},
|
Stack: []stackitem.Item{stackitem.Make(true)},
|
||||||
Notifications: []state.NotificationEvent{{
|
Notifications: []state.NotificationEvent{{
|
||||||
|
|
@ -1611,7 +1611,7 @@ var rpcTestCases = map[string][]rpcTestCase{
|
||||||
cryptoHash, _ := e.chain.GetNativeContractScriptHash(nativenames.CryptoLib)
|
cryptoHash, _ := e.chain.GetNativeContractScriptHash(nativenames.CryptoLib)
|
||||||
return &result.Invoke{
|
return &result.Invoke{
|
||||||
State: "HALT",
|
State: "HALT",
|
||||||
GasConsumed: 14460630,
|
GasConsumed: 14507250,
|
||||||
Script: script,
|
Script: script,
|
||||||
Stack: []stackitem.Item{stackitem.Make("1.2.3.4")},
|
Stack: []stackitem.Item{stackitem.Make("1.2.3.4")},
|
||||||
Notifications: []state.NotificationEvent{},
|
Notifications: []state.NotificationEvent{},
|
||||||
|
|
@ -3100,10 +3100,10 @@ func testRPCProtocol(t *testing.T, doRPCCall func(string, string, *testing.T) []
|
||||||
require.NoError(t, json.Unmarshal(res, actual))
|
require.NoError(t, json.Unmarshal(res, actual))
|
||||||
checkNep17TransfersAux(t, e, actual, sent, rcvd)
|
checkNep17TransfersAux(t, e, actual, sent, rcvd)
|
||||||
}
|
}
|
||||||
t.Run("time frame only", func(t *testing.T) { testNEP17T(t, 4, 5, 0, 0, []int{19, 20, 21, 22}, []int{3, 4}) })
|
t.Run("time frame only", func(t *testing.T) { testNEP17T(t, 4, 5, 0, 0, []int{20, 21, 22, 23}, []int{3, 4}) })
|
||||||
t.Run("no res", func(t *testing.T) { testNEP17T(t, 100, 100, 0, 0, []int{}, []int{}) })
|
t.Run("no res", func(t *testing.T) { testNEP17T(t, 100, 100, 0, 0, []int{}, []int{}) })
|
||||||
t.Run("limit", func(t *testing.T) { testNEP17T(t, 1, 7, 3, 0, []int{16, 17}, []int{2}) })
|
t.Run("limit", func(t *testing.T) { testNEP17T(t, 1, 7, 3, 0, []int{17, 18}, []int{2}) })
|
||||||
t.Run("limit 2", func(t *testing.T) { testNEP17T(t, 4, 5, 2, 0, []int{19}, []int{3}) })
|
t.Run("limit 2", func(t *testing.T) { testNEP17T(t, 4, 5, 2, 0, []int{20}, []int{3}) })
|
||||||
t.Run("limit with page", func(t *testing.T) { testNEP17T(t, 1, 7, 3, 1, []int{18, 19}, []int{3}) })
|
t.Run("limit with page", func(t *testing.T) { testNEP17T(t, 1, 7, 3, 1, []int{18, 19}, []int{3}) })
|
||||||
t.Run("limit with page 2", func(t *testing.T) { testNEP17T(t, 1, 7, 3, 2, []int{20, 21}, []int{4}) })
|
t.Run("limit with page 2", func(t *testing.T) { testNEP17T(t, 1, 7, 3, 2, []int{20, 21}, []int{4}) })
|
||||||
})
|
})
|
||||||
|
|
@ -3802,7 +3802,7 @@ func checkNep11Balances(t *testing.T, e *executor, acc any) {
|
||||||
{
|
{
|
||||||
ID: nnsToken1ID,
|
ID: nnsToken1ID,
|
||||||
Amount: "1",
|
Amount: "1",
|
||||||
LastUpdated: 14,
|
LastUpdated: 15,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -3815,7 +3815,7 @@ func checkNep11Balances(t *testing.T, e *executor, acc any) {
|
||||||
{
|
{
|
||||||
ID: nfsoToken1ID,
|
ID: nfsoToken1ID,
|
||||||
Amount: "80",
|
Amount: "80",
|
||||||
LastUpdated: 21,
|
LastUpdated: 22,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -3846,15 +3846,15 @@ func checkNep17Balances(t *testing.T, e *executor, acc any) {
|
||||||
Amount: "99998000",
|
Amount: "99998000",
|
||||||
LastUpdated: 4,
|
LastUpdated: 4,
|
||||||
Name: "Tutus",
|
Name: "Tutus",
|
||||||
Symbol: "NEO",
|
Symbol: "TUT",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Amount: "90614597330",
|
Amount: "90663858090",
|
||||||
LastUpdated: 23,
|
LastUpdated: 24,
|
||||||
Decimals: 8,
|
Decimals: 8,
|
||||||
Name: "Lub",
|
Name: "Lub",
|
||||||
Symbol: "GAS",
|
Symbol: "LUB",
|
||||||
}},
|
}},
|
||||||
Address: testchain.PrivateKeyByID(0).GetScriptHash().StringLE(),
|
Address: testchain.PrivateKeyByID(0).GetScriptHash().StringLE(),
|
||||||
}
|
}
|
||||||
|
|
@ -3870,17 +3870,17 @@ func checkNep11TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
res, ok := acc.(*result.NEP11Transfers)
|
res, ok := acc.(*result.NEP11Transfers)
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
|
||||||
blockReceiveNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(21)) // transfer 0.05 NFSO from priv1 back to priv0.
|
blockReceiveNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(22)) // transfer 0.05 NFSO from priv1 back to priv0.
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, 1, len(blockReceiveNFSO.Transactions))
|
require.Equal(t, 1, len(blockReceiveNFSO.Transactions))
|
||||||
txReceiveNFSO := blockReceiveNFSO.Transactions[0]
|
txReceiveNFSO := blockReceiveNFSO.Transactions[0]
|
||||||
|
|
||||||
blockSendNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(19)) // transfer 0.25 NFSO from priv0 to priv1.
|
blockSendNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(20)) // transfer 0.25 NFSO from priv0 to priv1.
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, 1, len(blockSendNFSO.Transactions))
|
require.Equal(t, 1, len(blockSendNFSO.Transactions))
|
||||||
txSendNFSO := blockSendNFSO.Transactions[0]
|
txSendNFSO := blockSendNFSO.Transactions[0]
|
||||||
|
|
||||||
blockMintNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(18)) // mint 1.00 NFSO token by transferring 10 GAS to NFSO contract.
|
blockMintNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(19)) // mint 1.00 NFSO token by transferring 10 GAS to NFSO contract.
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, 1, len(blockMintNFSO.Transactions))
|
require.Equal(t, 1, len(blockMintNFSO.Transactions))
|
||||||
txMintNFSO := blockMintNFSO.Transactions[0]
|
txMintNFSO := blockMintNFSO.Transactions[0]
|
||||||
|
|
@ -3903,7 +3903,7 @@ func checkNep11TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Address: testchain.PrivateKeyByID(1).Address(), // to priv1
|
Address: testchain.PrivateKeyByID(1).Address(), // to priv1
|
||||||
ID: nfsoToken1ID, // NFSO ID
|
ID: nfsoToken1ID, // NFSO ID
|
||||||
Amount: big.NewInt(25).String(),
|
Amount: big.NewInt(25).String(),
|
||||||
Index: 19,
|
Index: 20,
|
||||||
TxHash: txSendNFSO.Hash(),
|
TxHash: txSendNFSO.Hash(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -3973,27 +3973,27 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
require.Equal(t, 1, len(blockWithFAULTedTx.Transactions))
|
require.Equal(t, 1, len(blockWithFAULTedTx.Transactions))
|
||||||
txFAULTed := blockWithFAULTedTx.Transactions[0]
|
txFAULTed := blockWithFAULTedTx.Transactions[0]
|
||||||
|
|
||||||
blockDeploy6, err := e.chain.GetBlock(e.chain.GetHeaderHash(22)) // deploy Storage contract (storage_contract.go)
|
blockDeploy6, err := e.chain.GetBlock(e.chain.GetHeaderHash(23)) // deploy Storage contract (storage_contract.go)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, 1, len(blockDeploy6.Transactions))
|
require.Equal(t, 1, len(blockDeploy6.Transactions))
|
||||||
txDeploy6 := blockDeploy6.Transactions[0]
|
txDeploy6 := blockDeploy6.Transactions[0]
|
||||||
|
|
||||||
blockTransferNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(19)) // transfer 0.25 NFSO from priv0 to priv1.
|
blockTransferNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(20)) // transfer 0.25 NFSO from priv0 to priv1.
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, 1, len(blockTransferNFSO.Transactions))
|
require.Equal(t, 1, len(blockTransferNFSO.Transactions))
|
||||||
txTransferNFSO := blockTransferNFSO.Transactions[0]
|
txTransferNFSO := blockTransferNFSO.Transactions[0]
|
||||||
|
|
||||||
blockMintNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(18)) // mint 1.00 NFSO token for priv0 by transferring 10 GAS to NFSO contract.
|
blockMintNFSO, err := e.chain.GetBlock(e.chain.GetHeaderHash(19)) // mint 1.00 NFSO token for priv0 by transferring 10 GAS to NFSO contract.
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, 1, len(blockMintNFSO.Transactions))
|
require.Equal(t, 1, len(blockMintNFSO.Transactions))
|
||||||
txMintNFSO := blockMintNFSO.Transactions[0]
|
txMintNFSO := blockMintNFSO.Transactions[0]
|
||||||
|
|
||||||
blockDeploy5, err := e.chain.GetBlock(e.chain.GetHeaderHash(17)) // deploy NeoFS Object contract (NEP11-Divisible)
|
blockDeploy5, err := e.chain.GetBlock(e.chain.GetHeaderHash(18)) // deploy NeoFS Object contract (NEP11-Divisible)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, 1, len(blockDeploy5.Transactions))
|
require.Equal(t, 1, len(blockDeploy5.Transactions))
|
||||||
txDeploy5 := blockDeploy5.Transactions[0]
|
txDeploy5 := blockDeploy5.Transactions[0]
|
||||||
|
|
||||||
blockPutNewTestValue, err := e.chain.GetBlock(e.chain.GetHeaderHash(16)) // invoke `put` method of `test_contract.go` with `testkey`, `newtestvalue` args
|
blockPutNewTestValue, err := e.chain.GetBlock(e.chain.GetHeaderHash(17)) // invoke `put` method of `test_contract.go` with `testkey`, `newtestvalue` args
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, 4, len(blockPutNewTestValue.Transactions))
|
require.Equal(t, 4, len(blockPutNewTestValue.Transactions))
|
||||||
txPutNewTestValue := blockPutNewTestValue.Transactions[0]
|
txPutNewTestValue := blockPutNewTestValue.Transactions[0]
|
||||||
|
|
@ -4082,7 +4082,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txFAULTed.SystemFee + txFAULTed.NetworkFee).String(),
|
Amount: big.NewInt(txFAULTed.SystemFee + txFAULTed.NetworkFee).String(),
|
||||||
Index: 23,
|
Index: 24,
|
||||||
TxHash: blockWithFAULTedTx.Hash(),
|
TxHash: blockWithFAULTedTx.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4090,7 +4090,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txDeploy6.SystemFee + txDeploy6.NetworkFee).String(),
|
Amount: big.NewInt(txDeploy6.SystemFee + txDeploy6.NetworkFee).String(),
|
||||||
Index: 22,
|
Index: 23,
|
||||||
TxHash: blockDeploy6.Hash(),
|
TxHash: blockDeploy6.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4098,7 +4098,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txTransferNFSO.SystemFee + txTransferNFSO.NetworkFee).String(),
|
Amount: big.NewInt(txTransferNFSO.SystemFee + txTransferNFSO.NetworkFee).String(),
|
||||||
Index: 19,
|
Index: 20,
|
||||||
TxHash: blockTransferNFSO.Hash(),
|
TxHash: blockTransferNFSO.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4106,7 +4106,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: address.Uint160ToString(nfsoHash),
|
Address: address.Uint160ToString(nfsoHash),
|
||||||
Amount: "1000000000",
|
Amount: "1000000000",
|
||||||
Index: 18,
|
Index: 19,
|
||||||
NotifyIndex: 0,
|
NotifyIndex: 0,
|
||||||
TxHash: txMintNFSO.Hash(),
|
TxHash: txMintNFSO.Hash(),
|
||||||
},
|
},
|
||||||
|
|
@ -4115,7 +4115,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txMintNFSO.SystemFee + txMintNFSO.NetworkFee).String(),
|
Amount: big.NewInt(txMintNFSO.SystemFee + txMintNFSO.NetworkFee).String(),
|
||||||
Index: 18,
|
Index: 19,
|
||||||
TxHash: blockMintNFSO.Hash(),
|
TxHash: blockMintNFSO.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4123,7 +4123,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txDeploy5.SystemFee + txDeploy5.NetworkFee).String(),
|
Amount: big.NewInt(txDeploy5.SystemFee + txDeploy5.NetworkFee).String(),
|
||||||
Index: 17,
|
Index: 18,
|
||||||
TxHash: blockDeploy5.Hash(),
|
TxHash: blockDeploy5.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4131,7 +4131,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txPutValue3.SystemFee + txPutValue3.NetworkFee).String(),
|
Amount: big.NewInt(txPutValue3.SystemFee + txPutValue3.NetworkFee).String(),
|
||||||
Index: 16,
|
Index: 17,
|
||||||
TxHash: blockPutNewTestValue.Hash(),
|
TxHash: blockPutNewTestValue.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4139,7 +4139,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txPutValue2.SystemFee + txPutValue2.NetworkFee).String(),
|
Amount: big.NewInt(txPutValue2.SystemFee + txPutValue2.NetworkFee).String(),
|
||||||
Index: 16,
|
Index: 17,
|
||||||
TxHash: blockPutNewTestValue.Hash(),
|
TxHash: blockPutNewTestValue.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4147,7 +4147,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txPutValue1.SystemFee + txPutValue1.NetworkFee).String(),
|
Amount: big.NewInt(txPutValue1.SystemFee + txPutValue1.NetworkFee).String(),
|
||||||
Index: 16,
|
Index: 17,
|
||||||
TxHash: blockPutNewTestValue.Hash(),
|
TxHash: blockPutNewTestValue.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4155,7 +4155,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txPutNewTestValue.SystemFee + txPutNewTestValue.NetworkFee).String(),
|
Amount: big.NewInt(txPutNewTestValue.SystemFee + txPutNewTestValue.NetworkFee).String(),
|
||||||
Index: 16,
|
Index: 17,
|
||||||
TxHash: blockPutNewTestValue.Hash(),
|
TxHash: blockPutNewTestValue.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4163,7 +4163,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txSetRecord.SystemFee + txSetRecord.NetworkFee).String(),
|
Amount: big.NewInt(txSetRecord.SystemFee + txSetRecord.NetworkFee).String(),
|
||||||
Index: 15,
|
Index: 16,
|
||||||
TxHash: blockSetRecord.Hash(),
|
TxHash: blockSetRecord.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4171,7 +4171,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "", // burn
|
Address: "", // burn
|
||||||
Amount: big.NewInt(txRegisterDomain.SystemFee + txRegisterDomain.NetworkFee).String(),
|
Amount: big.NewInt(txRegisterDomain.SystemFee + txRegisterDomain.NetworkFee).String(),
|
||||||
Index: 14,
|
Index: 15,
|
||||||
TxHash: blockRegisterDomain.Hash(),
|
TxHash: blockRegisterDomain.Hash(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -4288,7 +4288,7 @@ func checkNep17TransfersAux(t *testing.T, e *executor, acc any, sent, rcvd []int
|
||||||
Asset: e.chain.UtilityTokenHash(),
|
Asset: e.chain.UtilityTokenHash(),
|
||||||
Address: "",
|
Address: "",
|
||||||
Amount: "50000000",
|
Amount: "50000000",
|
||||||
Index: 18,
|
Index: 19,
|
||||||
NotifyIndex: 0,
|
NotifyIndex: 0,
|
||||||
TxHash: blockMintNFSO.Hash(),
|
TxHash: blockMintNFSO.Hash(),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue