From a24074294b6a86df8bdbe735329227bd1f098900 Mon Sep 17 00:00:00 2001 From: Filipp Makarov Date: Thu, 12 Dec 2024 14:35:57 +0300 Subject: [PATCH] log predeploy --- scripts/foundry/DeployGasdaddy.s.sol | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/foundry/DeployGasdaddy.s.sol b/scripts/foundry/DeployGasdaddy.s.sol index 104b708..beb3699 100644 --- a/scripts/foundry/DeployGasdaddy.s.sol +++ b/scripts/foundry/DeployGasdaddy.s.sol @@ -81,6 +81,18 @@ contract DeployGasdaddy is Script { console.log("Sponsorship Paymaster address: ", sponsorshipPM, " || >> Code Size: ", codeSize); + bytes memory args = abi.encode( + VERIFYING_PAYMASTER_OWNER, + ENTRY_POINT_V07, + VERIFYING_SIGNER, + FEE_COLLECTOR, + SPONSORSHIP_PM_UNACCOUNTED_GAS, + PAYMASTER_ID_WITHDRAWAL_DELAY, + minDeposit + ); + console.log("args abi encoded: "); + console.logBytes(args); + // Use this block to get initcode hashes to sign /* uint256[] memory minDeposits = new uint256[](5); @@ -97,7 +109,7 @@ contract DeployGasdaddy is Script { ENTRY_POINT_V07, VERIFYING_SIGNER, FEE_COLLECTOR, - UNACCOUNTED_GAS, + SPONSORSHIP_PM_UNACCOUNTED_GAS, PAYMASTER_ID_WITHDRAWAL_DELAY, minDeposit );