Skip to content

Commit

Permalink
Merge pull request #448 from eqlabs/pre-cairo-lang-0.9.1
Browse files Browse the repository at this point in the history
Prepare for starknet 0.9.1 release
  • Loading branch information
Joonas Koivunen authored Jul 13, 2022
2 parents 476c9c2 + 40c746b commit a4d0daf
Show file tree
Hide file tree
Showing 14 changed files with 1,924 additions and 19 deletions.
1 change: 1 addition & 0 deletions crates/pathfinder/examples/verify_block_hashes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ fn main() -> anyhow::Result<()> {
timestamp: block.timestamp,
transaction_receipts: receipts,
transactions,
starknet_version: None,
};
parent_block_hash = block_hash;

Expand Down
122 changes: 122 additions & 0 deletions crates/pathfinder/fixtures/sequencer/integration/block/192844.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"block_hash": "0x323d3d773b97fa8ed328aa36999d47748fe1d5e78a2d1a56e393daeb5a3ff0c",
"parent_block_hash": "0x531805cccdd38762057a98031d295bf22127e1503b7a82e43adf22aa4747832",
"block_number": 192844,
"state_root": "01c37d84e96949be9681f170ab5768f7e2f242ffa1fb6e222e5c17e0bf6e91a4",
"status": "ACCEPTED_ON_L1",
"gas_price": "0x59682f07",
"transactions": [
{
"contract_address": "0x3326e04a4eab521db2c561e9d38807bc672feb3c7f8e4a23b43f5349661acbb",
"contract_address_salt": "0x165e74cad8363441dc510664fa205840932f196528e44a22bdcbf9b908ab417",
"class_hash": "0x1ca349f9721a2bf05012bb475b404313c497ca7d6d5f80c03e98ff31e9867f5",
"constructor_calldata": [
"0x23640cc5e4ac255650715b65b2d7a0a8796d475c744c51d52148573751ef9d7",
"0x7064f51cccecb5286dd590a81cda9149fdc2495c9d280ae8d13b9a12baec879"
],
"transaction_hash": "0x64d1a964bb62d899f92762c398c9736639e49f129281743c7d22a09b5380fd0",
"type": "DEPLOY"
},
{
"contract_address": "0x4a2d008603147fc68b6939a75b7ecd2779005127d157e0abcaa68561201620c",
"contract_address_salt": "0x3cd43c38ba2e632220acc2aede600d53d1eb4b6b0102021a527c3e474ce3e12",
"class_hash": "0x1ca349f9721a2bf05012bb475b404313c497ca7d6d5f80c03e98ff31e9867f5",
"constructor_calldata": [
"0xd0710bb31e0cc69b519f33a2eff9b228e41b61a63d0a179c930c9dc9838d86",
"0x162594047e4c9bd86f0d12917f349d9a796a6acce24c3564bed9b76c080e8ee"
],
"transaction_hash": "0x5710b828fcb740c338bbc54ae1861e2fdf550b4cd4ccff0e553d1f7c5aba0cf",
"type": "DEPLOY"
},
{
"contract_address": "0x10dc62930c5e25b56ed78fbec78184cbbc1d5e54d1d27cd10248c6c7e76bfb2",
"contract_address_salt": "0x69ccc7d04e6e3b37716ab4cc83a7c8e0d48e8c621d529c4b5f5ae4ff463891",
"class_hash": "0x1ca349f9721a2bf05012bb475b404313c497ca7d6d5f80c03e98ff31e9867f5",
"constructor_calldata": [
"0x7164cb5aab1bc06f65f4793c2cb4cb73c9a28fd5a06bf5370e1fa1b5b308b14",
"0x1a2a80109fa9d4a0014aca4d4f0402c2f734ca69156110318a7123f98589b02"
],
"transaction_hash": "0x56a55803619de8859f5aa1e19b8a7ecb272acb13724e5151ff81c514473c8dc",
"type": "DEPLOY"
},
{
"contract_address": "0x3571d6be45d4de51dc59e563b6d710df17e525b7b589e39a84db41506cc5c4f",
"contract_address_salt": "0x11bf97f79c65a3117811a02261d4ee55006b352be4f241133f67450b68439fe",
"class_hash": "0x28306067843167b7cd47b4329440cd3468b478c8fa54122cc17d7e05625b03",
"constructor_calldata": [],
"transaction_hash": "0x705f6443221a24d405ac7d6d370f9daa7ba77084159f12faa013a76b33ad22b",
"type": "DEPLOY"
}
],
"timestamp": 1657524437,
"sequencer_address": "0x46a89ae102987331d369645031b49c27738ed096f2789c24449966da4c6de6b",
"transaction_receipts": [
{
"transaction_index": 0,
"transaction_hash": "0x64d1a964bb62d899f92762c398c9736639e49f129281743c7d22a09b5380fd0",
"l2_to_l1_messages": [],
"events": [],
"execution_resources": {
"n_steps": 29,
"builtin_instance_counter": {
"pedersen_builtin": 0,
"range_check_builtin": 0,
"bitwise_builtin": 0,
"output_builtin": 0,
"ecdsa_builtin": 0
},
"n_memory_holes": 0
},
"actual_fee": "0x0"
},
{
"transaction_index": 1,
"transaction_hash": "0x5710b828fcb740c338bbc54ae1861e2fdf550b4cd4ccff0e553d1f7c5aba0cf",
"l2_to_l1_messages": [],
"events": [],
"execution_resources": {
"n_steps": 29,
"builtin_instance_counter": {
"pedersen_builtin": 0,
"range_check_builtin": 0,
"bitwise_builtin": 0,
"output_builtin": 0,
"ecdsa_builtin": 0
},
"n_memory_holes": 0
},
"actual_fee": "0x0"
},
{
"transaction_index": 2,
"transaction_hash": "0x56a55803619de8859f5aa1e19b8a7ecb272acb13724e5151ff81c514473c8dc",
"l2_to_l1_messages": [],
"events": [],
"execution_resources": {
"n_steps": 29,
"builtin_instance_counter": {
"pedersen_builtin": 0,
"range_check_builtin": 0,
"bitwise_builtin": 0,
"output_builtin": 0,
"ecdsa_builtin": 0
},
"n_memory_holes": 0
},
"actual_fee": "0x0"
},
{
"transaction_index": 3,
"transaction_hash": "0x705f6443221a24d405ac7d6d370f9daa7ba77084159f12faa013a76b33ad22b",
"l2_to_l1_messages": [],
"events": [],
"execution_resources": {
"n_steps": 0,
"builtin_instance_counter": {},
"n_memory_holes": 0
},
"actual_fee": "0x0"
}
],
"starknet_version": "0.9.1"
}
Loading

0 comments on commit a4d0daf

Please sign in to comment.