Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: eth_simulateV1 #3172

Merged
merged 6 commits into from
Dec 31, 2024
Merged

feat: eth_simulateV1 #3172

merged 6 commits into from
Dec 31, 2024

Conversation

jxom
Copy link
Member

@jxom jxom commented Dec 31, 2024

Copy link

vercel bot commented Dec 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
viem ✅ Ready (Inspect) Visit Preview Dec 31, 2024 2:32am

Copy link

changeset-bot bot commented Dec 31, 2024

🦋 Changeset detected

Latest commit: f34dc14

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Dec 31, 2024

Codecov Report

Attention: Patch coverage is 99.48052% with 2 lines in your changes missing coverage. Please review.

Project coverage is 99.64%. Comparing base (adc4015) to head (f34dc14).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/actions/public/simulate.ts 99.31% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3172      +/-   ##
==========================================
- Coverage   99.64%   99.64%   -0.01%     
==========================================
  Files         901      902       +1     
  Lines       72579    72964     +385     
  Branches     3171     3196      +25     
==========================================
+ Hits        72322    72705     +383     
- Misses        240      241       +1     
- Partials       17       18       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Dec 31, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
import * from 'viem' (esm) 63.96 KB (+1.31% 🔺) 1.3 s (+1.31% 🔺) 1.6 s (-41.1% 🔽) 2.9 s
const viem = require('viem') (cjs) 75.79 KB (+3.55% 🔺) 1.6 s (+3.55% 🔺) 2.5 s (-9.35% 🔽) 4 s
import { createClient, http } from 'viem' 6.33 KB (0%) 127 ms (0%) 235 ms (+39.34% 🔺) 362 ms
import * from 'viem/account-abstraction' 45.77 KB (0%) 916 ms (0%) 1.7 s (+8% 🔺) 2.6 s
import { toCoinbaseSmartAccount } from 'viem/account-abstraction' 35.7 KB (0%) 715 ms (0%) 1.3 s (-13.85% 🔽) 2 s
import * from 'viem/accounts' 82.45 KB (0%) 1.7 s (0%) 745 ms (-49.42% 🔽) 2.4 s
import { privateKeyToAccount } from 'viem/accounts' 21.06 KB (0%) 422 ms (0%) 497 ms (-7.26% 🔽) 918 ms
import { mnemonicToAccount } from 'viem/accounts' 27.39 KB (0%) 548 ms (0%) 1.3 s (+25.51% 🔺) 1.9 s
import * from 'viem/actions' 49 KB (+1.8% 🔺) 981 ms (+1.8% 🔺) 1.5 s (-35.71% 🔽) 2.4 s
import { getBlockNumber } from 'viem/actions' 318 B (0%) 10 ms (0%) 53 ms (+50.63% 🔺) 63 ms
import * from 'viem/chains' 41.25 KB (0%) 826 ms (0%) 1.3 s (-50.13% 🔽) 2.1 s
import { mainnet } from 'viem/chains' 325 B (0%) 10 ms (0%) 23 ms (+345.26% 🔺) 33 ms
import * from 'viem/chains/utils' 1.09 KB (0%) 22 ms (0%) 41 ms (-50.54% 🔽) 63 ms
import * from 'viem/ens' 46.15 KB (+0.03% 🔺) 923 ms (+0.03% 🔺) 807 ms (-24.78% 🔽) 1.8 s
import { getEnsAvatar } from 'viem/ens' 22.42 KB (0%) 449 ms (0%) 713 ms (-38.37% 🔽) 1.2 s
import * from 'viem/siwe' 31.44 KB (0%) 629 ms (0%) 1.2 s (-27.4% 🔽) 1.9 s
import { verifySiweMessage } from 'viem/siwe' 30.38 KB (0%) 608 ms (0%) 1.6 s (-17.68% 🔽) 2.2 s

@jxom jxom merged commit 853e49e into main Dec 31, 2024
29 of 35 checks passed
@jxom jxom deleted the simulate branch December 31, 2024 02:23
@github-actions github-actions bot mentioned this pull request Dec 31, 2024
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