Skip to main content

Module reader

Module reader 

Source

Re-exportsΒ§

use crate::ScriptSequence; πŸ”’
use crate::TransactionWithMetadata; πŸ”’
use alloy_network::Network; πŸ”’
use alloy_network::ReceiptResponse; πŸ”’
use eyre::Result; πŸ”’
use eyre::bail; πŸ”’
use foundry_common::errors::FsPathError; πŸ”’
use foundry_common::fs; πŸ”’
use revm_inspectors::tracing::types::CallKind; πŸ”’
use serde::Deserialize; πŸ”’
use serde::Deserialize; πŸ”’
use serde_json::Value; πŸ”’
use std::path::Component; πŸ”’
use std::path::Path; πŸ”’
use std::path::PathBuf; πŸ”’

StructsΒ§

BroadcastReader
This type reads broadcast files in the project_root/broadcast/{contract_name}.s.sol/{chain_id}/ directory.

FunctionsΒ§

parse_sequence πŸ”’
Deserializes a broadcast sequence, treating receipts without a type as legacy like Ethereum’s receipt envelope does, so every network accepts the same files.