[ETHEREUM-CONTRACTS] PoolNFTs: remove try/catch #1897
Labels
Project: PROTOCOL-EVMv1
Superfluid protocol EVM v1 implementation in Solidity
Tag: Quality
Related to the quality topic
Team: Protocol
Protocol Core, Sentinel, Peripherals, Protocol Infrastructure Tools & DevOps
What & Why
In #1879 we fixed an issue with the FlowNFTs: the hooks for minting and burning were wrapped in a try/catch and could fail with outofgas. This happened despite code supposed to avoid exactly that.
The Pool NFTs use the same mechanism. We haven't yet observed such internal reverts, but currently can't be confident the same could happen.
AC
The text was updated successfully, but these errors were encountered: