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,