The smart contract still exposes the legacy field/mechanism for marking a batch as immutable, even though the functionality has been disabled in Swarm for years. While it is still technically possible to purchase batches with this flag set, the flag has no practical effect: all batches are effectively mutable, with behavior determined by whether an existing index is stamped or not.
Bee does not document this legacy behavior, nor does it explain why the contract field still exists. This can mislead developers into thinking the immutable flag is still meaningful.
Determine whether the legacy field can be safely removed from the smart contract.
The smart contract still exposes the legacy field/mechanism for marking a batch as immutable, even though the functionality has been disabled in Swarm for years. While it is still technically possible to purchase batches with this flag set, the flag has no practical effect: all batches are effectively mutable, with behavior determined by whether an existing index is stamped or not.
Bee does not document this legacy behavior, nor does it explain why the contract field still exists. This can mislead developers into thinking the immutable flag is still meaningful.
Determine whether the legacy field can be safely removed from the smart contract.