Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

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

Merged
darioush merged 5 commits intomasterfrom
reduce-diff-coreth
Jan 28, 2025
Merged

refactor: align accounts/abi/bind with coreth+upstream#1427
darioush merged 5 commits intomasterfrom
reduce-diff-coreth

Conversation

@darioush
Copy link
Copy Markdown

@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 a team and ceyonur 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
Copy Markdown
Contributor

@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

Comment thread accounts/abi/bind/bind_extra.go Outdated
Comment thread accounts/abi/bind/bind_extra.go Outdated
Comment thread cmd/abigen/namefilter.go
Comment thread cmd/abigen/namefilter_test.go
Comment thread triedb/pathdb/database_test.go
Co-authored-by: Quentin McGaw <quentin.mcgaw@avalabs.org>
Signed-off-by: Darioush Jalali <darioush.jalali@avalabs.org>
@darioush darioush dismissed stale reviews from qdm12 and ceyonur via 5f35962 January 24, 2025 18:28
Darioush Jalali and others added 2 commits January 24, 2025 10:28
Co-authored-by: Quentin McGaw <quentin.mcgaw@avalabs.org>
Signed-off-by: Darioush Jalali <darioush.jalali@avalabs.org>
@darioush darioush merged commit 195f473 into master Jan 28, 2025
@darioush darioush deleted the reduce-diff-coreth branch January 28, 2025 14:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants