Skip to content

Commit

Permalink
Add block test to cover missing EvalCircuit hint (#373)
Browse files Browse the repository at this point in the history
* Point cairo-vm to EvalCircuit hint fix

* Add block 160023 (eval circuit hint)

* Oops, use correct block

* Bump cairo-vm

* Bump cairo-vm
  • Loading branch information
notlesh authored Sep 13, 2024
1 parent dd0af9e commit d2248cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cairo-lang-starknet-classes = { version = "=2.7.1" }
cairo-lang-utils = { version = "=2.7.1" }
cairo-lang-casm = { version = "=2.7.1" }
cairo-type-derive = { version = "0.1.0", path = "crates/cairo-type-derive" }
cairo-vm = { git = "https://github.com/Moonsong-Labs/cairo-vm", rev = "a581ba5aea56489d0ad3127e71bc666615ce2224", features = ["cairo-1-hints", "extensive_hints", "mod_builtin"] }
cairo-vm = { git = "https://github.com/Moonsong-Labs/cairo-vm", rev = "79cefb786f407ad0536db253e86017d3c4039f5e", features = ["cairo-1-hints", "extensive_hints", "mod_builtin"] }
clap = { version = "4.5.4", features = ["derive"] }
c-kzg = { version = "1.0.3" }
env_logger = "0.11.3"
Expand Down
2 changes: 2 additions & 0 deletions crates/bin/prove_block/tests/prove_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use rstest::rstest;
// # * 87041: block with nonce bump inconsistency
// # * 66645 / 66776: Blob DA blocks
// # * 97581, 101556, 102076 deploy account txns
// # * 160035: EvalCircuit hint used
#[rstest]
#[case::small_block_with_only_invoke_txs(76793)]
#[case::additional_basic_blocks_1(76766)]
Expand All @@ -33,6 +34,7 @@ use rstest::rstest;
#[case::deploy_account_v1(97581)]
#[case::deploy_account_v3(101556)]
#[case::deploy_account_many_txs(102076)]
#[case::eval_circuit(160035)]
#[ignore = "Requires a running Pathfinder node"]
#[tokio::test(flavor = "multi_thread")]
async fn test_prove_selected_blocks(#[case] block_number: u64) {
Expand Down

0 comments on commit d2248cd

Please sign in to comment.