Skip to content

Add engine_forkchoiceUpdatedV4 support for BAL#633

Draft
hangleang wants to merge 3 commits intodevelopfrom
feature/engine_forkchoice_updated_v4
Draft

Add engine_forkchoiceUpdatedV4 support for BAL#633
hangleang wants to merge 3 commits intodevelopfrom
feature/engine_forkchoice_updated_v4

Conversation

@hangleang
Copy link
Copy Markdown
Collaborator

No description provided.

@hangleang hangleang force-pushed the feature/engine_forkchoice_updated_v4 branch from 2d92f75 to b7abfd2 Compare March 12, 2026 11:34
@hangleang
Copy link
Copy Markdown
Collaborator Author

Hey @ArtiomTr, Do I also need to update C# code for nethermind integration?

@hangleang hangleang requested a review from ArtiomTr March 12, 2026 11:37
@ArtiomTr
Copy link
Copy Markdown
Collaborator

Hey @ArtiomTr, Do I also need to update C# code for nethermind integration?

yeah probably, as otherwise the grandine-nethermind integration will crash at runtime, when grandine will try to call non-existend method from nethermind.

If you want to, you can keep it as-is for now, I'll implement nethermind side later, after this is merged into develop.

@hangleang
Copy link
Copy Markdown
Collaborator Author

If you want to, you can keep it as-is for now, I'll implement nethermind side later, after this is merged into develop.

I think I got the pattern, I added the binding at ea62bd1

Copy link
Copy Markdown
Collaborator

@ArtiomTr ArtiomTr left a comment

Choose a reason for hiding this comment

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

C# bindings look good

@Tumas
Copy link
Copy Markdown
Member

Tumas commented Mar 13, 2026

I think this will have to wait for a new Nethermind release. Otherwise it will brake the build if we merged it as is.

/disk/workspace/grandine3/bindings/csharp/Grandine.NethermindPlugin/GrandineUtils.cs(268,13): error CS0117: 'PayloadAttributes' does not contain a definition for 'SlotNumber'
/disk/workspace/grandine3/bindings/csharp/Grandine.NethermindPlugin/GrandineEngineApi.cs(264,58): error CS1061: 'IEngineRpcModule' does not contain a definition for 'engine_forkchoiceUpdatedV4' and no accessible extension method 'engine_forkchoiceUpdatedV4' accepting a first argument of type 'IEngineRpcModule' could be found (are you missing a using directive or an assembly reference?)

@hangleang hangleang force-pushed the feature/engine_forkchoice_updated_v4 branch from b1f4c3e to 085cfad Compare March 17, 2026 15:55
@hangleang hangleang marked this pull request as draft March 17, 2026 15:56
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