Skip to content

Commit 603639d

Browse files
starknet_os_runner: rpc storage_proofs
1 parent f7f312b commit 603639d

File tree

6 files changed

+382
-2
lines changed

6 files changed

+382
-2
lines changed

Cargo.lock

Lines changed: 148 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ simple_logger = "4.0.0"
353353
socket2 = "0.5.8"
354354
starknet-core = "0.16.0"
355355
starknet-crypto = "0.8.1"
356+
starknet-rust = "0.17.0"
356357
starknet-rust-core = "0.16.0"
357358
starknet-types-core = "0.2.4"
358359
starknet_api = { path = "crates/starknet_api", version = "0.0.0" }

crates/starknet_os_runner/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,15 @@ description = "Runs transactions through the Starknet OS and returns Cairo PIE a
99
[dependencies]
1010
blockifier.workspace = true
1111
blockifier_reexecution.workspace = true
12+
indexmap.workspace = true
1213
starknet_api.workspace = true
14+
starknet_os.workspace = true
15+
starknet_patricia.workspace = true
16+
starknet-rust.workspace = true
17+
starknet-rust-core.workspace = true
18+
starknet-types-core.workspace = true
1319
thiserror.workspace = true
20+
url.workspace = true
1421

1522
[lints]
1623
workspace = true

crates/starknet_os_runner/src/errors.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use blockifier_reexecution::errors::ReexecutionError;
2+
use starknet_rust::providers::ProviderError;
23
use thiserror::Error;
34

45
#[derive(Debug, Error)]
@@ -7,3 +8,9 @@ pub enum ExecutionDataError {
78
// Boxed to reduce the size of Result on the stack (ReexecutionError is >128 bytes).
89
ReexecutionError(#[from] Box<ReexecutionError>),
910
}
11+
12+
#[derive(Debug, Error)]
13+
pub enum ProofProviderError {
14+
#[error("RPC provider error: {0}")]
15+
Rpc(#[from] ProviderError),
16+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pub mod errors;
22
pub mod execution_data;
3+
pub mod storage_proofs;

0 commit comments

Comments
 (0)