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 progress when query #58

Open
houlei1017 opened this issue Jan 5, 2023 · 1 comment
Open

Block progress when query #58

houlei1017 opened this issue Jan 5, 2023 · 1 comment

Comments

@houlei1017
Copy link

os: macos Monterey(Apple M2)
goversion: 1.19.4
sdkVersion: ever-client-go v1.38.1
query string:
query($p1: BlockchainMasterSeqNoFilter, $p2: Int, $p3: String) {
blockchain {
transactions(master_seq_no_range: $p1, workchain: $p2, after: $p3) {
edges {
node {
hash
now
tr_type
tr_type_name
account_addr
balance_delta(format: DEC)
total_fees(format: DEC)
aborted
status
block_id
in_msg
message_in: in_message {
hash
msg_type
msg_type_name
value(format: DEC)
src
dst
bounce
}
out_msgs
message_out: out_messages {
hash
dst
value(format: DEC)
}
}
}
pageInfo {
startCursor
hasNextPage
}
}
}
}

{"p1":{"start":23933862,"end":23933863},"p2": 0, "p3":""}

code:
queryParams := &domain.ParamsOfQuery{
Query: NewQueryWorkChain,
Variables: json.RawMessage(fmt.Sprintf({"p1":{"start":%d,"end":%d},"p2": 0, "p3":"%s"}, startNo, endNo, cursor)),
}
result, err := c.sdkRpc.Net.Query(queryParams)
if err != nil {
return nil, fmt.Errorf("List: Query (%w)", err)
}

When I start the program, the program blocks without any errors. When I debug, I can't step into this block of code。If need some other info,please tell me.

@markgenuine
Copy link
Owner

Hello, i'm checked you trouble later. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants