Skip to content

Bug: Missing parameter in _verifyContractsInitialized() call #950

@pablodeymo

Description

@pablodeymo

In the mainnet branch, the new version of the function _verifyContractsInitialized receives a parameters that wasn't receiving in previous versions.

function _verifyContractsInitialized(bool /** isInitialDeployment **/)

The file script/deploy/holesky/upgrade_preprod_rewardsCoordinator.s.sol has a call to that function without the parameter in the line 40, so the compilation of this file is giving an error: _verifyContractsInitialized();

To Reproduce
Steps to reproduce the behavior:

  1. In the mainnet branch, in the root of the repo, run the command: forge build

You will get:

[⠒] Compiling...
[⠔] Compiling 1 files with Solc 0.8.12
[⠒] Solc 0.8.12 finished in 313.27ms
Error: 
Compiler run failed:
Error (6160): Wrong argument count for function call: 0 arguments given but expected 1.
  --> script/deploy/holesky/upgrade_preprod_rewardsCoordinator.s.sol:40:9:
   |
40 |         _verifyContractsInitialized();
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment
Enter important environment info needed to reproduce the bug.

  • [e.g. chrome, safari]
  • [e.g. version]

Don't Forget To

  • Assign this to a project (our default is eigenlayer)
  • Add priority + size estimate
  • Set status to New

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 BugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions