kroma-network / go-ethereum

go-ethereum for Kroma
GNU Lesser General Public License v3.0
48 stars 23 forks source link

fix(core): fix discrepancy in receipt #42

Closed 0xHansLee closed 1 year ago

0xHansLee commented 1 year ago

In the kroma e2e test, errors occurred that EffectiveGasPrice and DepositNonce could not be unmarshaled. In this regard, there was some discrepancy between receipt and gen_receipt_json.go. Referring to this PR, which was also reflected in ethereum/go-ethereum, gen_receipt_json.go has been regenerated and testdata were modified accordingly.

And the EffectiveGasPrice is required as described in spec, so the omitempty tag has been removed.