Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block header extension fields object not working #61

Open
pulsarz opened this issue Oct 9, 2022 · 2 comments
Open

Block header extension fields object not working #61

pulsarz opened this issue Oct 9, 2022 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@pulsarz
Copy link

pulsarz commented Oct 9, 2022

We can retrieve headerId and digest from the extension object but the fields object does not work.
query Extension { blocks { header { extension { headerId digest fields } } } }
image

@SepehrGanji
Copy link
Collaborator

@capt-nemo429 Please provide the right db credentials for me to check this issue.

@SepehrGanji SepehrGanji self-assigned this Nov 7, 2022
@SepehrGanji
Copy link
Collaborator

@arobsn I need node_extentions table permission on the Explorer DB to explore this further.
I found out there's nothing wrong with the syntax, it's pretty similar to other JSON objects that we were trying to fetch from the DB, so maybe somehow the DB has different data.
So we can do two things:

  1. Take a look into the DB and change the type of extension in the application, maybe to string.
  2. Create a transformer for it, like additional registers. (In src/graphql/interfaces/box-interface)

@SepehrGanji SepehrGanji added the help wanted Extra attention is needed label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants