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

feat: fund l2 accounts and deploy deterministic deployment proxy #316

Open
wants to merge 38 commits into
base: main
Choose a base branch
from

Conversation

minhd-vu
Copy link
Contributor

@minhd-vu minhd-vu commented Oct 16, 2024

Description

  • Funds accounts on l2
  • Adds DEFAULT_L2_ARGS to determine how many and how much to fund
  • Deploys deterministic deployment proxy to both L1 and L2

References (if applicable)

@@ -17,7 +17,7 @@
# WARNING (SC1091): (Sourced) file not included in mock.
# hadolint ignore=DL3008,DL3013,DL4006,SC1091
RUN apt-get update \
&& apt-get install --yes --no-install-recommends curl git jq pipx \
&& apt-get install --yes --no-install-recommends curl git jq pipx nodejs npm \

Check notice

Code scanning / SonarCloud

Arguments in long RUN instructions should be sorted

<!--SONAR_ISSUE_KEY:AZK1eCyy117yESGJTC9d-->Sort these package names alphanumerically. <p>See more on <a href="https://sonarcloud.io/project/issues?id=0xPolygon_kurtosis-cdk&issues=AZK1eCyy117yESGJTC9d&open=AZK1eCyy117yESGJTC9d&pullRequest=316">SonarCloud</a></p>
@minhd-vu minhd-vu changed the title feat: fund l2 accounts feat: fund l2 accounts and deploy deterministic deployment proxy Oct 23, 2024
@minhd-vu minhd-vu marked this pull request as ready for review October 24, 2024 17:50
}

DEFAULT_IMAGES = {
"agglayer_image": "ghcr.io/agglayer/agglayer:feature-storage-adding-epoch-packing", # https://github.com/agglayer/agglayer/pkgs/container/agglayer-rs
"cdk_erigon_node_image": "hermeznetwork/cdk-erigon:v2.1.0", # https://hub.docker.com/r/hermeznetwork/cdk-erigon/tags
"cdk_node_image": "ghcr.io/0xpolygon/cdk:0.3.0", # https://github.com/0xpolygon/cdk/pkgs/container/cdk
"cdk_validium_node_image": "0xpolygon/cdk-validium-node:0.7.0-cdk", # https://hub.docker.com/r/0xpolygon/cdk-validium-node/tags
"l2_contracts_image": "minhdvu/toolbox:0.0.7", # https://hub.docker.com/r/leovct/toolbox/tags
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@leovct I'll update this if you think the image looks good and when you push the new tag to your account.

Copy link
Member

@leovct leovct Oct 24, 2024

Choose a reason for hiding this comment

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

You built it using latest commit of polycli?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there have been new commits since then, but latest will work

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah nevermind, hold off on this for now, it may not be needed

Copy link
Member

Choose a reason for hiding this comment

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

I'm working on a small script to automate this image build process btw, soon you won't need me :)

Copy link

sonarcloud bot commented Oct 25, 2024

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

Successfully merging this pull request may close these issues.

3 participants