Avatar for the FuelLabs user
FuelLabs
fuels-ts
BlogDocsChangelog

fix: `parseUnits` bug with 0 units

#3320Merged
Comparing
dp/fix-parse-units
(
ee759d7
) with
master
(
85072f7
)
CodSpeed Performance Gauge
+17%
Improvements
3
Regressions
0
Untouched
15
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

should successfully get transaction cost estimate for a single transfer (x10 times)
internal/benchmarks/src/cost-estimation.bench.ts::Cost Estimation Benchmarks::should successfully get transaction cost estimate for a single transfer (x10 times)
CodSpeed Performance Gauge
+17%
21.2 ms
18.1 ms
should successfully get transaction cost estimate for a single contract call (x10 times)
internal/benchmarks/src/cost-estimation.bench.ts::Cost Estimation Benchmarks::should successfully get transaction cost estimate for a single contract call (x10 times)
CodSpeed Performance Gauge
+11%
27.7 ms
25 ms
should successfully get transaction cost estimate for a batch transfer (x10 times)
internal/benchmarks/src/cost-estimation.bench.ts::Cost Estimation Benchmarks::should successfully get transaction cost estimate for a batch transfer (x10 times)
CodSpeed Performance Gauge
+10%
26.8 ms
24.3 ms

Passed

should successfully get transaction cost estimate for multi contract calls (x10 times)
internal/benchmarks/src/cost-estimation.bench.ts::Cost Estimation Benchmarks::should successfully get transaction cost estimate for multi contract calls (x10 times)
CodSpeed Performance Gauge
+8%
33.9 ms
31.3 ms
should successfully transfer a single asset between wallets (x10 times)
internal/benchmarks/src/transaction-results.bench.ts::Transaction Submission Benchmarks::should successfully transfer a single asset between wallets (x10 times)
CodSpeed Performance Gauge
+4%
63.4 ms
61.2 ms
should successfully conduct a custom transfer between wallets (x10 times)
internal/benchmarks/src/transaction-results.bench.ts::Transaction Submission Benchmarks::should successfully conduct a custom transfer between wallets (x10 times)
CodSpeed Performance Gauge
+2%
49.6 ms
48.7 ms
should successfully perform a batch transfer (x10 times)
internal/benchmarks/src/transaction-results.bench.ts::Transaction Submission Benchmarks::should successfully perform a batch transfer (x10 times)
CodSpeed Performance Gauge
+1%
60.1 ms
59.5 ms
should successfully execute a contract multi call (x10 times)
internal/benchmarks/src/contract-interaction.bench.ts::Contract Interaction Benchmarks::should successfully execute a contract multi call (x10 times)
CodSpeed Performance Gauge
+1%
71.7 ms
71.2 ms
Instantiate a new Unlocked wallet
internal/benchmarks/src/wallet.bench.ts::Wallet Benchmarks::Instantiate a new Unlocked wallet
CodSpeed Performance Gauge
0%
4.8 ms
4.7 ms
should successfully execute a contract deploy as blobs
internal/benchmarks/src/contract-interaction.bench.ts::Contract Interaction Benchmarks::should successfully execute a contract deploy as blobs
CodSpeed Performance Gauge
0%
3.7 s
3.7 s
should successfully get transaction cost estimate for a mint (x10 times)
internal/benchmarks/src/cost-estimation.bench.ts::Cost Estimation Benchmarks::should successfully get transaction cost estimate for a mint (x10 times)
CodSpeed Performance Gauge
0%
21.8 ms
21.8 ms
should successfully write to a contract (x10 times)
internal/benchmarks/src/contract-interaction.bench.ts::Contract Interaction Benchmarks::should successfully write to a contract (x10 times)
CodSpeed Performance Gauge
0%
65.1 ms
65.3 ms
Instantiate from an address
internal/benchmarks/src/wallet.bench.ts::Wallet Benchmarks::Instantiate from an address
CodSpeed Performance Gauge
0%
575 µs
576.8 µs
should successfully execute a contract mint (x10 times)
internal/benchmarks/src/contract-interaction.bench.ts::Contract Interaction Benchmarks::should successfully execute a contract mint (x10 times)
CodSpeed Performance Gauge
0%
65.8 ms
66.1 ms
Instantiate a new Locked wallet from a constructor
internal/benchmarks/src/wallet.bench.ts::Wallet Benchmarks::Instantiate a new Locked wallet from a constructor
CodSpeed Performance Gauge
-1%
414.1 µs
417.3 µs
should successfully withdraw to the base layer (x10 times)
internal/benchmarks/src/transaction-results.bench.ts::Transaction Submission Benchmarks::should successfully withdraw to the base layer (x10 times)
CodSpeed Performance Gauge
-1%
45.5 ms
45.9 ms
should successfully execute a contract read function (x10 times)
internal/benchmarks/src/contract-interaction.bench.ts::Contract Interaction Benchmarks::should successfully execute a contract read function (x10 times)
CodSpeed Performance Gauge
-1%
66.6 ms
67.6 ms
should successfully execute a contract deploy (x10 times)
internal/benchmarks/src/contract-interaction.bench.ts::Contract Interaction Benchmarks::should successfully execute a contract deploy (x10 times)
CodSpeed Performance Gauge
-3%
98.6 ms
101.2 ms

Commits

Click on a commit to change the comparison range
Base
master
85072f7
0%
fix: `parseUnits` bug with 0 units
b727cd9
4 months ago
by Dhaiwat10
0%
add more test cases
7805a56
4 months ago
by Dhaiwat10
+18%
Merge branch 'master' into dp/fix-parse-units
ee759d7
4 months ago
by arboleya
Home Terms PrivacyDocs