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

make generated contract abi code reproducible #200

Merged
merged 1 commit into from Feb 19, 2021

Conversation

nanne007
Copy link
Contributor

Motivation

Each time I run abigen, the generated rust code changes for a same contract abi json.
I'd like to make it reproducible.

Solution

Use BtreeMap to hold methods and events definition.

@gakonst
Copy link
Owner

gakonst commented Feb 19, 2021

Excellent idea!

@gakonst gakonst merged commit 732ff29 into gakonst:master Feb 19, 2021
meetmangukiya pushed a commit to meetmangukiya/ethers-rs that referenced this pull request Mar 21, 2022
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.

None yet

2 participants