mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 15:33:08 +00:00
chore: update debug command
This commit is contained in:
parent
378d06c038
commit
e5c7528d1e
@ -158,8 +158,8 @@ proc fetchMerkleProofElements*(
|
||||
|
||||
let responseBytes = await g.ethRpc.get().provider.eth_call(tx, "latest")
|
||||
|
||||
debug "---- raw response ----",
|
||||
total_bytes = responseBytes.len, # Should be 640
|
||||
debug "---- raw response ----",
|
||||
total_bytes = responseBytes.len, # Should be 640
|
||||
non_zero_bytes = responseBytes.countIt(it != 0),
|
||||
response = responseBytes
|
||||
|
||||
@ -172,7 +172,12 @@ proc fetchMerkleProofElements*(
|
||||
element = responseBytes.toOpenArray(startIndex, endIndex)
|
||||
merkleProof.add(element)
|
||||
i += 1
|
||||
debug "---- element ----", startIndex = startIndex, startElement = responseBytes[startIndex], endIndex = endIndex, endElement = responseBytes[endIndex], element = element
|
||||
debug "---- element ----",
|
||||
startIndex = startIndex,
|
||||
startElement = responseBytes[startIndex],
|
||||
endIndex = endIndex,
|
||||
endElement = responseBytes[endIndex],
|
||||
element = element
|
||||
|
||||
# debug "merkleProof", responseBytes = responseBytes, merkleProof = merkleProof
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user