Skip to content

Add Ethereum gas-price caps to Talos actions - #3071

Open
naddison36 wants to merge 14 commits into
masterfrom
codex/talos-gas-price-limits
Open

naddison36 wants to merge 14 commits into
masterfrom
codex/talos-gas-price-limits

Conversation

@naddison36

Copy link
Copy Markdown
Collaborator

Summary

  • Add configurable --max-gas-price defaults for 15 Ethereum Talos actions. Apply the caps to initial submissions and nonce-queue replacements. A stricter runner-wide cap still applies.
  • Skip OUSD Auto Withdrawal when the pending shortfall is zero. Read the withdrawal queue and vault balance at the same block and recheck when a newer block is available before submission.
  • Keep relay messages eligible for retry when high gas prevents submission.
  • Ignore local logs files and directories.

Ethereum gas-price caps and estimated costs

Estimated cost per transaction uses the observed average gas usage at the configured cap and $2,000/ETH. The two withdrawal rows use a one-month sample that excludes zero-shortfall auto withdrawals and queue calls that left the claimable amount unchanged. The other rows use a seven-day sample. Both windows end 6 Dec 2026 at 11:33 am Sydney time. Ethereum transaction history

Ethereum action Default gas-price cap Avg. gas used per tx Avg. USD cost per tx at cap
OUSD Rebase 3 gwei 480,294 $2.88
OETH Rebase 10 gwei 130,487 $2.61
OETH & OUSD Harvest 2 gwei 701,027 $2.80
OUSD Auto Withdrawal 2 gwei 1,148,078 $4.59
Add Withdrawal Liquidity 10 gwei 43,952 $0.88
Snap Balances 10 gwei 46,095 $0.92
Verify Balances 5 gwei 715,044 $7.15
Fee Splitter Distribute 2 gwei 213,557 $0.85
OGN Claim And Forward Rewards 2 gwei 121,955 $0.49
Manage Curve Pool Booster Bribes 2 gwei 1,157,571 $4.63
Manage Merkl Morpho Bribes 2 gwei 560,837 $2.24
Manage Pass-Through 10 gwei 85,718 $1.71
Base → Ethereum Relay 10 gwei 206,896 $4.14
HyperEVM → Ethereum Relay 10 gwei 206,865 $4.14
OETHb V3 Balance Report 2 gwei 420,384 $1.68

Verification

  • pnpm typecheck
  • pnpm test:tasks (187 passing)
  • Verified the action catalogue exposes all 15 defaults and ran git diff --check.

This branch has not been deployed

No deployments
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.

1 participant