Skip to content

add getTransactionReciept#1

Closed
KenianShi wants to merge 5 commits intochenfengjin:dev2from
KenianShi:dev2
Closed

add getTransactionReciept#1
KenianShi wants to merge 5 commits intochenfengjin:dev2from
KenianShi:dev2

Conversation

@KenianShi
Copy link
Copy Markdown

新增getTransactionReceipt

args1 := make(map[string]string)
args1["tx_hash"] = txHash[2:]

req, err := xuper.NewInvokeContractRequest(s.account, xuper.Xkernel3Module, "$evm", method, args1)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不用 Invoke

ethservice.go Outdated
return err
}
if resp.ContractResponse.Status > 400 {
return errors.New("TODO1")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的TODO改一下?

// //reply.To
// *reply = *result
result.To = string(rawTx.To)
result.TransactionHash = txHash
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from 呢

@KenianShi KenianShi closed this Aug 27, 2021
chenfengjin added a commit that referenced this pull request Aug 28, 2021
Merge pull request #1 from chenfengjin/kenian
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

Successfully merging this pull request may close these issues.

2 participants