enviodev / hypersync-client-node

Mozilla Public License 2.0
22 stars 2 forks source link

fix/perf(preset_query): using faster_hex #8

Closed JossDuff closed 6 months ago

JossDuff commented 6 months ago

Was previously using faster_hex as a package instead of hex but didn't update the implementation to use faster_hex.

This pr changes preset_query helper functions hex_str_topic0_to_byte_array and hex_str_address_to_byte_array to use faster_hex.

JossDuff commented 6 months ago

LGTM, nit: is it possible to remove hex dependency altogether?

It's already removed in main. By mistake I removed it before merging last pr