Skip to content

[Deployment] zkSync era testnet randomly gives not enough gas to publish compressed bytecodes #550

Discussion options

You must be logged in to vote

TL;DR - this was probably caused by sepolia's (L1) blob price spike.
(@bxpana - we should add also a field (next to environment), where user can mention the current block height - would help with explaining issues like this).

Longer description:

ZKsync is a rollup, so our users have to pay a fee for pubdata that is then sent to L1. As L1 price (to be exact blob price) can be volatile, we model this volatility by changing the amount of gas that the L2 transaction has to pay when writing a byte to storage (or for example publishing the bytecode).

We rolled out the feature last week to zks_getBlockDetails that returns the current cost of pubdata publishing.

To show this on a concrete example:

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@PatrickAlphaC
Comment options

Answer selected by bxpana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Questions for deployment
3 participants