Add a way to skip tests if they don't match the target

This commit is contained in:
Omar Abdulla
2025-07-22 09:07:01 +03:00
parent a0248b58f3
commit 5c957e5ac1
8 changed files with 63 additions and 30 deletions
+1 -1
View File
@@ -324,7 +324,7 @@ impl Input {
chain_state_provider: &impl EthereumNode,
) -> anyhow::Result<TransactionRequest> {
let input_data = self.encoded_input(deployed_contracts, chain_state_provider)?;
let transaction_request = TransactionRequest::default();
let transaction_request = TransactionRequest::default().from(self.caller);
match self.method {
Method::Deployer => Ok(transaction_request.with_deploy_code(input_data)),
_ => Ok(transaction_request