Skip to content

indexer and vpn #1269

Answered by ra0x3
PaulZhemanov asked this question in Q&A
Discussion options

You must be logged in to vote

@PaulZhemanov

  • I see the issue(s)
  • The first issue
    • Either change your contract ID in your manifest to be fuels namespaced (e.g., fuels0x039393...) or set your contract_id to null (e.g., contract_id: ~)
    • We have an issue to accept both contract ID types in the future #1137
  • The second issue:
    • Even if you fix that issue ☝🏽 there's another issue
    • Your schema types do not match the types coming from your Sway contract
    • How do I know? Because if I just use fake values in your indexer module (shown below) everything works
    • You should go through your contract and make sure the types coming from your contract match the types in your schema

Here's the fake example I used to prove Issue 2

extern crate

Replies: 18 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ra0x3
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1264 on August 14, 2023 16:00.