Commit 596c94a6 by github-actions

Merge upstream openzeppelin-contracts into upstream-patched

parents 14f4bc40 fa65bf89
......@@ -2,13 +2,11 @@
pragma solidity >=0.6.0 <0.8.0;
import "../proxy/IBeacon.sol";
contract BadBeaconNoImpl {
}
contract BadBeaconNotContract is IBeacon {
function implementation() external view override returns (address) {
contract BadBeaconNotContract {
function implementation() external view returns (address) {
return address(0x1);
}
}
......@@ -80,7 +80,7 @@ contract('ERC1155Pausable', function (accounts) {
it('reverts when trying to burnBatch', async function () {
await expectRevert(
this.token.burn(holder, [firstTokenId], [firstTokenAmount]),
this.token.burnBatch(holder, [firstTokenId], [firstTokenAmount]),
'ERC1155Pausable: token transfer while paused',
);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment