-
Notifications
You must be signed in to change notification settings - Fork 106
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
Submit message with execution proof #1158
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!! Such a good change. 😄 I would just cleanup the fixtures command a bit, otherwise great.
relayer/cmd/generate_beacon_data.go
Outdated
if !inboundFixturesOnly { | ||
err = writeJSONToFile(initialSync, fmt.Sprintf("%s/%s", pathToBeaconTestFixtureFiles, "initial-checkpoint.json")) | ||
if err != nil { | ||
return err | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be cleaner and clearer to just create a new command than adding all these if !inboundFixturesOnly {
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Clara van Staden <claravanstaden64@gmail.com>
Co-authored-by: Clara van Staden <claravanstaden64@gmail.com>
Co-authored-by: Clara van Staden <claravanstaden64@gmail.com>
inboundMsg.Proof.ExecutionProof = executionProof | ||
|
||
logger.WithFields(logrus.Fields{ | ||
"EventLog": inboundMsg.EventLog, | ||
"Proof": inboundMsg.Proof, | ||
}).Debug("Generated message from Ethereum log") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we maybe log out the containing execution header (or beacon header) hash here? For easier debugging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both are sub-fields of Proof
so should already be in the log.
Requires: Snowfork/polkadot-sdk#125