Am I correct in seeing that pre-0.6.0, a Paused contract would still allow burning, but post-0.6.0 it would not because of the way _beforeTokenTransfer is implemented?
Yes, that is how it appears to me.
In OpenZeppelin Contracts 2.5 burning wasn’t impacted by Pausable, whilst in OpenZeppelin Contracts 3.0 burning is impacted by Pausable.
Hi @abcoathup! IMO this is a change significant enough to be considered a “breaking change”? People combining these two contracts in 2.5 should be (made) aware of the new behaviour?
This would be a breaking change going from OpenZeppelin Contracts 2.5 to 3.0.
OpenZeppelin Contracts 2.5 Pausable didn’t pause ERC20 burn.
OpenZeppelin Contracts 3.0 Pausable does pause ERC20 burn.