Commit c0af4cf
committed
fix: converts string to bigint in specific cases when parsing v2 traces
The objectToMapRecursive function now converts string values to bigint
when the key is 'uint' and the value is a numeric string.
This is required for some numeric string values that exceed the safe
integer range when users are working with legacy simulation traces emitted from v2 of algosdk1 parent 7fdf199 commit c0af4cf
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
97 | 105 | | |
98 | 106 | | |
99 | 107 | | |
| |||
0 commit comments