matter-labs / zksync-cli

CLI tool that simplifies ZKsync development
MIT License
166 stars 96 forks source link

withdraw-finalize fails with gas error #141

Open jugheo opened 5 months ago

jugheo commented 5 months ago

🐛 Bug Report for zkSync CLI

📝 Description

withdraw-finalize fails with gas error

🔄 Reproduction Steps

  1. run npx zksync-cli bridge withdraw-finalize

🤔 Expected Behavior

The withdrawal gets finalised

😯 Current Behavior

One of these two errors shows up and the withdrawal doesn't get finalised:

cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (error={"reason":"execution reverted: xx","code":"UNPREDICTABLE_GAS_LIMIT","method":"estimateGas", ...
cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (error={"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"id\":1,\"error\":{\"code\":-32000,\"message\":\"fee cap less than block base fee: address 0x1234567...., gasFeeCap: 13577057890 baseFee: 14021893374\"}}","error":{"code":-32000},"requestBody": ...

🖥️ Environment

jugheo commented 2 months ago

This is still happening and makes the withdrawal finalisation effectively unusable. Please fix it.

itsacoyote commented 2 months ago

We are currently investigating the bridge withdrawal issue @jugheo