Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Oct 2, 2023
1 parent 8eedcda commit 619f3bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/lib/zksync_core/src/eth_watch/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,12 @@ fn upgrade_into_log(upgrade: ProtocolUpgrade, eth_block: u64) -> Log {
),
]);

let diamond_upgrade_calldata = vec![0u8; 4]
let execute_upgrade_selector = zksync_contract()
.function("executeUpgrade")
.unwrap()
.short_signature();
let diamond_upgrade_calldata = execute_upgrade_selector
.to_vec()
.into_iter()
.chain(encode(&[diamond_cut]))
.collect();
Expand Down

0 comments on commit 619f3bc

Please sign in to comment.