Skip to content

Commit

Permalink
for QA test
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Dec 23, 2024
1 parent 1afea87 commit 22647d2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions consensus/parlia/parlia.go
Original file line number Diff line number Diff line change
Expand Up @@ -606,10 +606,6 @@ func ValidateHeaderUnusedFields(header *types.Header) error {
return errInvalidUncleHash
}

if header.RequestsHash != nil {
return consensus.ErrUnexpectedRequests
}

return nil
}

Expand Down Expand Up @@ -1158,9 +1154,6 @@ func (p *Parlia) FinalizeAndAssemble(chainConfig *chain.Config, header *types.He
txs types.Transactions, uncles []*types.Header, receipts types.Receipts, withdrawals []*types.Withdrawal,
chain consensus.ChainReader, syscall consensus.SystemCall, call consensus.Call, logger log.Logger,
) (*types.Block, types.Transactions, types.Receipts, types.FlatRequests, error) {
if header.RequestsHash != nil {
return nil, nil, nil, nil, consensus.ErrUnexpectedRequests
}

outTxs, outReceipts, _, err := p.finalize(header, ibs, txs, receipts, chain, true, nil, 0, logger)
if err != nil {
Expand Down

0 comments on commit 22647d2

Please sign in to comment.