Skip to content

the deploy script fails on type error #7

@aniche

Description

@aniche

Followed instruction, got bug

brownie run scripts/governance_standard/deploy_and_run.py
Brownie v1.19.0 - Python development framework for Ethereum

New compatible solc version available: 0.8.14
Compiling contracts...
  Solc version: 0.8.14
  Optimizer: Enabled  Runs: 200
  EVM Version: Istanbul
CompilerError: solc returned the following errors:

TypeError: Data locations of parameters have to be the same when overriding non-external functions, but they differ.
  --> /Users/tinytaplife/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.3.2/contracts/governance/Governor.sol:92:5:
   |
92 |     function hashProposal(
   |     ^ (Relevant source part starts here and spans across multiple lines).
Note: Overridden function is here:
  --> /Users/tinytaplife/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.3.2/contracts/governance/IGovernor.sol:91:5:
   |
91 |     function hashProposal(
   |     ^ (Relevant source part starts here and spans across multiple lines).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions