base-org / pessimism

Detect real-time threats and events on OP Stack compatible blockchains
https://base-org.github.io/pessimism/
MIT License
1.54k stars 435 forks source link

[BUG] Locally generated devnet allocations can misalign w/ go imported OP Monorepo code #172

Closed epociask closed 12 months ago

epociask commented 1 year ago

Problem

devnet-allocs.sh script pulls the most recent version of the optimism monorepo to leverage its devnet genesis file state generation. This operation is critical for running for the op-e2e testing framework which is imported by Pessimism. The op-e2e framework, as well as other dependencies leverage a specific version of the Optimism monrepo go software that is different from the one used (latest) for generating devnet files.

Solution

Bind an optimism monorepo dependency version to the git fetching logic to enforce strict version compatibility between generated devnet resources and imported go dependency.