You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current code only support ETH as native currency for L2, it relied on the gas_adjustement package to define how much we are okay to pay for the L1 transaction
Create a new table or update existing table in DB to store the coefficient value (CRUD db functions need to be supported by the utility module). The value will be updated by the oracle service ([Core] Development of an oracle service #16)
Modify the l1_gas_price package and any reference to the gas_price (in web3 api endpoint) to be sure to multiple by the coefficient factor when fetching the gas price
Perform minimal changes is required to avoid diverging with upstream
The text was updated successfully, but these errors were encountered:
thomas-nguy
changed the title
[Core] Support of a adjustment coefficient for the gas price
[Core] Support of an adjustment coefficient for the gas price
Jul 10, 2023
https://github.com/cronos-labs/zksync-era/tree/internal/core/bin/zksync_core/src/l1_gas_price
Tasks involve :
Create a new table or update existing table in DB to store the coefficient value (CRUD db functions need to be supported by the utility module). The value will be updated by the oracle service ([Core] Development of an oracle service #16)
Modify the l1_gas_price package and any reference to the gas_price (in web3 api endpoint) to be sure to multiple by the coefficient factor when fetching the gas price
Perform minimal changes is required to avoid diverging with upstream
The text was updated successfully, but these errors were encountered: