-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Add gas reports for validium mode #38
Conversation
…nc-era into test-erc20-pubdata-0
* Add validium example readme * update validium.md and change test name * fmt --------- Co-authored-by: toni-calvin <antonio.calvin@lambdaclass.com>
* Update output readme * Add a note for transactions * Fix note
* remove logs from pubdata * update comment
* Refactor readme example * Fix some comments * Remove validium.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks good. Left some comments and let's add a section on the README about this.
validium_report.sh
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets move this script to validium_mode_example/scripts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Both reports and the graph should be stored in a directory |
Co-authored-by: agolajko <57454127+agolajko@users.noreply.github.com> Co-authored-by: agolajko <agostonlajko@gmail.com> Co-authored-by: Ramon Canales <emaildoramon@gmail.com> Co-authored-by: Yury Akudovich <ya@matterlabs.dev> Co-authored-by: Shahar Kaminsky <sk@matterlabs.dev>
* ci: testing added * test: temporarily commenting out failing tests * ci: cleaned up + added testing * fix: CI syntax * ci: added missing "needs" statement * ci: added missing node-setup * ci: added missing artifacts for cacheing * test: xdescribe and xit instead of commenting * chore: formatting
This is no longer necessary |
What ❔
Adds scripts to run the
validium_mode_example
in validium_mode and rollup_mode, and graph the results.Why ❔
To measure the gas cost reduction in validium mode compared to rollup, consider that does not store pubdata in L1.
Run
In
validium_mode_example/scripts/
directoryFor Validium report run:
This will carate
validium_gas_report.csv
.For Rollup report run:
This will carate
rollup_gas_report.csv
.To create the graph run:
This will create a
graph.png
in that directory.