Skip to content

feat: cl get payload v4#706

Merged
kant777 merged 9 commits intomainfrom
feature/cl_get_payload_v4
Jun 25, 2025
Merged

feat: cl get payload v4#706
kant777 merged 9 commits intomainfrom
feature/cl_get_payload_v4

Conversation

@kant777
Copy link
Copy Markdown
Contributor

@kant777 kant777 commented Jun 25, 2025

Erigon requires payloads to be v4. And since we are not using the cl code with geth anywhere, it is safe to merge this with main

@kant777 kant777 force-pushed the feature/cl_get_payload_v4 branch from 3b38eb0 to bf8012d Compare June 25, 2025 09:24
@kant777 kant777 changed the title Feature/cl get payload v4 feat: cl get payload v4 Jun 25, 2025
@kant777 kant777 force-pushed the feature/cl_get_payload_v4 branch from 70cd46b to d416143 Compare June 25, 2025 09:35
Copy link
Copy Markdown
Collaborator

@aloknerurkar aloknerurkar left a comment

Choose a reason for hiding this comment

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

Apart from the small comments LGTM

Comment thread cl/cmd/singlenode/main.go
Usage: "Ethereum address for receiving priority fees (block proposer fee)",
EnvVars: []string{"LEADER_PRIORITY_FEE_RECIPIENT"},
Required: true,
Value: "0xfA0B0f5d298d28EFE4d35641724141ef19C05684",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this on purpose?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes

bb.logger.Debug("newPayload result",
"status", status.Status,
"validationError", status.ValidationError,
"latestValidHash", status.LatestValidHash)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: Indentation in this case should ideally be

Suggested change
"latestValidHash", status.LatestValidHash)
"latestValidHash", status.LatestValidHash,
)

Improves clarity with line between next control statement

@kant777 kant777 merged commit 76e0be2 into main Jun 25, 2025
5 checks passed
@kant777 kant777 deleted the feature/cl_get_payload_v4 branch June 25, 2025 13:33
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