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

Find a way to optimize gasUsage when deals are being initialized. #4

Closed
artemii235 opened this issue Jan 16, 2018 · 0 comments
Closed
Assignees

Comments

@artemii235
Copy link
Owner

artemii235 commented Jan 16, 2018

ethereum/solidity#2908 - Struct storage in mapping causes multiple SSTORE calls which are the most costly. This results to 140k gas usage which is over 3$ with low gas price = 20 gwei (~1200$ per ETH currently). The idea is to pack everything to bytes array manually and then parse when needed.

@artemii235 artemii235 self-assigned this Jan 16, 2018
@artemii235 artemii235 changed the title Find a way to optimize gasUsage when deals are being initalized. Find a way to optimize gasUsage when deals are being initialized. Jan 16, 2018
artemii235 added a commit that referenced this issue Jan 18, 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

No branches or pull requests

1 participant