Closed wagmiwiz closed 8 months ago
Hi. You will need to provide the complete table definition for the erc1155-single-transfers
integration. As it stands, your config includes the table name but is missing the table columns. You can copy/paste the table definition from the nft-transfers integration.
OR, if you are using TS, you might find this package helpful for abstracting the config creation: https://jsr.io/@indexsupply/shovel-config
Thanks! The docs kinda alluded to one being able to re-use the name without copy pasting the whole table definition. The TS helper package looks great, will definitely use.
I took a pass at improving the docs for table. Let me know if this is helpful: https://indexsupply.com/shovel/docs/#table
Yup that's more clear, thanks!
Hi. I am trying to index two events into the same table (transfers of 721 and 1155 nfts).
First integration works fine but when I add the second integrations with the same table name I get a cryptic
startup error: loading tasks: setting up main task: initializing integration: building abi integration: validating columns: missing column for from
error. Any pointers what may be wrong in this config?