Closed 0xHansLee closed 1 year ago
Please change the commit title like followings
EffectiveGasPrice
to receiptmarshaling
The generated gen_receipt_json.go
is outdated in optimism (no DepositNonce
in MarshalJSON()
), so I generated new version for kroma-geth.
This PR apply changes from v1.11.2-13ee9ab to v1.101105.1 of op-geth.
These are main changes:
CurrentBlock()
incore/blockchain_reader.go
returns*types.Header
, not*types.Block
anymorecore.Message
incore/state_transition.go
EffectiveGasPrice
toReceipt
incore/types/receipt.go
Also, there are some minor changes:
omitempty
to theEffectiveGasPrice
incore/types/gen_receipt_json.go
to make the testcmd/evm/t8n_test.go
successful (Actually generate the code by addingomitempty
tocore/types/receipt.go
)mrand.Seed
, which is used inzk_trie_proof_test.go
, is deprecated since 1.20internal/ethapi/api_test.go
in op-geth but not in kroma-gethmobile/android_test.go
which is deleted in op-geth (https://github.com/kroma-network/go-ethereum/commit/d9699c8238307d5c3081c12078f78527468d7dbc)