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

Rename web3 provider flag to execution endpoint #11133

Merged
merged 7 commits into from
Aug 11, 2022
Merged

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Jul 29, 2022

Rename --http-web3provider to --execution-endpoint. Change default default port to 8551

// ExecutionEngineEndpoint provides an HTTP access endpoint to connect to an execution client on the execution layer
ExecutionEngineEndpoint = &cli.StringFlag{
Name: "execution-endpoint",
Usage: "An execution client http endpoint. Can contain auth header as well in the format",
Copy link
Member

Choose a reason for hiding this comment

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

If you add an alias for the old flag name, then this isn't really a breaking change.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good pt. I added the alias but updated the default port to 8551 since 8545 is no longer relevant post merge. Due to port changes, it's breaking now

@terencechain terencechain marked this pull request as ready for review August 11, 2022 20:13
@terencechain terencechain requested a review from a team as a code owner August 11, 2022 20:13
Name: "execution-endpoint",
Usage: "An execution client http endpoint. Can contain auth header as well in the format",
Value: "http://localhost:8551",
Aliases: []string{"http-web3provider"},
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm tempted to add this alias, so it's not a complete breaker, anyone has an opinion here?

@terencechain terencechain added Ready For Review A pull request ready for code review OK to merge labels Aug 11, 2022
@prylabs-bulldozer prylabs-bulldozer bot merged commit d72e42b into develop Aug 11, 2022
@delete-merged-branch delete-merged-branch bot deleted the ee-flag branch August 11, 2022 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants