Skip to content

Commit

Permalink
chore: polish
Browse files Browse the repository at this point in the history
  • Loading branch information
fedealconada committed Jan 23, 2024
1 parent 47496f6 commit 96e8d50
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions script/migrations/21-multiple_upgrade.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,12 @@ contract KintoMigration21DeployScript is Create2Helper, ArtifactsReader, UserOp
// set wallet factory
_walletFactory = KintoWalletFactory(payable(_getChainDeployment("KintoWalletFactory")));

// deploy contracts
SponsorPaymasterV4 _paymasterImpl = SponsorPaymasterV4(upgradePaymaster());
console.log(string.concat("SponsorPaymasterV4-impl: ", vm.toString(address(_paymasterImpl))));

KintoAppRegistryV3 _registryImpl = KintoAppRegistryV3(upgradeRegistry());
console.log(string.concat("KintoAppRegistryV3-impl: ", vm.toString(address(_registryImpl))));

KintoWalletV4 _walletImpl = KintoWalletV4(payable(upgradeWallet()));
console.log(string.concat("KintoWalletV4-impl: ", vm.toString(address(_walletImpl))));

KintoWalletFactoryV7 _factoryImpl = KintoWalletFactoryV7(upgradeFactory());
console.log(string.concat("KintoWalletFactoryV7-impl: ", vm.toString(address(_factoryImpl))));

KYCViewerV2 _kycViewerImpl = KYCViewerV2(upgradeKYCViewer());
console.log(string.concat("KYCViewerV2-impl: ", vm.toString(address(_kycViewerImpl))));

// writes the addresses to a file
console.log("TODO: Manually add these new addresses to the artifacts file");
Expand Down

0 comments on commit 96e8d50

Please sign in to comment.