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

Post merge polish #4127

Closed
wants to merge 4 commits into from
Closed

Post merge polish #4127

wants to merge 4 commits into from

Conversation

mratsim
Copy link
Contributor

@mratsim mratsim commented Sep 16, 2022

Some post-merge polish after looking at some log files:

  • Say that we are connected to an Execution Client (not just Engine API which is a technical term users don't care about)
  • Use Execution/Consensus instead of eth1 / eth2 in user logs (not done for debug)

One thing that was recurring as well is the people not updating --web3-url=http://localhost:8545 to --web3-url=http://localhost:8551 (or websocket).

I think we need to add a log whether we are connected as a mere web3 (to monitor deposits), or as a fully-fledged CL. Though now that mainnet is switch to PoS, maybe there is no interest at all in pre-PoS with deposit monitoring as all chains of interest have moved to PoS? Or use a different consensus algorithms already integrated within an EL (for rollups for example).

Notably missing: do we send a stub to the ELs on mainnet or do we like today send the actual expected values?

@mratsim
Copy link
Contributor Author

mratsim commented Sep 16, 2022

TODO overlap with #4126 @arnetheduck

@@ -580,45 +580,46 @@ proc exchangeTransitionConfiguration*(p: Eth1Monitor): Future[EtcStatus] {.async
consensusCfg),
timeout = 1.seconds)
except CatchableError as err:
error "Failed to exchange transition configuration", err = err.msg
error "Failed to exchange transition configuration witrh Execution Client", err = err.msg
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
error "Failed to exchange transition configuration witrh Execution Client", err = err.msg
error "Failed to exchange transition configuration with execution client", err = err.msg

@tersec
Copy link
Contributor

tersec commented Sep 16, 2022

In general, are "execution layer" and "execution client" treated as proper nouns by the spec? I agree with using that rather than engine API, but I'm not sure about the capitalization here.

@arnetheduck
Copy link
Member

If I were changing the strings, I'd probably hint about engine configuration somewhere at least, given that in executions clients one has to enable the engine api specifically

@arnetheduck
Copy link
Member

#4126 needs to go in before this one though - until then, we're simply not sending the right messages at the right time and whatever we print here will not be right

@github-actions
Copy link

Unit Test Results

       12 files       860 suites   1h 7m 32s ⏱️
  1 982 tests   1 835 ✔️ 147 💤 0
10 662 runs  10 472 ✔️ 190 💤 0

Results for commit 30d48ee.

@arnetheduck
Copy link
Member

these changes have been, or are being, incorporated in various other PR:s, closing for now

@arnetheduck arnetheduck closed this Mar 2, 2023
@arnetheduck arnetheduck deleted the post-merge-polish branch March 2, 2023 16:27
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