Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 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.

2 participants