Skip to content

Commit 7a53c3c

Browse files
committed
chore: fix ci
1 parent e639650 commit 7a53c3c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/rust-vm.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,6 @@ jobs:
106106
RPC_URL_FEEDER_GATEWAY: ${{ secrets.RPC_URL_FEEDER_GATEWAY }}
107107
RPC_URL_HERODOTUS_INDEXER: ${{ secrets.RPC_URL_HERODOTUS_INDEXER }}
108108
RPC_URL_STARKNET: ${{ secrets.RPC_URL_STARKNET_SEPOLIA }}
109+
HERODOTUS_STAGING_INDEXER: ${{ secrets.HERODOTUS_STAGING_INDEXER }}
109110
run: cargo nextest run
110111

crates/dry_hint_processor/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ starknet.workspace = true
1616
strum_macros.workspace = true
1717
syscall_handler.workspace = true
1818
tokio.workspace = true
19-
types.workspace = true
19+
types.workspace = true
20+
serde_json.workspace = true

crates/dry_hint_processor/src/syscall_handler/starknet/header.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use types::{
1212
keys::starknet::header::{CairoKey, Key},
1313
HERODOTUS_STAGING_INDEXER,
1414
};
15+
use serde_json::Value;
1516

1617
#[derive(Debug, Default)]
1718
pub struct HeaderCallHandler;
@@ -58,7 +59,7 @@ impl CallHandler for HeaderCallHandler {
5859
.map_err(|e| SyscallExecutionError::InternalError(format!("Network request failed: {}", e).into()))?;
5960

6061
// Parse JSON response and extract fields
61-
let blocks: serde_json::Value = response
62+
let blocks: Value = response
6263
.json()
6364
.await
6465
.map_err(|e| SyscallExecutionError::InternalError(format!("Failed to parse JSON response: {}", e).into()))?;

0 commit comments

Comments
 (0)