(contract_account: Account, data: Bytes)
| 145 | } |
| 146 | |
| 147 | async fn function_call_transaction(contract_account: Account, data: Bytes) -> Transaction { |
| 148 | let nonce = increment_account_1_nonce().await; |
| 149 | Transaction::new( |
| 150 | *ACCOUNT_1, |
| 151 | Some(contract_account), |
| 152 | U256::from(10), |
| 153 | Some(nonce), |
| 154 | Some(data), |
| 155 | ) |
| 156 | .unwrap() |
| 157 | } |
| 158 | |
| 159 | pub async fn send_transaction() -> Result<H256> { |
| 160 | let transaction_request: TransactionRequest = transaction().await.into(); |
no test coverage detected