Receipts should support EIP-2718
since Tansactions already support EIP-2930
and EIP-1559
#1260
Labels
EIP-2718
since Tansactions already support EIP-2930
and EIP-1559
#1260
Contact Details
No response
Propose-a-new-feature
Summary
In EIPs, it said:
EIP-2930
requiresEIP-2718
,EIP-2929
.EIP-1559
requiresEIP-2718
,EIP-2930
.Axon transactions support
EIP-2930
andEIP-1559
:axon/protocol/src/types/transaction.rs
Lines 21 to 25 in c7a471b
But Axon receipts not support
EIP-2718
.Details
According to
EIP-2718
:As
EIP-2930
defined: ifTransactionType
is1
,ReceiptPayload
isrlp([status, cumulativeGasUsed, logsBloom, logs])
.As
EIP-1559
defined: ifTransactionType
is2
,ReceiptPayload
isrlp([status, cumulative_transaction_gas_used, logs_bloom, logs])
.Alternatives you've considered
No response
Anything else?
It's almost impossible to verify a Axon receipt with receipts root:
EIP-2718
.EIP-2718
, the RLP-serialisedLegacyReceipt
also is incorrect (ref: The RLP implementation of receipt is incorrect #1259).receipts_root
is still could be verified since the incorrectLegacyReceipt
is not used when calculatesreceipts_root
(ref: The implemention of receipts root in block is incorrect #1258).The text was updated successfully, but these errors were encountered: