Skip to content

Commit

Permalink
chore: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
petscheit committed Feb 3, 2025
1 parent e639650 commit 7a53c3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust-vm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@ jobs:
RPC_URL_FEEDER_GATEWAY: ${{ secrets.RPC_URL_FEEDER_GATEWAY }}
RPC_URL_HERODOTUS_INDEXER: ${{ secrets.RPC_URL_HERODOTUS_INDEXER }}
RPC_URL_STARKNET: ${{ secrets.RPC_URL_STARKNET_SEPOLIA }}
HERODOTUS_STAGING_INDEXER: ${{ secrets.HERODOTUS_STAGING_INDEXER }}
run: cargo nextest run

3 changes: 2 additions & 1 deletion crates/dry_hint_processor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ starknet.workspace = true
strum_macros.workspace = true
syscall_handler.workspace = true
tokio.workspace = true
types.workspace = true
types.workspace = true
serde_json.workspace = true
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use types::{
keys::starknet::header::{CairoKey, Key},

Check warning on line 12 in crates/dry_hint_processor/src/syscall_handler/starknet/header.rs

View workflow job for this annotation

GitHub Actions / Format and Lint

Diff in /home/runner/work/hdp-cairo/hdp-cairo/crates/dry_hint_processor/src/syscall_handler/starknet/header.rs
HERODOTUS_STAGING_INDEXER,
};
use serde_json::Value;

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

// Parse JSON response and extract fields
let blocks: serde_json::Value = response
let blocks: Value = response
.json()
.await
.map_err(|e| SyscallExecutionError::InternalError(format!("Failed to parse JSON response: {}", e).into()))?;
Expand Down

0 comments on commit 7a53c3c

Please sign in to comment.