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

Make functions appear in source-file order in all ABIs #42

Merged
merged 2 commits into from
Jan 19, 2018

Conversation

cgewecke
Copy link
Contributor

Rewrites contract ABIs so that functions are listed in the same order they appear in the source file and solidity tests execute in the sequence their author expects.

PR just migrates code from truffle-solidity-utils and adapts its parsing for solc's ast.

Part of removing vestigial dependence onsolidity-parser to fix truffle-695 / truffle-707

@cgewecke
Copy link
Contributor Author

This needs tests.

Copy link
Contributor

@gnidan gnidan left a comment

Choose a reason for hiding this comment

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

Tests look awesome!

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.

Contract is not compilable if it's located in test/someFolder directory which contains Structs
2 participants