mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 21:34:33 +00:00
add some comments to graphql/sendRawTransaction
the comment is about missing things need to be addressed by sendRawTransaction
This commit is contained in:
parent
728f3a24be
commit
0dd6d1e3d4
@ -1044,6 +1044,9 @@ const queryProcs = {
|
||||
}
|
||||
|
||||
proc sendRawTransaction(ud: RootRef, params: Args, parent: Node): RespResult {.apiPragma.} =
|
||||
# TODO: add tx validation and tx processing
|
||||
# probably goes to tx pool
|
||||
# if tx validation failed, the result will be null
|
||||
let ctx = GraphqlContextRef(ud)
|
||||
try:
|
||||
let data = hexToSeqByte(params[0].val.stringVal)
|
||||
|
Loading…
x
Reference in New Issue
Block a user