Skip to content

feat: configure self-funded gas multiplier - #2669

Merged
rsodre merged 5 commits into
mainfrom
centaur/configurable-self-funded-gas-1788546199
Sep 4, 2026
Merged

rsodre merged 5 commits into
mainfrom
centaur/configurable-self-funded-gas-1788546199

Conversation

@joystick-gg

@joystick-gg joystick-gg Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Adds selfFundedGasMultiplier to ControllerOptions, validates the supported 1.5–10 range, and forwards it through iframe and standalone Keychain flows. Keychain applies the value to direct self-funded execution and the paymaster-unavailable session fallback through the stable @cartridge/controller-wasm@0.10.2 release.

The multiplier now applies exactly once: Keychain preserves raw gas-consumed estimates while retaining the existing gas-price buffer, and malformed or out-of-range URL values fall back to the WASM default. Existing integrations retain the 1.5 default and paymaster behavior is unchanged.

Prompted by: mataleone

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
controller-example-next Ready Ready Preview Sep 4, 2026 9:12pm UTC
controller-ui Ready Ready Preview Sep 4, 2026 9:12pm UTC
keychain Ready Ready Preview Sep 4, 2026 9:12pm UTC
keychain-storybook Ready Ready Preview Sep 4, 2026 9:12pm UTC

Request Review

rsodre and others added 3 commits September 4, 2026 18:05
Assert the inclusive 1.5 and 10 bounds are accepted and that out-of-range,
negative, empty, non-numeric, and non-finite URL values fall back to the
WASM default instead of being forwarded.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BUG69AKfy3APNUS4BWyc96
Picks up the Coinflow Apple Pay checkout types now present in the API schema.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BUG69AKfy3APNUS4BWyc96
Explain when the multiplier applies, how Keychain and the wallet core split
estimation and headroom, and the supported range and fallback behavior.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BUG69AKfy3APNUS4BWyc96
@rsodre
rsodre merged commit 862d270 into main Sep 4, 2026
15 checks passed
@rsodre
rsodre deleted the centaur/configurable-self-funded-gas-1788546199 branch September 4, 2026 21:31
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.

2 participants