Avatar for the thirdweb-dev user
thirdweb-dev
js
BlogDocsChangelog

fix(evm): fix CWE-1333

#2573Merged
Comparing
jd/fix-CWE-1333
(
12047d1
) with
main
(
3f0a312
)
CodSpeed Performance Gauge
+3%
Improvements
0
Regressions
0
Untouched
9
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

units:toUnits("40", 18)
packages/thirdweb/src/utils/units.bench.ts::units:toUnits("40", 18)
CodSpeed Performance Gauge
+7%
36.3 µs
33.8 µs
encode tx (json abi)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (json abi)
CodSpeed Performance Gauge
+7%
200.1 µs
187.6 µs
units:toTokens(12345678901234567890n, 18)
packages/thirdweb/src/utils/units.bench.ts::units:toTokens(12345678901234567890n, 18)
CodSpeed Performance Gauge
+5%
26.7 µs
25.3 µs
units:toUnits("40.0", 18)
packages/thirdweb/src/utils/units.bench.ts::units:toUnits("40.0", 18)
CodSpeed Performance Gauge
+5%
36.1 µs
34.4 µs
encode tx (contract abi)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (contract abi)
CodSpeed Performance Gauge
+4%
224.9 µs
215.4 µs
encode tx (prepared method)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (prepared method)
CodSpeed Performance Gauge
+4%
350.9 µs
336.4 µs
encode tx (human readable)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (human readable)
CodSpeed Performance Gauge
+4%
410.3 µs
395.9 µs
keccakId
packages/thirdweb/src/utils/any-evm/keccak-id.bench.ts::keccakId
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
units:toTokens(40000000000000000000n, 18)
packages/thirdweb/src/utils/units.bench.ts::units:toTokens(40000000000000000000n, 18)
CodSpeed Performance Gauge
-9%
44.7 µs
48.9 µs

Commits

Click on a commit to change the comparison range
Base
main
3f0a312
+3%
fix(evm): fix CWE-1333
12047d1
1 year ago
by jnsdls
© 2025 CodSpeed Technology
Home Terms PrivacyDocs