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

add gas reporter #175

Merged
merged 1 commit into from
Oct 31, 2023
Merged

add gas reporter #175

merged 1 commit into from
Oct 31, 2023

Conversation

Joachim-Lebrun
Copy link
Collaborator

gas reporter helps to see the gas use of each function in the T-REX suite of contracts and improve performance when necessary

@Joachim-Lebrun Joachim-Lebrun added enhancement New feature or request dependencies Pull requests that update a dependency file labels Oct 30, 2023
@Joachim-Lebrun Joachim-Lebrun self-assigned this Oct 30, 2023
@Joachim-Lebrun
Copy link
Collaborator Author

we used eth-gas-reporter in the past, then removed it, but it seems it improved a lot in the last few years, it was quite useless before as it was just giving the gas cost of unit tests in the console, which was not useful as we almost always do multiple function calls in a single unit test, but now it outputs a table with the gas cost of each method call in the console when launching tests, therefore i think it is way more useful than before and should be re-added

@Joachim-Lebrun Joachim-Lebrun merged commit f93e59e into develop Oct 31, 2023
3 checks passed
@Joachim-Lebrun Joachim-Lebrun deleted the add-gas-reporter branch October 31, 2023 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants