Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS run is error #1

Open
tangguo13 opened this issue Oct 17, 2022 · 0 comments
Open

macOS run is error #1

tangguo13 opened this issue Oct 17, 2022 · 0 comments

Comments

@tangguo13
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant