use core_lane::{StoredTransaction, TransactionReceipt};
use alloy_consensus::TxEnvelope;
// Add transaction
let stored_tx = StoredTransaction {
envelope: tx_envelope,
raw_data: raw_tx_bytes,
block_number: 100,
};
bundle.add_transaction(stored_tx);
// Add receipt
let receipt = TransactionReceipt {
transaction_hash: "0x123...".to_string(),
block_number: 100,
transaction_index: 0,
from: "0xabc...".to_string(),
to: Some("0xdef...".to_string()),
cumulative_gas_used: "21000".to_string(),
gas_used: "21000".to_string(),
contract_address: None,
logs: vec![],
status: "0x1".to_string(),
effective_gas_price: "1000000000".to_string(),
tx_type: "0x2".to_string(),
logs_bloom: "0x00...".to_string(),
};
bundle.add_receipt("0x123...".to_string(), receipt);