Skip to content

Gas Optimization Bounty submission #4 #464

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

Merged
merged 4 commits into from
Aug 15, 2023

Conversation

nkrishang
Copy link
Contributor

@nkrishang nkrishang commented Aug 14, 2023

Summary

Submission Contributor Contracts Target gas report gasreport.txt Current gas report gasreport.txt
#463 https://github.com/kien-ngo Pack.sol 83b5cb3 e65681e

% of overall gas reduced in target contracts: 9.30%
Total gas before: 170_256 after: 154_414 (ref: src/test/benchmark/PackBenchmark.t.sol)

nkrishang and others added 4 commits August 14, 2023 13:46
* Optimize function getRewardUnits

* yarn gas

* Prettier Pack.sol

* Yarn gas

* Update lib/chainlink

* Submodule chainlink

* Reverted submodule reference to 9d5ec20aa7c03c5f08722fa88f621075d300dcc1

---------

Co-authored-by: nkrishang <[email protected]>
@kien-ngo
Copy link

(ref: src/test/benchmark/EditionStake.t.sol)

@nkrishang I think the ref would be src/test/benchmark/PackBenchmark.t.sol?

@nkrishang nkrishang merged commit 8d50a49 into main Aug 15, 2023
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.

2 participants