Skip to content

Commit

Permalink
Fix compilation for all targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchatruc committed Sep 10, 2024
1 parent 4ccf296 commit d863e9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/node/api_server/src/execution_sandbox/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ fn create_transfer(fee_per_gas: u64, gas_per_pubdata: u64) -> L2Tx {
gas_per_pubdata_limit: gas_per_pubdata.into(),
};
L2Tx::new_signed(
Address::random(),
Some(Address::random()),
vec![],
Nonce(0),
fee,
Expand Down
2 changes: 1 addition & 1 deletion core/node/consensus/src/registry/testonly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub(crate) fn make_tx<F: crate::abi::Function>(
) -> Transaction {
account.get_l2_tx_for_execute(
Execute {
contract_address: *address,
contract_address: Some(*address),
calldata: call.calldata().unwrap(),
value: U256::zero(),
factory_deps: vec![],
Expand Down

0 comments on commit d863e9f

Please sign in to comment.