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: Add superchainconfig fetched from env variables. #57

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

Ethnical
Copy link
Collaborator

@Ethnical Ethnical commented Sep 3, 2024

Description
In this PR, I have added a new required arg.
We can use it from environnement withPSPEXECUTOR_MON_SUPERCHAINCONFIG_ADDRESS or from the cli: --superchainconfig.address.

To use it, we can do:

export PSPEXECUTOR_MON_SUPERCHAINCONFIG_ADDRESS=0xC2Be75506d5724086DEB7245bd260Cc9753911Be 

I have also updated the tests accordingly and make sure the values will be printed at the start of the service.

Tests
I have run the tests and modified to test to ensure this is taking in consideration this arguments.
Additional context

@Ethnical Ethnical marked this pull request as ready for review September 3, 2024 17:40
@Ethnical Ethnical requested a review from a team as a code owner September 3, 2024 17:40
@Ethnical Ethnical merged commit 3a670c6 into main Sep 3, 2024
5 checks passed
@Ethnical Ethnical deleted the ethni/AddNewArgsSuperchain branch September 3, 2024 19:55
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.

2 participants