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 validium gasUsed examples #34

Merged
merged 3 commits into from
Jan 15, 2024

Conversation

jordibonet-lambdaclass
Copy link

@jordibonet-lambdaclass jordibonet-lambdaclass commented Jan 15, 2024

What ❔

The purpose of this pr is to update the actual document explaining how to use validium-mode and how to run an example.

Why ❔

It is necessary to run some examples/tests to check and compare the validium-mode feature.

To execute the example follow the guidelines in validium.md file.

@toni-calvin toni-calvin linked an issue Jan 15, 2024 that may be closed by this pull request
Copy link
Collaborator

@mationorato mationorato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@mationorato mationorato merged commit cff8bfd into validium_mode_pubdata_0_env Jan 15, 2024
4 of 9 checks passed
@mationorato mationorato deleted the add-validium-example branch January 15, 2024 18:34
@mationorato mationorato changed the title Add validium example readme Add validium gasUsed examples + Readme Jan 17, 2024
@mationorato mationorato changed the title Add validium gasUsed examples + Readme Add validium gasUsed examples Jan 17, 2024
ilitteri pushed a commit that referenced this pull request Jan 19, 2024
* set pubdata constants to 0

* Set  to 0

* Create contract for writing bytes

* Deploy bytes contract

* update full node to use rpc providers

* fmt

* add colored prints

* add better debug logs

* add better logs

* add erc20 contract and update test

* update logs

* print gas used

* Use `ETH_SENDER_SENDER_VALIDIUM_MODE` to check whether we need to charge the pubdata

* wip

* wip 2: just change runtime behavior

* Restore original values

* Add validium example readme (#34)

* Add validium example readme

* update validium.md and change test name

* fmt

---------

Co-authored-by: toni-calvin <[email protected]>

* Only keep changes for vm_latest

* Fix submodule

* Fix integration test license

* change contracts branch

* Remove l1 gas data

* Update submodule branch

* fix: update output readme (#39)

* Update output readme

* Add a note for transactions

* Fix note

* feat: remove logs pubdata (#42)

* remove logs from pubdata

* update comment

* feat: refactor readme example (#44)

* Refactor readme example

* Fix some comments

* Remove validium.md

* Remove debug prints

* Remove debug files

* zk fmt

---------

Co-authored-by: toni-calvin <[email protected]>
Co-authored-by: Ivan Litteri <[email protected]>
Co-authored-by: Jordi <[email protected]>
Co-authored-by: Jordi <[email protected]>
Co-authored-by: Matías Onorato <[email protected]>
Co-authored-by: Antonio Calvín García <[email protected]>
juan518munoz pushed a commit that referenced this pull request Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename zksync_full_stack example
5 participants