Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
596c94a6
Commit
596c94a6
authored
Nov 30, 2020
by
github-actions
Browse files
Options
Browse Files
Download
Plain Diff
Merge upstream openzeppelin-contracts into upstream-patched
parents
14f4bc40
fa65bf89
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
BadBeacon.sol
contracts/mocks/BadBeacon.sol
+2
-4
package-lock.json
package-lock.json
+0
-0
ERC1155Pausable.test.js
test/token/ERC1155/ERC1155Pausable.test.js
+1
-1
No files found.
contracts/mocks/BadBeacon.sol
View file @
596c94a6
...
...
@@ -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);
}
}
package-lock.json
View file @
596c94a6
This diff is collapsed.
Click to expand it.
test/token/ERC1155/ERC1155Pausable.test.js
View file @
596c94a6
...
...
@@ -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
.
burn
Batch
(
holder
,
[
firstTokenId
],
[
firstTokenAmount
]),
'ERC1155Pausable: token transfer while paused'
,
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment