You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
truffle migrate --reset
CompileError: TypeError: Data locations of parameters have to be the same when overriding non-external functions, but they differ.
--> @openzeppelin/contracts/governance/Governor.sol:100:5:
|
100 | function hashProposal(
| ^ (Relevant source part starts here and spans across multiple lines).
Note: Overridden function is here:
--> @openzeppelin/contracts/governance/IGovernor.sol:92:5:
|
92 | function hashProposal(
| ^ (Relevant source part starts here and spans across multiple lines).
Compilation failed. See above.
at /usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/run.js:95:1
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/run.js:28:43)
The text was updated successfully, but these errors were encountered:
truffle migrate --reset
CompileError: TypeError: Data locations of parameters have to be the same when overriding non-external functions, but they differ.
--> @openzeppelin/contracts/governance/Governor.sol:100:5:
|
100 | function hashProposal(
| ^ (Relevant source part starts here and spans across multiple lines).
Note: Overridden function is here:
--> @openzeppelin/contracts/governance/IGovernor.sol:92:5:
|
92 | function hashProposal(
| ^ (Relevant source part starts here and spans across multiple lines).
Compilation failed. See above.
at /usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/run.js:95:1
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/run.js:28:43)
The text was updated successfully, but these errors were encountered: