Skip to content

Commit

Permalink
Reenabled 001 and fixed 002
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanIliev545 committed Dec 6, 2024
1 parent d7f19fe commit 1913a49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ async function sleep(ms: number) {
}

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
return;
const l1Network = hre.companionNetworks.layer1;
const l2Network = hre;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
networkConfig["TransactionPostProcessorAddress"],
signer
);

// TODO: add callback with the security epic when we add the EOA config and all the rules for access
// to system contracts
/*
const receipt = await transactionPostProcessor.addOnBlockEndCallback(zenTestnet.address);
if (receipt.status !== 1) {

const tx = await transactionPostProcessor.addOnBlockEndCallback(zenTestnet.address);
const receipt = await tx.wait();
if (receipt.status != 1) {
throw new Error("Failed to register Zen token as a system callback");
}
console.log(`Callback added at ${receipt.transactionHash}`); */
console.log(`Callback added at ${receipt.hash}`);
}
export default func;
func.tags = ['ZenBase', 'ZenBase_deploy'];
Expand Down

0 comments on commit 1913a49

Please sign in to comment.