Ton chain id validator (#589)
This commit is contained in:
24
src/test/resources/blocks/ton/masterchain-info.json
Normal file
24
src/test/resources/blocks/ton/masterchain-info.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"ok": true,
|
||||
"result": {
|
||||
"@type": "blocks.masterchainInfo",
|
||||
"last": {
|
||||
"@type": "ton.blockIdExt",
|
||||
"workchain": -1,
|
||||
"shard": "-9223372036854775808",
|
||||
"seqno": 41689287,
|
||||
"root_hash": "kOdzFs2iOVrpBVpD5Wt1o9Z+eTJIjGXxMurjuKiIJgg=",
|
||||
"file_hash": "2gGZ8/7b8ztvtzPaDbzsWzxvCSvwMoct1v2l9jtV2G0="
|
||||
},
|
||||
"state_root_hash": "0mgSkvXs8QIO94ol3bxKxe0Jcu34eaB+/anKRgBkuQI=",
|
||||
"init": {
|
||||
"@type": "ton.blockIdExt",
|
||||
"workchain": -1,
|
||||
"shard": "0",
|
||||
"seqno": 0,
|
||||
"root_hash": "F6OpKZKqvqeFp6CQmFomXNMfMj2EnaUSOXN+Mh+wVWk=",
|
||||
"file_hash": "XplPz01CXAps5qeSWUtxcyBfdAo5zVb1N979KLSKD24="
|
||||
},
|
||||
"@extra": "1730733199.581394:6:0.46521772491020763"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"ok": false
|
||||
}
|
||||
15
src/test/resources/blocks/ton/ton-block-wrong.json
Normal file
15
src/test/resources/blocks/ton/ton-block-wrong.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"ok": true,
|
||||
"result": {
|
||||
"@type": "blocks.header",
|
||||
"id": {
|
||||
"@type": "ton.blockIdExt",
|
||||
"workchain": -1,
|
||||
"shard": "-9223372036854775808",
|
||||
"seqno": 41689287,
|
||||
"root_hash": "kOdzFs2iOVrpBVpD5Wt1o9Z+eTJIjGXxMurjuKiIJgg=",
|
||||
"file_hash": "2gGZ8/7b8ztvtzPaDbzsWzxvCSvwMoct1v2l9jtV2G0="
|
||||
},
|
||||
"global_id": -3345
|
||||
}
|
||||
}
|
||||
15
src/test/resources/blocks/ton/ton-block.json
Normal file
15
src/test/resources/blocks/ton/ton-block.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"ok": true,
|
||||
"result": {
|
||||
"@type": "blocks.header",
|
||||
"id": {
|
||||
"@type": "ton.blockIdExt",
|
||||
"workchain": -1,
|
||||
"shard": "-9223372036854775808",
|
||||
"seqno": 41689287,
|
||||
"root_hash": "kOdzFs2iOVrpBVpD5Wt1o9Z+eTJIjGXxMurjuKiIJgg=",
|
||||
"file_hash": "2gGZ8/7b8ztvtzPaDbzsWzxvCSvwMoct1v2l9jtV2G0="
|
||||
},
|
||||
"global_id": -239
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user