archethic-foundation / archethic-foundation/archethic-node

Crash in the GaphQL request

Open
#1,673 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Elixir
Stars
82
Forks
24
PR merge metrics
No merged PRs in 30d

Description

### Describe the problem you discovered

On the testnet, the following request return an error

query {
networkTransactions(page:${page}, type:"hosting") {
address
chainLength
validationStamp {
timestamp
}
data {

content
}
type

}
}

If you remode data / content, the request is ok

It seems that one content provide the crash

### Describe the solution you'd like

The invalid content is correctly manages

### Epic

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported testnet GraphQL query, focusing on the networkTransactions entry point and the nested data.content field. Identify which transaction content triggers the crash and verify that the same request completes while invalid content is handled safely.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, graphql
Domain
api, blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.