Skip to content

Commit

Permalink
Merge pull request #141 from matter-labs/sb-fix-boojum-integration
Browse files Browse the repository at this point in the history
fix CI
  • Loading branch information
StanislavBreadless authored Oct 2, 2023
2 parents 6bfa1bf + 14268ba commit 83ac4cf
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 83ac4cf

Please sign in to comment.