From 34653422e6849d754d15bd622e15a6f50089d21b Mon Sep 17 00:00:00 2001 From: Cody Wang Date: Mon, 29 Jan 2024 13:55:47 -0500 Subject: [PATCH] update comment --- .../script/UpdateFeeVaultRecipient.s.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolia/2024-01-22-deploy-revshare/script/UpdateFeeVaultRecipient.s.sol b/sepolia/2024-01-22-deploy-revshare/script/UpdateFeeVaultRecipient.s.sol index b3c14a89..3bc5dfcc 100644 --- a/sepolia/2024-01-22-deploy-revshare/script/UpdateFeeVaultRecipient.s.sol +++ b/sepolia/2024-01-22-deploy-revshare/script/UpdateFeeVaultRecipient.s.sol @@ -28,7 +28,6 @@ contract UpdateFeeVaultRecipient is Script { /// // CREATE THE NEW FEE VAULTS - // totalProcessed() should be 0 for existing vaults since no withdraw has done yet /// vm.startBroadcast(proxyAdminOwner); SequencerFeeVault sfvNew = new SequencerFeeVault( @@ -82,6 +81,7 @@ contract UpdateFeeVaultRecipient is Script { FeeVault _newFV, string memory typeOfVault ) internal view { + // totalProcessed() should be 0 for existing vaults since no withdraw has done yet if (_newFV.totalProcessed() != _oldFV.totalProcessed()) { revert FeeVaultFailedToUpdate({ feeVaultType: typeOfVault,