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

zkSync L1 gas Price calculation oracle #13498

Merged
merged 5 commits into from
Jun 12, 2024
Merged

zkSync L1 gas Price calculation oracle #13498

merged 5 commits into from
Jun 12, 2024

Conversation

simsonraj
Copy link
Contributor

@simsonraj simsonraj commented Jun 11, 2024

ZkSync L1 Gas price calculation by multiplying gasPerPubDataByte * L2GasPrice

@simsonraj simsonraj requested a review from a team as a code owner June 11, 2024 10:06
matYang
matYang previously approved these changes Jun 12, 2024
return
}

// For zkSync l1_price_per_pubdata ~= gas_price_on_l2 * l2_gas_PerPubdataByte
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: explicitly specify is it per byte, like l1_price_per_pubdata_byte, as opposed to pubdata gas or slot

@simsonraj simsonraj added this pull request to the merge queue Jun 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 12, 2024
@simsonraj simsonraj added this pull request to the merge queue Jun 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 12, 2024
@simsonraj simsonraj added this pull request to the merge queue Jun 12, 2024
Merged via the queue into develop with commit c6f1b30 Jun 12, 2024
106 checks passed
@simsonraj simsonraj deleted the zksync-l1oracle branch June 12, 2024 20:13
asoliman92 pushed a commit that referenced this pull request Jul 31, 2024
* zkSync L1 Oracle gas Price

* fix tests & issues

* addressed comments

* added changeset

* Addressed comments
asoliman92 pushed a commit that referenced this pull request Jul 31, 2024
* zkSync L1 Oracle gas Price

* fix tests & issues

* addressed comments

* added changeset

* Addressed comments

## Motivation
Merging the commit
c6f1b30

## Solution
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.

4 participants