Skip to content

Commit

Permalink
fix: remove immutable check on storage increase (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError authored Oct 19, 2023
1 parent ecb3069 commit a3d4fe0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/PostageStamp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -344,10 +343,6 @@ contract PostageStamp is AccessControl, Pausable {
revert DepthNotIncreasing();
}

if (batch.immutableFlag) {
revert BatchIsImmutable();
}

if (batch.normalisedBalance <= currentTotalOutPayment()) {
revert BatchExpired();
}
Expand Down

0 comments on commit a3d4fe0

Please sign in to comment.