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
494cc6d3
Commit
494cc6d3
authored
Aug 13, 2021
by
Francisco Giordano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo casted -> cast
(cherry picked from commit
b174f067
)
parent
7072b623
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Governor.test.js
test/governance/Governor.test.js
+1
-1
GovernorCompatibilityBravo.test.js
...vernance/compatibility/GovernorCompatibilityBravo.test.js
+2
-2
No files found.
test/governance/Governor.test.js
View file @
494cc6d3
...
@@ -440,7 +440,7 @@ contract('Governor', function (accounts) {
...
@@ -440,7 +440,7 @@ contract('Governor', function (accounts) {
voter
:
voter1
,
voter
:
voter1
,
weight
:
web3
.
utils
.
toWei
(
'5'
),
weight
:
web3
.
utils
.
toWei
(
'5'
),
support
:
Enums
.
VoteType
.
For
,
support
:
Enums
.
VoteType
.
For
,
error
:
'GovernorVotingSimple: vote already cast
ed
'
,
error
:
'GovernorVotingSimple: vote already cast'
,
},
},
],
],
};
};
...
...
test/governance/compatibility/GovernorCompatibilityBravo.test.js
View file @
494cc6d3
...
@@ -110,7 +110,7 @@ contract('GovernorCompatibilityBravo', function (accounts) {
...
@@ -110,7 +110,7 @@ contract('GovernorCompatibilityBravo', function (accounts) {
{
{
voter
:
voter1
,
voter
:
voter1
,
support
:
Enums
.
VoteType
.
For
,
support
:
Enums
.
VoteType
.
For
,
error
:
'GovernorCompatibilityBravo: vote already cast
ed
'
,
error
:
'GovernorCompatibilityBravo: vote already cast'
,
skip
:
true
,
skip
:
true
,
},
},
],
],
...
@@ -296,7 +296,7 @@ contract('GovernorCompatibilityBravo', function (accounts) {
...
@@ -296,7 +296,7 @@ contract('GovernorCompatibilityBravo', function (accounts) {
{
{
voter
:
voter1
,
voter
:
voter1
,
support
:
Enums
.
VoteType
.
For
,
support
:
Enums
.
VoteType
.
For
,
error
:
'GovernorCompatibilityBravo: vote already cast
ed
'
,
error
:
'GovernorCompatibilityBravo: vote already cast'
,
skip
:
true
,
skip
:
true
,
},
},
],
],
...
...
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