hirosystems / chainhook

Extract transactions from Stacks and Bitcoin and build event driven re-org resistant indexers and databases.
GNU General Public License v3.0
155 stars 63 forks source link

mainnet doesn't work for predicate scanning #207

Closed aulneau closed 1 year ago

aulneau commented 1 year ago

when running chainhook predicates scan ./path/to/predicate.json --mainnet

it errors with Network unknown

We need this functionality to continue work on the new stacking focused API being built.

lgalabru commented 1 year ago

Hey @aulneau! could you share the predicate you're using? Thanks, just want to make sure it correctly includes a mainnet node in the networks map.

aulneau commented 1 year ago

Oop, thank you! such a silly mistake on my part. i've made a new issue for better error message :) https://github.com/hirosystems/chainhook/issues/209