Skip to content

fix: viem chainId from number to string - #294

Merged
John-peterson-coinbase merged 1 commit into
coinbase:masterfrom
azf20:viem-get-network-string
Feb 7, 2025
Merged

John-peterson-coinbase merged 1 commit into
coinbase:masterfrom
azf20:viem-get-network-string

Conversation

@azf20

@azf20 azf20 commented Feb 7, 2025

Copy link
Copy Markdown
Contributor

What changed? Why?

One-liner: viem's chainId is a number, agentkit expects a string

Qualified Impact

Avoids potential footgun when action providers are checking networks e.g. in this line

@cb-heimdall

cb-heimdall commented Feb 7, 2025 •

Copy link
Copy Markdown

✅ 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

@John-peterson-coinbase
John-peterson-coinbase merged commit 691e4f9 into coinbase:master Feb 7, 2025
emiridbest pushed a commit to emiridbest/agentkit that referenced this pull request Feb 9, 2025
gtspencer pushed a commit to gtspencer/agentkit that referenced this pull request Feb 13, 2025
Signed-off-by: Spencer <spencerobsitnik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants