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

Interop: devnet [draft] #11324

Closed
wants to merge 2 commits into from
Closed

Interop: devnet [draft] #11324

wants to merge 2 commits into from

Conversation

protolambda
Copy link
Contributor

@protolambda protolambda commented Aug 1, 2024

Description

This is a draft of a local devnet for Interop.

Tests

Work in progress.

Additional context

The local interop devnet initially started from #10777 but then restarted, to separate out from the legacy devnet, as there were too many incompatibilities (keys of actors, deploy configs, deploy approach, python legacy, etc.) Still, thank you @jinmel for a take on an initial devnet.

Metadata

Fix #11306

@protolambda protolambda added this to the Interop: Devnet 1 milestone Aug 1, 2024
@protolambda protolambda self-assigned this Aug 1, 2024
@protolambda
Copy link
Contributor Author

Blocked by fixing the L1-deploy configuration of the chain setup, i.e. OPStackManager milestone 1 chain configuration to integrate.

@protolambda protolambda changed the base branch from script-target to develop August 19, 2024 20:32
@protolambda
Copy link
Contributor Author

Path to running local devnet:

  1. recipe.go to turn template config into full expanded config
  2. tweak to prefund test accounts, batcher, etc. per chain
  3. CLI command to run above recipe + chain deploy

And will split this PR up into (A) general forge script improvements/utils + (B) deploy code + (C) interop devnet with CLI calling deploy code.

@protolambda protolambda changed the base branch from develop to forge-scripts-improvements August 22, 2024 23:00
Base automatically changed from forge-scripts-improvements to develop August 23, 2024 04:18
@protolambda protolambda changed the base branch from develop to devkeys August 23, 2024 18:03
Base automatically changed from devkeys to develop August 23, 2024 20:16
@@ -25,9 +26,107 @@ struct Deployment {
/// @notice Useful for accessing deployment artifacts from within scripts.
/// When a contract is deployed, call the `save` function to write its name and
/// contract address to disk. Inspired by `forge-deploy`.
/// @dev This uses the DeploymentRegistry contract, to load/store deployments,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer @notice over @dev in natspec comments

Ignore this finding from sol-style-notice-over-dev-natspec.

Copy link
Contributor

semgrep-app bot commented Aug 23, 2024

Semgrep found 3 sol-style-return-arg-fmt findings:

Named return arguments to functions must be appended with an underscore (_)

Ignore this finding from sol-style-return-arg-fmt.

Semgrep found 31 port-all-interfaces findings:

Service port is exposed on all interfaces

Ignore this finding from port-all-interfaces.

@protolambda protolambda changed the base branch from develop to interopgen August 23, 2024 20:34
@protolambda protolambda changed the base branch from interopgen to develop August 23, 2024 20:35
@protolambda
Copy link
Contributor Author

This PR is getting too noisy due to rebases / errors. Building on top of latest deploy tooling here: #11590

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

Successfully merging this pull request may close these issues.

Interop: local devnet
2 participants