celo-org / viem

TypeScript Interface for Ethereum
https://viem.sh
Other
0 stars 0 forks source link

NOT for Merging -- descriptions of apis for blocks and transactions #18

Closed aaronmgdr closed 2 months ago

aaronmgdr commented 3 months ago

Contains info on overall changes proposed to celo portion of viem

Blocks -- goes over all the different iterations and shapes blocks can have on celo. before showing how we want viem to represent blocks in the near future and further down the line.

Transactions -- goes over interface update to create tx, desire for the future, and some changes to how celo transactions appear when reading from block or rpc node.

github-actions[bot] commented 3 months ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
viem (esm) 56.95 KB (0%) 1.2 s (0%) 8.7 s (-17.6% 🔽) 9.8 s
viem (cjs) 68.3 KB (0%) 1.4 s (0%) 13.9 s (+12.61% 🔺) 15.3 s
viem (minimal surface - tree-shaking) 3.31 KB (0%) 67 ms (0%) 135 ms (-43.8% 🔽) 201 ms
viem/accounts 73.66 KB (0%) 1.5 s (0%) 4 s (+84.11% 🔺) 5.4 s
viem/accounts (tree-shaking) 18.91 KB (0%) 379 ms (0%) 2 s (-31.39% 🔽) 2.3 s
viem/actions 41.73 KB (0%) 835 ms (0%) 3.5 s (+12.45% 🔺) 4.3 s
viem/actions (tree-shaking) 318 B (0%) 10 ms (0%) 32 ms (-3.96% 🔽) 42 ms
viem/chains 28.35 KB (0%) 567 ms (0%) 3.5 s (-9.38% 🔽) 4 s
viem/chains (tree-shaking) 324 B (0%) 10 ms (0%) 35 ms (-47.34% 🔽) 45 ms
viem/chains/utils 1.02 KB (0%) 21 ms (0%) 53 ms (+12.65% 🔺) 73 ms
viem/ens 41.73 KB (0%) 835 ms (0%) 3.2 s (-13.82% 🔽) 4 s
viem/ens (tree-shaking) 18.42 KB (-0.02% 🔽) 369 ms (-0.02% 🔽) 5 s (-2.52% 🔽) 5.4 s
viem/siwe 26.56 KB (0%) 532 ms (0%) 3.6 s (+6.17% 🔺) 4.2 s
viem/siwe (tree-shaking) 25.42 KB (0%) 509 ms (0%) 3.2 s (-7.14% 🔽) 3.7 s