Skip to content

Commit

Permalink
fix: minors
Browse files Browse the repository at this point in the history
  • Loading branch information
artemwoofsoftware committed Feb 12, 2025
1 parent 47d0c10 commit a8da9bf
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion contracts/test/SimpleTimelock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ contract SimpleTimelock {
}

(bool success, bytes memory returnData) = target.call{value: value}(callData);

require(success, "Timelock::executeTransaction: Transaction execution reverted.");

emit ExecuteTransaction(txHash, target, value, signature, data, eta);
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const config: HardhatUserConfig = {
viaIR: process.env['OPTIMIZER_DISABLED'] ? false : true,
},
},

networks: {
hardhat: {
chainId: 1337,
Expand Down
1 change: 0 additions & 1 deletion plugins/deployment_manager/Deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ export async function deploy<C extends Contract>(
factory = factory.connect(deployOpts.connect);
}

console.log(`Deploying ${contractName} with args ${stringifyJson(deployArgs)}`);
const contract = await doDeploy(contractName, factory, deployArgs, deployOpts, 'artifact');
const buildFile = await getBuildFileFromArtifacts(contractFile, contractFileName);
if (!buildFile.contract) {
Expand Down
1 change: 1 addition & 0 deletions plugins/deployment_manager/Spider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ async function crawl(
contracts,
trace
);

// Add the aliasTemplate in place to the relative context
(context[subKey] = context[subKey] || []).push(contracts.get(subAlias));
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/scenario/utils/ERC20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,5 +220,5 @@ export const erc20 = new ethers.utils.Interface([
],
'name': 'Transfer',
'type': 'event'
},
}
]);
1 change: 0 additions & 1 deletion scenario/constraints/MigrationConstraint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ async function getMigrations<T>(world: World): Promise<Migration<T>[]> {
const network = world.deploymentManager.network;
const deployment = world.deploymentManager.deployment;
const pattern = new RegExp(`deployments/${network}/${deployment}/migrations/.*.ts`);
console.log(`pattern: ${pattern}`);
return await loadMigrations((await modifiedPaths(pattern)).map(p => '../../' + p));
}

Expand Down
2 changes: 1 addition & 1 deletion scenario/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ export async function executeOpenProposal(
if (await governor.state(id) == ProposalState.Queued) {
const block = await dm.hre.ethers.provider.getBlock('latest');
const eta = await governor.proposalEta(id);

await setNextBlockTimestamp(dm, Math.max(block.timestamp, eta.toNumber()) + 1);
await setNextBaseFeeToZero(dm);
await updateCCIPStats(dm);
Expand Down

0 comments on commit a8da9bf

Please sign in to comment.