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

(Fix) Reduce gas spending, improve migrations, and minor enhancements #171

Merged
merged 1 commit into from
Aug 23, 2018

Conversation

varasev
Copy link
Contributor

@varasev varasev commented Aug 23, 2018

(Mandatory) Description

Changes made:

  • all string constants were changed to bytes32 constants to save a significant amount of gas for deployment;
  • assigning to function's parameters was removed for some functions;
  • IEternalStorageProxy interface is now explicitly implemented;
  • scripts/getDeployEstimateGas.js script was improved to take into account the EternalStorageProxy contract;
  • migration scripts in scripts/migrate directory were improved to handle possible exceptions and to be able to make repeated tries.

(Mandatory) What is it: (Fix), (Feature), or (Refactor)
(Fix)

@varasev varasev merged commit 291289b into poanetwork:security-audit Aug 23, 2018
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.

1 participant