zksync-cli icon indicating copy to clipboard operation
zksync-cli copied to clipboard

withdraw-finalize fails with gas error

Open jugheo opened this issue 1 year ago • 3 comments

🐛 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

  • Package version: 1.7.1
  • Node version: 22
  • NPM/Yarn version: 10.7.0

jugheo avatar May 22 '24 04:05 jugheo

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

jugheo avatar Aug 14 '24 23:08 jugheo

We are currently investigating the bridge withdrawal issue @jugheo

itsacoyote avatar Aug 16 '24 14:08 itsacoyote

Related to #185

dutterbutter avatar Apr 11 '25 15:04 dutterbutter