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
When using the CLI's anchor command on Base Sepolia, the transaction can fail because the RPC gas estimation returns ~131,250,000 which exceeds Base Sepolia's per-transaction gas limit of 25,000,000.
This is the same root cause as datafund/swarm_provenance_SDK#45 — the underlying SDK's ChainClient doesn't pass a gas field in sendTransaction, so the RPC node's gas estimation is used, which can return unreasonably high values.
Bug
When using the CLI's
anchorcommand on Base Sepolia, the transaction can fail because the RPC gas estimation returns ~131,250,000 which exceeds Base Sepolia's per-transaction gas limit of 25,000,000.This is the same root cause as datafund/swarm_provenance_SDK#45 — the underlying SDK's
ChainClientdoesn't pass agasfield insendTransaction, so the RPC node's gas estimation is used, which can return unreasonably high values.Error
(The
[object Object]is a separate stringification bug in the SDK — see datafund/swarm_provenance_SDK#45.)Expected behavior
The CLI should either:
--gasflag to let users override the gas limitregisterDatacallsWorkaround
Consumers of the SDK are wrapping the EIP-1193 provider to inject a gas limit before passing it to
fromEip1193Provider:Related