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

truffle: enable 200 optimizer runs on tests #54

Merged
merged 1 commit into from
Dec 12, 2017

Conversation

benjaminbollen
Copy link
Contributor

fixes #53

this now produces the exact same gas consumption on in the integration test of openst-protocol as it does on the deployment tests of openst-platform on ropsten:

OpenSTValue.new                            2889358
OpenSTUtility.new                            4503101

truffle.js Outdated
optimizer: {
enabled: true,
runs: 200
}
}
};
Copy link
Contributor

Choose a reason for hiding this comment

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

should we add little comment on optimizer specifically on runs: 200?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will add

@benjaminbollen benjaminbollen force-pushed the benjaminbollen/gh53/truffleoptimise branch from 04ea4a3 to f11fc25 Compare December 12, 2017 13:14
@abhayks1 abhayks1 merged commit 5595f4a into develop Dec 12, 2017
@benjaminbollen benjaminbollen deleted the benjaminbollen/gh53/truffleoptimise branch December 12, 2017 14:17
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.

Run truffle test with optimised compilation
2 participants