Skip to content

Commit b2636b1

Browse files
curryxbocorey
andauthored
Derivation support altfeetx type (#852)
Co-authored-by: corey <[email protected]>
1 parent 700ebef commit b2636b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

node/types/blob.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ func DecodeTxsFromBytes(txsBytes []byte) (eth.Transactions, error) {
153153
return nil, err
154154
}
155155
innerTx = new(eth.SetCodeTx)
156+
case eth.AltFeeTxType:
157+
if err := binary.Read(reader, binary.BigEndian, &firstByte); err != nil {
158+
return nil, err
159+
}
160+
innerTx = new(eth.AltFeeTx)
156161
default:
157162
if firstByte <= 0xf7 { // legacy tx first byte must be greater than 0xf7(247)
158163
return nil, fmt.Errorf("not supported tx type: %d", firstByte)

0 commit comments

Comments
 (0)