Skip to content

Commit

Permalink
fix unit test check_types (#4297)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg authored Nov 26, 2024
1 parent 049a189 commit b297739
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion test-helper/data/Block/data
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20000000000000000000000000000000000000000000000000000000000000000038b710e2760100000000000000000000000000000000000000000000000000010020414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff0000000000000000000000
20000000000000000000000000000000000000000000000000000000000000000038b710e27601000000000000000000000000000000000000000000000000000120414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff0000000000000000000000
2 changes: 1 addition & 1 deletion test-helper/data/Block/hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d48ca588ba3ff1b72504371001e31908f3ca6457281322d6434181b794971173
57c15e18757837fff861e94913a12d58830ef9df4db0f144c22cfea7ee95ce26
1 change: 0 additions & 1 deletion test-helper/data/Block/json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"timestamp": 1610110515000,
"number": 0,
"author": "0x00000000000000000000000000000001",
"author_auth_key": null,
"txn_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"block_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"state_root": "0x5350415253455f4d45524b4c455f504c414345484f4c4445525f484153480000",
Expand Down
2 changes: 1 addition & 1 deletion test-helper/data/BlockHeader/data
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20000000000000000000000000000000000000000000000000000000000000000038b710e2760100000000000000000000000000000000000000000000000000010020414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff000000000000000000
20000000000000000000000000000000000000000000000000000000000000000038b710e27601000000000000000000000000000000000000000000000000000120414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff000000000000000000
2 changes: 1 addition & 1 deletion test-helper/data/BlockHeader/hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7889ee492fd2b8da082978d1543b52ea2065fe280137ae4d6da0475655c02be2
43ebcef76a89af1242516048c216b0c67916a2c354f493b6245a6f363ebe60a2
1 change: 0 additions & 1 deletion test-helper/data/BlockHeader/json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"timestamp": 1610110515000,
"number": 0,
"author": "0x00000000000000000000000000000001",
"author_auth_key": null,
"txn_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"block_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"state_root": "0x5350415253455f4d45524b4c455f504c414345484f4c4445525f484153480000",
Expand Down
2 changes: 1 addition & 1 deletion test-helper/data/BlockMetadata/data
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000ff00000000000000000100
20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000ff00000000000000000100
2 changes: 1 addition & 1 deletion test-helper/data/BlockMetadata/hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a6882a425b763ee19b08587d205af69ef27c763a5a22f2d1c3fd698b0658d59b
bc04f4e2f45ead167e463497de21fd037d8ee34f8b31e7e3ccdd639bf3b2c66f
1 change: 0 additions & 1 deletion test-helper/data/BlockMetadata/json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"parent_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"timestamp": 0,
"author": "0x00000000000000000000000000000001",
"author_auth_key": null,
"uncles": 0,
"number": 0,
"chain_id": {
Expand Down
2 changes: 1 addition & 1 deletion test-helper/data/ChainStatus/data
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20000000000000000000000000000000000000000000000000000000000000000038b710e2760100000000000000000000000000000000000000000000000000010020414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff00000000000000000020772acd09032fe354de7a43bda37f4b93dabede991e5fdabbd601b20834684cdb000000000000000000000000000000000000000000000000000000000000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000020414343554d554c41544f525f504c414345484f4c4445525f48415348000000000000000000000000000000000000000000
20000000000000000000000000000000000000000000000000000000000000000038b710e27601000000000000000000000000000000000000000000000000000120414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff00000000000000000020ae0c205435bf1031828270e8a8ce56fed0a23c45cfa7c2f1795aee497596484f000000000000000000000000000000000000000000000000000000000000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000020414343554d554c41544f525f504c414345484f4c4445525f48415348000000000000000000000000000000000000000000
3 changes: 1 addition & 2 deletions test-helper/data/ChainStatus/json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"timestamp": 1610110515000,
"number": 0,
"author": "0x00000000000000000000000000000001",
"author_auth_key": null,
"txn_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"block_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"state_root": "0x5350415253455f4d45524b4c455f504c414345484f4c4445525f484153480000",
Expand All @@ -19,7 +18,7 @@
"parents_hash": null
},
"info": {
"block_id": "0x772acd09032fe354de7a43bda37f4b93dabede991e5fdabbd601b20834684cdb",
"block_id": "0xae0c205435bf1031828270e8a8ce56fed0a23c45cfa7c2f1795aee497596484f",
"total_difficulty": "0x00",
"txn_accumulator_info": {
"accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
Expand Down
2 changes: 1 addition & 1 deletion test-helper/data/CompactBlock/data
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20000000000000000000000000000000000000000000000000000000000000000038b710e2760100000000000000000000000000000000000000000000000000010020414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff000000000000000000000000
20000000000000000000000000000000000000000000000000000000000000000038b710e27601000000000000000000000000000000000000000000000000000120414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff000000000000000000000000
1 change: 0 additions & 1 deletion test-helper/data/CompactBlock/json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"timestamp": 1610110515000,
"number": 0,
"author": "0x00000000000000000000000000000001",
"author_auth_key": null,
"txn_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"block_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"state_root": "0x5350415253455f4d45524b4c455f504c414345484f4c4445525f484153480000",
Expand Down
2 changes: 1 addition & 1 deletion test-helper/data/CompactBlockMessage/data
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20000000000000000000000000000000000000000000000000000000000000000038b710e2760100000000000000000000000000000000000000000000000000010020414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff00000000000000000000000020772acd09032fe354de7a43bda37f4b93dabede991e5fdabbd601b20834684cdb000000000000000000000000000000000000000000000000000000000000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000020414343554d554c41544f525f504c414345484f4c4445525f48415348000000000000000000000000000000000000000000
20000000000000000000000000000000000000000000000000000000000000000038b710e27601000000000000000000000000000000000000000000000000000120414343554d554c41544f525f504c414345484f4c4445525f484153480000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000205350415253455f4d45524b4c455f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000000000000000000000000000000000000000000000120c01e0329de6d899348a8ef4bd51db56175b3fa0988e57c3dcec8eaf13a164d97ff00000000000000000000000020ae0c205435bf1031828270e8a8ce56fed0a23c45cfa7c2f1795aee497596484f000000000000000000000000000000000000000000000000000000000000000020414343554d554c41544f525f504c414345484f4c4445525f4841534800000000000000000000000000000000000000000020414343554d554c41544f525f504c414345484f4c4445525f48415348000000000000000000000000000000000000000000
3 changes: 1 addition & 2 deletions test-helper/data/CompactBlockMessage/json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"timestamp": 1610110515000,
"number": 0,
"author": "0x00000000000000000000000000000001",
"author_auth_key": null,
"txn_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"block_accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"state_root": "0x5350415253455f4d45524b4c455f504c414345484f4c4445525f484153480000",
Expand All @@ -24,7 +23,7 @@
"uncles": null
},
"block_info": {
"block_id": "0x772acd09032fe354de7a43bda37f4b93dabede991e5fdabbd601b20834684cdb",
"block_id": "0xae0c205435bf1031828270e8a8ce56fed0a23c45cfa7c2f1795aee497596484f",
"total_difficulty": "0x00",
"txn_accumulator_info": {
"accumulator_root": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
Expand Down
1 change: 1 addition & 0 deletions test-helper/data/EntryFunction/data
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
000000000000000000000000000000010c456d707479536372697074730c656d7074795f7363726970740000
9 changes: 9 additions & 0 deletions test-helper/data/EntryFunction/json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"module": {
"address": "0x00000000000000000000000000000001",
"name": "EmptyScripts"
},
"function": "empty_script",
"ty_args": [],
"args": []
}

0 comments on commit b297739

Please sign in to comment.