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

Update boba bindings #63

Merged
merged 2 commits into from
Oct 5, 2023
Merged

Update boba bindings #63

merged 2 commits into from
Oct 5, 2023

Conversation

jyellick
Copy link

@jyellick jyellick commented Oct 5, 2023

This updates the boba-bindings/go.mod and op-erigon/go.mod to reference our latest version of the Erigon fork.

Because the newer version creates many conflicting symbols in the bindings generation, the generation code has been modified to track what type names and function names have already been generated, and to delete any new instances of these names from subsequent generated files. A warning is emitted to help users notice this is going on.

Using the latest Erigon seems to create many more symbol conflicts for
the binding generation.  This commit takes the approach of simply
detecting duplicate type names and function names, and removing them
from the AST.  This is certainly a hack, but easier than trying to
maintain things as a fork upstream.
@jyellick jyellick merged commit 19725f7 into develop Oct 5, 2023
@jyellick jyellick deleted the jyellick/update-boba-bindings branch October 5, 2023 18:06
@jyellick jyellick mentioned this pull request Oct 5, 2023
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