-
Notifications
You must be signed in to change notification settings - Fork 8
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
Gas optimization for contracts/TalentLayerEscrow.sol
#127
Comments
optimisation of
to
reduces gas to 5095482 |
contracts/TalentLayerEscrow.sol
reduction to 5095470
|
to 5093526
|
5092038
|
further areas for optimization:
|
As the deployment of the contract will cost only 0,9$ on Polygon, we will ponderate any deployment optimization that impact deployment gas only and which have impacts on code readability. In most of case here, it reduce the readability here. For example, on struct Transaction it's more readable to start with id, sender, receiver, token, amount.. |
The initial struct in
contracts/TalentLayerEscrow.sol
change to
#126
further reduced gas estimate to 5096571 from 5198083
There are definitely more gas optimizations
The text was updated successfully, but these errors were encountered: