Skip to content

fix(staking): retry once on out of gas via SendAndWait - #5700

Merged
gacevicljubisa merged 1 commit into
masterfrom
fix/staking-send-and-wait
Nov 15, 2026
Merged

gacevicljubisa merged 1 commit into
masterfrom
fix/staking-send-and-wait

Conversation

@gacevicljubisa

Copy link
Copy Markdown
Member

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have added or updated fuzz targets for any code handling untrusted input.
  • I have filled out the description and linked the related issues.

Description

Follow-up to #5668. Staking transactions (approve, manageStake, withdraw, migrate) now use SendAndWait instead of the inline send/wait/check, so an out-of-gas with an estimated gas limit is retried once with twice the limit. NoMinEstimatedGasLimit floor: the staking contract has no loops, so the gas cost does not change with the block number.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

AI Disclosure

  • This PR contains code that has been generated by an LLM.
  • I have reviewed the AI generated code thoroughly.
  • I possess the technical expertise to responsibly review the code generated in this PR.

@gacevicljubisa
gacevicljubisa merged commit 4c70c08 into master Nov 15, 2026
18 checks passed
@gacevicljubisa
gacevicljubisa deleted the fix/staking-send-and-wait branch November 15, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants