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

Added Basic Gas Profiling #37

Merged
merged 2 commits into from
Feb 7, 2024
Merged

Added Basic Gas Profiling #37

merged 2 commits into from
Feb 7, 2024

Conversation

remedcu
Copy link
Member

@remedcu remedcu commented Feb 7, 2024

This PR adds the basic gas profiling by utilizing the hardhat-gas-reporter within the Hardhat Toolbox. This provides us with the details regarding the gas used by each function within the SafeTokenLock.

It edits the test npm script to remove the --deploy-fixture due to a known bug in the hardhat gas reporter plugin.

The gas reporter only reports gas usage on SafeTokenLock, and the rest of the contracts are removed from the report intentionally.

Closes #22

@remedcu remedcu self-assigned this Feb 7, 2024
@remedcu remedcu requested a review from a team as a code owner February 7, 2024 09:41
@remedcu remedcu requested review from rmeissner, nlordell, akshay-ap and mmv08 and removed request for a team February 7, 2024 09:41
@remedcu remedcu enabled auto-merge (squash) February 7, 2024 09:43
@remedcu remedcu merged commit 0dedca8 into main Feb 7, 2024
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 7, 2024
@remedcu remedcu deleted the basic-gas-profiling branch February 8, 2024 09:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Basic Gas Profiling for SafeTokenLock Functions
2 participants