Merge remote-tracking branch 'origin/main' into refactor/contract-deployment-and-input-handling

This commit is contained in:
Omar Abdulla
2025-07-18 15:11:40 +03:00
7 changed files with 532 additions and 13 deletions
+5 -4
View File
@@ -4,7 +4,7 @@ use std::collections::HashMap;
use std::marker::PhantomData;
use alloy::json_abi::JsonAbi;
use alloy::network::TransactionBuilder;
use alloy::network::{Ethereum, TransactionBuilder};
use alloy::rpc::types::TransactionReceipt;
use alloy::rpc::types::trace::geth::GethTrace;
use alloy::{
@@ -246,9 +246,10 @@ where
code.extend(encoded_input.to_vec());
}
let tx = TransactionRequest::default()
.from(input.caller)
.with_deploy_code(code);
let tx = {
let tx = TransactionRequest::default().from(input.caller);
TransactionBuilder::<Ethereum>::with_deploy_code(tx, code)
};
let receipt = match node.execute_transaction(tx) {
Ok(receipt) => receipt,