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: eip3074 invoker instances #2171

Merged
merged 19 commits into from
May 2, 2024
Merged

feat: eip3074 invoker instances #2171

merged 19 commits into from
May 2, 2024

Conversation

jxom
Copy link
Member

@jxom jxom commented Apr 23, 2024

PR-Codex overview

This PR introduces support for the EIP-3074 Invoker Instances API, adds new invokers, and updates related configurations.

Detailed summary

  • Added EIP-3074 Invoker Instances API
  • Updated invokers and configurations
  • Defined new invokers and invoker coders
  • Updated test files and global setup
  • Updated Anvil configurations and utilities

The following files were skipped due to too many changes: src/experimental/eip3074/decorators/eip3074.test.ts, src/experimental/eip3074/invokers/coders/batchInvokerCoder.ts, package.json, src/experimental/eip3074/constants/abis.ts, src/experimental/eip3074/e2e.test.ts, site/sidebar.ts, src/experimental/eip3074/invokers/coders/batchInvokerCoder.test.ts, site/pages/experimental/eip3074/invoker-instances.mdx, site/pages/experimental/eip3074/getInvoker.mdx, src/experimental/eip3074/invokers/getInvoker.ts, site/pages/experimental/eip3074/sign.mdx, site/pages/experimental/eip3074/execute.mdx, site/pages/experimental/eip3074/using-invokers.mdx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Apr 23, 2024

🦋 Changeset detected

Latest commit: 43178c1

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

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

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

vercel bot commented Apr 23, 2024

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

Name Status Preview Updated (UTC)
viem 🛑 Canceled (Inspect) May 2, 2024 0:52am

Copy link

socket-security bot commented Apr 30, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@viem/anvil@0.0.10 network Transitive: environment, filesystem, shell +23 895 kB jmoxey

🚮 Removed packages: npm/@viem/anvil@0.0.5

View full report↗︎

Copy link
Contributor

github-actions bot commented Apr 30, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
viem (esm) 56.22 KB (0%) 1.2 s (0%) 8.8 s (-3.52% 🔽) 10 s
viem (cjs) 67.55 KB (0%) 1.4 s (0%) 15.7 s (+46.35% 🔺) 17.1 s
viem (minimal surface - tree-shaking) 3.31 KB (0%) 67 ms (0%) 294 ms (+56.9% 🔺) 361 ms
viem/accounts 74.02 KB (0%) 1.5 s (0%) 4.1 s (-1.82% 🔽) 5.6 s
viem/accounts (tree-shaking) 19.12 KB (0%) 383 ms (0%) 1.5 s (-45.72% 🔽) 1.8 s
viem/actions 41.62 KB (0%) 833 ms (0%) 2.7 s (-29.65% 🔽) 3.5 s
viem/actions (tree-shaking) 303 B (0%) 10 ms (0%) 40 ms (+32.88% 🔺) 50 ms
viem/chains 27.1 KB (0%) 543 ms (0%) 3.4 s (-41.71% 🔽) 4 s
viem/chains (tree-shaking) 324 B (0%) 10 ms (0%) 55 ms (-83.53% 🔽) 65 ms
viem/chains/utils 1.02 KB (0%) 21 ms (0%) 111 ms (+109.62% 🔺) 132 ms
viem/ens 41.62 KB (0%) 833 ms (0%) 8.3 s (+311.14% 🔺) 9.1 s
viem/ens (tree-shaking) 18.33 KB (0%) 367 ms (0%) 4.9 s (+9.11% 🔺) 5.2 s

Copy link

codecov bot commented Apr 30, 2024

Codecov Report

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

Project coverage is 99.72%. Comparing base (7303553) to head (adb716c).
Report is 1 commits behind head on main.

❗ Current head adb716c differs from pull request most recent head 43178c1. Consider uploading reports for the commit 43178c1 to get more accurate results

Files Patch % Lines
src/experimental/eip3074/invokers/getInvoker.ts 98.95% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2171      +/-   ##
==========================================
+ Coverage   97.63%   99.72%   +2.09%     
==========================================
  Files         624      635      +11     
  Lines       55457    56617    +1160     
  Branches     2438     2683     +245     
==========================================
+ Hits        54143    56463    +2320     
+ Misses       1295      139    -1156     
+ Partials       19       15       -4     

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

@jxom jxom marked this pull request as ready for review May 2, 2024 00:15
@jxom jxom changed the title wip: eip3074 invoker feat: eip3074 invoker instances May 2, 2024
@jxom jxom merged commit 6311259 into main May 2, 2024
13 of 21 checks passed
@jxom jxom deleted the eip3074-invoker branch May 2, 2024 00:32
@github-actions github-actions bot mentioned this pull request May 2, 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.

None yet

1 participant