Commit 92a791d
committed
fix: replace bigint exponentiation to fix Turbopack compatibility
Replace `10n ** 18n` with `BigInt(1e18)` in estimateErc20PaymasterCost.
Turbopack does not yet support the `**` operator with bigint operands
("right-associative binary expression not yet implemented"). This is
the same pattern already used on the adjacent line 93.
Closes #4991 parent ad0beb7 commit 92a791d
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments