From a3d4fe099f0ed2370957bc89cd5e149ce25039c2 Mon Sep 17 00:00:00 2001 From: Mark Bliss Date: Thu, 19 Oct 2023 17:46:15 +0200 Subject: [PATCH] fix: remove immutable check on storage increase (#207) --- src/PostageStamp.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/PostageStamp.sol b/src/PostageStamp.sol index 0376b805..48f86ae4 100644 --- a/src/PostageStamp.sol +++ b/src/PostageStamp.sol @@ -136,7 +136,6 @@ contract PostageStamp is AccessControl, Pausable { error BatchTooSmall(); // Batch too small to renew error NotBatchOwner(); // Not batch owner error DepthNotIncreasing(); // Depth not increasing - error BatchIsImmutable(); // Batch is immutable error PriceOracleOnly(); // Only price oracle can set the price error InsufficienChunkCount(); // Insufficient valid chunk count error TotalOutpaymentDecreased(); // Current total outpayment should never decrease @@ -344,10 +343,6 @@ contract PostageStamp is AccessControl, Pausable { revert DepthNotIncreasing(); } - if (batch.immutableFlag) { - revert BatchIsImmutable(); - } - if (batch.normalisedBalance <= currentTotalOutPayment()) { revert BatchExpired(); }