Conversation
|
I would love some feedback on the actual logging here. This currently logs only if the chain is in the bellatrix fork and the chain hasn't hit ttd. Currently, if you have everything setup correctly, this should log something like If the execution layer is not synced, it will log If the execution layer isn't configured with Still needs testing with more edge cases, but want to get feedback on changing the wording or adding additional parameters to the logs. |
|
Very cool! The only suggestion I have regarding the log output is to rename the On another note, I was looking at #3260 and it talks about an API endpoint that displays similar info to this. I have a sketch of how we might be able to compute such info on the beacon chain and then use it in the client notifier and in the HTTP API: It's pretty rough, but maybe you could integrate your TTD stuff into something like that and we could reuse it to resolve #3260 as well (I'm open to that being in another PR if you like). |
|
Ohh didn't realise we are looking to expose merge readiness over an http endpoint as well. I like your approach better in that case. Will refactor this one with your approach and then make a separate PR for the http api. |
|
Another thing to consider is if we should log something for |
|
Cool, I think it'll be super easy to add the HTTP endpoints with this format. I've made some suggestions over in https://github.com/paulhauner/lighthouse/tree/log-ttd-paul:
Examples from my testingReady for the mergeI had to hack a Ropsten node to display this, that's why the TTD is high. No
|
|
@paulhauner Pulled in your changes as is. Couldn't fault it 👌 |
paulhauner
left a comment
There was a problem hiding this comment.
Yay! Let's merge it!
bors r+
Issue Addressed
Resolves #3249
Proposed Changes
Log merge related parameters and EE status in the beacon notifier before the merge.