fix: return ethereum-formatted tx hash to client (#202)

* return eth tx hash to client

Closes #67

Update ethereum/rpc/namespaces/eth/api.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

Update ethereum/rpc/namespaces/eth/api.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

change GetTxByEthHash to method

add entry to changelog

* use eth tx hash internally
This commit is contained in:
yihuang
2021-06-30 05:35:11 -04:00
committed by GitHub
co-authored by Federico Kunze Küllmer
parent 5ba8ffe669
commit 0113b4d2c0
9 changed files with 69 additions and 75 deletions
+2
View File
@@ -42,6 +42,7 @@ const (
prefixTransientRefund
prefixTransientAccessListAddress
prefixTransientAccessListSlot
prefixTransientTxHash
)
// KVStore key prefixes
@@ -63,6 +64,7 @@ var (
KeyPrefixTransientRefund = []byte{prefixTransientRefund}
KeyPrefixTransientAccessListAddress = []byte{prefixTransientAccessListAddress}
KeyPrefixTransientAccessListSlot = []byte{prefixTransientAccessListSlot}
KeyPrefixTransientTxHash = []byte{prefixTransientTxHash}
)
// BloomKey defines the store key for a block Bloom