Repository navigation
Fix external wallet connector error, gas sponsorship investigation - #116
Merged
Merged
Conversation
…sable on load Previously sandboxCollateral initialized to "" (parsed as 0), making maxBorrow=0 and disabling the slider until the user manually entered a value. Now defaults to "1" for both WBTC and XAUT, enabling immediate slider interaction. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…lt-collateral feat(simulator): default collateral to 1 for usable slider on load
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… wallets - Remove type:2 and maxFeePerGas/maxPriorityFeePerGas gas overrides from Privy sendTransaction for external wallets (Rabby, MetaMask, Fireblocks). External wallets handle their own gas estimation; passing overrides through Privy's connector caused "Unknown connector error". - Remove boostGasFees import (no longer used in Web3Provider). - Default "Hide Alpha Features" to disabled so XAUT positions are visible. - Add integration test infrastructure (vitest.integration.config.ts) with Anvil fork + live mainnet test suites for Fluid vault operations. - Add fluid-sponsorship-investigation tests proving: - Pure borrows do NOT need forceNoSponsor (paymaster simulation passes) - supplyAndBorrow DOES need forceNoSponsor (approval simulation fails) - Add fluid-operations tests executing all 4 vault operations on mainnet: supply, borrow, repay, withdraw (all confirmed on Etherscan). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ides - Update developerMode tests to expect default false (alpha features visible) - Update gas boost tests to verify gas overrides are NOT passed to Privy - Fix catch fallback in developerMode to return false consistently - Exclude test/integration/ from default vitest run (needs Anvil) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
type: 2,maxFeePerGas,maxPriorityFeePerGas) from Privy'ssendTransactionfor external wallets — these wallets handle their own gas estimation, and passing overrides through Privy's connector caused failuresforceNoSponsoris only needed for supply/supplyAndBorrow (which require ERC-20 approval), not for pure borrows, repays, or withdrawalsTest plan
🤖 Generated with Claude Code