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

refactor: align accounts/abi/bind with coreth+upstream #1427

Merged
merged 5 commits into from
Jan 28, 2025

Conversation

darioush
Copy link
Collaborator

@darioush darioush commented Jan 22, 2025

Includes changes to the accounts/abi/bind package, focusing on renaming types and functions for consistency with upstream and coreth by moving some functionality to a new file.

The most important changes include renaming TmplContract, TmplMethod, and TmplStruct to tmplContract, tmplMethod, and tmplStruct, respectively, and moving the BindHook function and related types to a new file bind_extra.go.

This makes our modifications much clearer.

Some additional cosmetic changes are also reduced.

@darioush darioush changed the title reduces diffs with coreth refactor: align accounts/abi/bind with coreth+upstream Jan 22, 2025
@darioush darioush marked this pull request as ready for review January 22, 2025 01:17
@darioush darioush requested review from ceyonur and a team as code owners January 22, 2025 01:17
ceyonur
ceyonur previously approved these changes Jan 22, 2025
qdm12
qdm12 previously approved these changes Jan 24, 2025
Copy link
Collaborator

@qdm12 qdm12 left a comment

Choose a reason for hiding this comment

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

👍 Just a few minor comments

accounts/abi/bind/bind_extra.go Outdated Show resolved Hide resolved
accounts/abi/bind/bind_extra.go Outdated Show resolved Hide resolved
cmd/abigen/namefilter.go Show resolved Hide resolved
cmd/abigen/namefilter_test.go Show resolved Hide resolved
triedb/pathdb/database_test.go Show resolved Hide resolved
Co-authored-by: Quentin McGaw <[email protected]>
Signed-off-by: Darioush Jalali <[email protected]>
@darioush darioush dismissed stale reviews from qdm12 and ceyonur via 5f35962 January 24, 2025 18:28
@darioush darioush merged commit 195f473 into master Jan 28, 2025
13 checks passed
@darioush darioush deleted the reduce-diff-coreth branch January 28, 2025 14:42
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