fix: fields fromstring not working#7366
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
1340658 to
f7e0d07
Compare
1ab4ee3 to
6b495df
Compare
Benchmark resultsMetrics with a significant change:
Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Proof generationEach column represents the number of threads used in proof generation.
L2 block published to L1Each column represents the number of txs on an L2 block published to L1.
L2 chain processingEach column represents the number of blocks on the L2 chain where each block has 8 txs.
Circuits statsStats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.
Stats on running time collected for app circuits
AVM SimulationTime to simulate various public functions in the AVM.
Public DB AccessTime to access various public DBs.
Tree insertion statsThe duration to insert a fixed batch of leaves into each tree type.
MiscellaneousTransaction sizes based on how many contract classes are registered in the tx.
Transaction size based on fee payment method | Metric | | |
6b495df to
acb5a8f
Compare
|
fixes #7334 |
f7e0d07 to
2ec5610
Compare
acb5a8f to
d4e3083
Compare
2ec5610 to
337bd61
Compare
d4e3083 to
3b00151
Compare
| const buffer = Buffer.from(withoutPrefix, 'hex'); | ||
|
|
||
| if (buffer.length === 0 && withoutPrefix.length > 0) { | ||
| const checked = withoutPrefix.match(/^[0-9A-F]+$/i)?.[0]; |
There was a problem hiding this comment.
shouldnt this also be lowercase a-f?
I think somewhere in the monorepo we have a function with a good regex?
There was a problem hiding this comment.
The i flag makes it case insensitive, so lowercase a-f is included. I actually don't see anything anywhere that is in aztec.js, which means maybe we should expose some of this to use elsewhere ? I'll make an issue for this to be included in another pr.
d34522f
into
ek/fix/7364/fields-fromstring-not-working-add-failing-test-case

Please read contributing guidelines and remove this line.