Skip to content

fix: assigning gas estimations and chainId in sendTransaction#714

Merged
CarsonRoscoe merged 1 commit into
mainfrom
fix/cdp-v2-evm-wallet-provider-send-transaction
May 14, 2025
Merged

fix: assigning gas estimations and chainId in sendTransaction#714
CarsonRoscoe merged 1 commit into
mainfrom
fix/cdp-v2-evm-wallet-provider-send-transaction

Conversation

@CarsonRoscoe
Copy link
Copy Markdown
Contributor

@CarsonRoscoe CarsonRoscoe commented May 14, 2025

Assigning gas estimations and chain id in sendTransaction to ensure they are EIP1559 transactions.

Tested locally via confirming the issue existed leveraging the wrap eth to weth action, and then ensuring it worked locally after the above changes.

Note: I noticed the CdpV2ApiActionProvider was finicky about injecting the wallet provider. This is because my custom type was failing the === WalletProvider check in certain environments (worked with vercel ai agents, but was finicky in langchain). I refactor to a type guard.

@CarsonRoscoe CarsonRoscoe marked this pull request as ready for review May 14, 2025 21:53
@CarsonRoscoe CarsonRoscoe requested a review from murrlincoln as a code owner May 14, 2025 21:53
@cb-heimdall
Copy link
Copy Markdown

cb-heimdall commented May 14, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@github-actions github-actions Bot added action provider New action provider wallet provider New wallet provider typescript labels May 14, 2025
@cb-heimdall
Copy link
Copy Markdown

Review Error for sammccord @ 2025-05-14 21:56:06 UTC
User must have write permissions to review

@CarsonRoscoe CarsonRoscoe merged commit 743a50a into main May 14, 2025
24 checks passed
@CarsonRoscoe CarsonRoscoe deleted the fix/cdp-v2-evm-wallet-provider-send-transaction branch May 14, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action provider New action provider typescript wallet provider New wallet provider

Development

Successfully merging this pull request may close these issues.

4 participants