-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Head block feed now return full block instead of header
- Loading branch information
Showing
15 changed files
with
37,845 additions
and
80 deletions.
There are no files selected for viewing
4,884 changes: 4,884 additions & 0 deletions
4,884
...data/sepolia/class/0x5c478ee27f2112411f86f207605b2e2c58cdb647bac0df27f660ef2252359c6.json
Large diffs are not rendered by default.
Oops, something went wrong.
32,452 changes: 32,452 additions & 0 deletions
32,452
...tdata/sepolia/class/0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3.json
Large diffs are not rendered by default.
Oops, something went wrong.
369 changes: 369 additions & 0 deletions
369
clients/feeder/testdata/sepolia/state_update_with_block/0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,369 @@ | ||
{ | ||
"block": { | ||
"block_hash": "0x5c627d4aeb51280058bed93c7889bce78114d63baad1be0f0aeb32496d5f19c", | ||
"parent_block_hash": "0x0", | ||
"block_number": 0, | ||
"state_root": "0xe005205a1327f3dff98074e528f7b96f30e0624a1dfcf571bdc81948d150a0", | ||
"transaction_commitment": "0x6bc49c465936fa8b19a6773975bef3c1f9793463103ce679d5a2c10b0c3846e", | ||
"event_commitment": "0x63e31e9955086a982d5d1b008c0a1579521d526fcf38445a8daf4799bde362e", | ||
"status": "ACCEPTED_ON_L1", | ||
"l1_da_mode": "CALLDATA", | ||
"l1_gas_price": { | ||
"price_in_wei": "0x3e617dc5", | ||
"price_in_fri": "0x0" | ||
}, | ||
"l1_data_gas_price": { | ||
"price_in_wei": "0x1", | ||
"price_in_fri": "0x1" | ||
}, | ||
"transactions": [ | ||
{ | ||
"transaction_hash": "0x656e113cb27707d2147c271a79c51d1069b0273ae447b965e15154a17b3ec01", | ||
"version": "0x0", | ||
"max_fee": "0x0", | ||
"signature": [], | ||
"nonce": "0x0", | ||
"class_hash": "0x5c478ee27f2112411f86f207605b2e2c58cdb647bac0df27f660ef2252359c6", | ||
"sender_address": "0x1", | ||
"type": "DECLARE" | ||
}, | ||
{ | ||
"transaction_hash": "0x32538718071ad83ccd09fca03fe3a17add776ec12002d1c4e16ad4b92ddf752", | ||
"version": "0x0", | ||
"max_fee": "0x0", | ||
"signature": [], | ||
"nonce": "0x0", | ||
"class_hash": "0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3", | ||
"sender_address": "0x1", | ||
"type": "DECLARE" | ||
}, | ||
{ | ||
"transaction_hash": "0x144f41e654d0916810a83df0fe8984043671200f28df1206f58566144e302dd", | ||
"version": "0x1", | ||
"max_fee": "0x0", | ||
"signature": [ | ||
"0x13f82fd9238dfc8d01543f89be2b5d5589b3eb93d9c3b888f1f94b089768771", | ||
"0x2c279ec310c4dd58a296fab66b2624640780e79a1c5c87388e6150fb5384a9d" | ||
], | ||
"nonce": "0x0", | ||
"contract_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"contract_address_salt": "0x0", | ||
"class_hash": "0x5c478ee27f2112411f86f207605b2e2c58cdb647bac0df27f660ef2252359c6", | ||
"constructor_calldata": [ | ||
"0x12c4df40394d06f157edec8d0e64db61fe0c271149ea860c8fe98def29ecf02" | ||
], | ||
"type": "DEPLOY_ACCOUNT" | ||
}, | ||
{ | ||
"transaction_hash": "0x6a5a493cf33919e58aa4c75777bffdef97c0e39cac968896d7bee8cc67905a1", | ||
"version": "0x1", | ||
"max_fee": "0x0", | ||
"signature": [ | ||
"0x357dbb6c509a7d4b58f8ee7151236278b7959b39f7d05b8f7e2ef20593bdf7e", | ||
"0x64d5f748eef19ca7f1c8cc533e5c9c85f80ef4f040c75da67bda82f5c58328d" | ||
], | ||
"nonce": "0x1", | ||
"sender_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"calldata": [ | ||
"0x1", | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"0x2730079d734ee55315f4f141eaed376bddd8c2133523d223a344c5604e0f7f8", | ||
"0x0", | ||
"0x5", | ||
"0x5", | ||
"0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3", | ||
"0x322c2610264639f6b2cee681ac53fa65c37e187ea24292d1b21d859c55e1a78", | ||
"0x1", | ||
"0x0", | ||
"0x1" | ||
], | ||
"type": "INVOKE_FUNCTION" | ||
}, | ||
{ | ||
"transaction_hash": "0x4a5a3a951244f37c97b258465db17ba235dc68fd369c539d763bae99b2cae1", | ||
"version": "0x1", | ||
"max_fee": "0x0", | ||
"signature": [ | ||
"0x6b5baf01bf27386f1544efcf2e91aa69a42a41a9781e24b3cd984a91e815de7", | ||
"0x2de46894d2f386d25f2258e80f464e05f08daab78df764d87c4381a7eae6c97" | ||
], | ||
"nonce": "0x2", | ||
"sender_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"calldata": [ | ||
"0x1", | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"0x2730079d734ee55315f4f141eaed376bddd8c2133523d223a344c5604e0f7f8", | ||
"0x0", | ||
"0x5", | ||
"0x5", | ||
"0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3", | ||
"0x322c2610264639f6b2cee681ac53fa65c37e187ea24292d1b21d859c55e1a78", | ||
"0x1", | ||
"0x0", | ||
"0x0" | ||
], | ||
"type": "INVOKE_FUNCTION" | ||
}, | ||
{ | ||
"transaction_hash": "0x1bec64a9f5ff52154b560fd489ae2aabbfcb31062f7ea70c3c674ddf14b0add", | ||
"version": "0x1", | ||
"max_fee": "0x0", | ||
"signature": [ | ||
"0x44580ba3cd68e5d9509d2fcb8bd09933ae4a7b7dfe6744eaa2329f9a79d7408", | ||
"0x68404a4da22c31d8367f873c043318750a24c669702c72de8518a3d52284b94" | ||
], | ||
"nonce": "0x3", | ||
"sender_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"calldata": [ | ||
"0x1", | ||
"0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7", | ||
"0x195d4289b867c3d98c335ea31402667f3592e227faf3d2991308563ed102aab", | ||
"0x0", | ||
"0x0", | ||
"0x0" | ||
], | ||
"type": "INVOKE_FUNCTION" | ||
}, | ||
{ | ||
"transaction_hash": "0x72b2d3b79b3da51efe860da954a2f50d23da95f028a456c5356a08e61642754", | ||
"version": "0x1", | ||
"max_fee": "0x0", | ||
"signature": [ | ||
"0x12ef79a31ed2ff357b290f40c8c1bbe53cbb253866f0dc52b25aabbfb443c2b", | ||
"0x376b2ddfd1ba9c6a0d72e3e4dbc5bbb1f0d2601089999cbf477aed944ae5c03" | ||
], | ||
"nonce": "0x4", | ||
"sender_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"calldata": [ | ||
"0x1", | ||
"0x4c5772d1914fe6ce891b64eb35bf3522aeae1315647314aac58b01137607f3f", | ||
"0x195d4289b867c3d98c335ea31402667f3592e227faf3d2991308563ed102aab", | ||
"0x0", | ||
"0x0", | ||
"0x0" | ||
], | ||
"type": "INVOKE_FUNCTION" | ||
} | ||
], | ||
"timestamp": 1700406220, | ||
"sequencer_address": "0x1176a1bd84444c89232ec27754698e5d2e7e1a7f1539f12027f28b23ec9f3d8", | ||
"transaction_receipts": [ | ||
{ | ||
"execution_status": "SUCCEEDED", | ||
"transaction_index": 0, | ||
"transaction_hash": "0x656e113cb27707d2147c271a79c51d1069b0273ae447b965e15154a17b3ec01", | ||
"l2_to_l1_messages": [], | ||
"events": [], | ||
"execution_resources": { | ||
"n_steps": 2711, | ||
"builtin_instance_counter": { | ||
"pedersen_builtin": 15, | ||
"range_check_builtin": 63 | ||
}, | ||
"n_memory_holes": 0 | ||
}, | ||
"actual_fee": "0x0" | ||
}, | ||
{ | ||
"execution_status": "SUCCEEDED", | ||
"transaction_index": 1, | ||
"transaction_hash": "0x32538718071ad83ccd09fca03fe3a17add776ec12002d1c4e16ad4b92ddf752", | ||
"l2_to_l1_messages": [], | ||
"events": [], | ||
"execution_resources": { | ||
"n_steps": 2711, | ||
"builtin_instance_counter": { | ||
"pedersen_builtin": 15, | ||
"range_check_builtin": 63 | ||
}, | ||
"n_memory_holes": 0 | ||
}, | ||
"actual_fee": "0x0" | ||
}, | ||
{ | ||
"execution_status": "SUCCEEDED", | ||
"transaction_index": 2, | ||
"transaction_hash": "0x144f41e654d0916810a83df0fe8984043671200f28df1206f58566144e302dd", | ||
"l2_to_l1_messages": [], | ||
"events": [], | ||
"execution_resources": { | ||
"n_steps": 3863, | ||
"builtin_instance_counter": { | ||
"pedersen_builtin": 23, | ||
"range_check_builtin": 83, | ||
"ecdsa_builtin": 1 | ||
}, | ||
"n_memory_holes": 0 | ||
}, | ||
"actual_fee": "0x0" | ||
}, | ||
{ | ||
"execution_status": "SUCCEEDED", | ||
"transaction_index": 3, | ||
"transaction_hash": "0x6a5a493cf33919e58aa4c75777bffdef97c0e39cac968896d7bee8cc67905a1", | ||
"l2_to_l1_messages": [], | ||
"events": [], | ||
"execution_resources": { | ||
"n_steps": 5617, | ||
"builtin_instance_counter": { | ||
"pedersen_builtin": 23, | ||
"ecdsa_builtin": 1, | ||
"range_check_builtin": 122 | ||
}, | ||
"n_memory_holes": 0 | ||
}, | ||
"actual_fee": "0x0" | ||
}, | ||
{ | ||
"execution_status": "SUCCEEDED", | ||
"transaction_index": 4, | ||
"transaction_hash": "0x4a5a3a951244f37c97b258465db17ba235dc68fd369c539d763bae99b2cae1", | ||
"l2_to_l1_messages": [], | ||
"events": [], | ||
"execution_resources": { | ||
"n_steps": 5617, | ||
"builtin_instance_counter": { | ||
"pedersen_builtin": 23, | ||
"range_check_builtin": 122, | ||
"ecdsa_builtin": 1 | ||
}, | ||
"n_memory_holes": 0 | ||
}, | ||
"actual_fee": "0x0" | ||
}, | ||
{ | ||
"execution_status": "SUCCEEDED", | ||
"transaction_index": 5, | ||
"transaction_hash": "0x1bec64a9f5ff52154b560fd489ae2aabbfcb31062f7ea70c3c674ddf14b0add", | ||
"l2_to_l1_messages": [], | ||
"events": [ | ||
{ | ||
"from_address": "0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7", | ||
"keys": [ | ||
"0x3774b0545aabb37c45c1eddc6a7dae57de498aae6d5e3589e362d4b4323a533" | ||
], | ||
"data": [ | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8" | ||
] | ||
}, | ||
{ | ||
"from_address": "0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7", | ||
"keys": [ | ||
"0x4595132f9b33b7077ebf2e7f3eb746a8e0a6d5c337c71cd8f9bf46cac3cfd7" | ||
], | ||
"data": [ | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8" | ||
] | ||
} | ||
], | ||
"execution_resources": { | ||
"n_steps": 4854, | ||
"builtin_instance_counter": { | ||
"ecdsa_builtin": 1, | ||
"range_check_builtin": 106, | ||
"pedersen_builtin": 17 | ||
}, | ||
"n_memory_holes": 0 | ||
}, | ||
"actual_fee": "0x0" | ||
}, | ||
{ | ||
"execution_status": "SUCCEEDED", | ||
"transaction_index": 6, | ||
"transaction_hash": "0x72b2d3b79b3da51efe860da954a2f50d23da95f028a456c5356a08e61642754", | ||
"l2_to_l1_messages": [], | ||
"events": [ | ||
{ | ||
"from_address": "0x4c5772d1914fe6ce891b64eb35bf3522aeae1315647314aac58b01137607f3f", | ||
"keys": [ | ||
"0x3774b0545aabb37c45c1eddc6a7dae57de498aae6d5e3589e362d4b4323a533" | ||
], | ||
"data": [ | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8" | ||
] | ||
}, | ||
{ | ||
"from_address": "0x4c5772d1914fe6ce891b64eb35bf3522aeae1315647314aac58b01137607f3f", | ||
"keys": [ | ||
"0x4595132f9b33b7077ebf2e7f3eb746a8e0a6d5c337c71cd8f9bf46cac3cfd7" | ||
], | ||
"data": [ | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8" | ||
] | ||
} | ||
], | ||
"execution_resources": { | ||
"n_steps": 4854, | ||
"builtin_instance_counter": { | ||
"ecdsa_builtin": 1, | ||
"pedersen_builtin": 17, | ||
"range_check_builtin": 106 | ||
}, | ||
"n_memory_holes": 0 | ||
}, | ||
"actual_fee": "0x0" | ||
} | ||
], | ||
"starknet_version": "0.12.3" | ||
}, | ||
"state_update": { | ||
"block_hash": "0x5c627d4aeb51280058bed93c7889bce78114d63baad1be0f0aeb32496d5f19c", | ||
"new_root": "0xe005205a1327f3dff98074e528f7b96f30e0624a1dfcf571bdc81948d150a0", | ||
"old_root": "0x0", | ||
"state_diff": { | ||
"storage_diffs": { | ||
"0x4c5772d1914fe6ce891b64eb35bf3522aeae1315647314aac58b01137607f3f": [ | ||
{ | ||
"key": "0xe8fc4f1b6b3dc661208f9a8a5017a6c059098327e31518722e0a5c3a5a7e86", | ||
"value": "0x1" | ||
}, | ||
{ | ||
"key": "0x6d56a3a16e0bf05482515c10fcf552437cdd1b7b409a6e8cec88c4b8fa03c13", | ||
"value": "0x1" | ||
} | ||
], | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8": [ | ||
{ | ||
"key": "0x3b28019ccfdbd30ffc65951d94bb85c9e2b8434111a000b5afd533ce65f57a4", | ||
"value": "0x12c4df40394d06f157edec8d0e64db61fe0c271149ea860c8fe98def29ecf02" | ||
} | ||
], | ||
"0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7": [ | ||
{ | ||
"key": "0xe8fc4f1b6b3dc661208f9a8a5017a6c059098327e31518722e0a5c3a5a7e86", | ||
"value": "0x1" | ||
}, | ||
{ | ||
"key": "0x6d56a3a16e0bf05482515c10fcf552437cdd1b7b409a6e8cec88c4b8fa03c13", | ||
"value": "0x1" | ||
} | ||
] | ||
}, | ||
"nonces": { | ||
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8": "0x5" | ||
}, | ||
"deployed_contracts": [ | ||
{ | ||
"address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8", | ||
"class_hash": "0x5c478ee27f2112411f86f207605b2e2c58cdb647bac0df27f660ef2252359c6" | ||
}, | ||
{ | ||
"address": "0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7", | ||
"class_hash": "0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3" | ||
}, | ||
{ | ||
"address": "0x4c5772d1914fe6ce891b64eb35bf3522aeae1315647314aac58b01137607f3f", | ||
"class_hash": "0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3" | ||
} | ||
], | ||
"old_declared_contracts": [ | ||
"0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3", | ||
"0x5c478ee27f2112411f86f207605b2e2c58cdb647bac0df27f660ef2252359c6" | ||
], | ||
"declared_classes": [], | ||
"replaced_classes": [] | ||
} | ||
} | ||
} |
Oops, something went wrong.