Skip to content

Commit 838f25d

Browse files
committed
rebase 4844 fixes
1 parent 743b68e commit 838f25d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/tx/src/4844/constructors.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ import type {
2525
TxOptions,
2626
} from '../types.js'
2727
import type { TxData, TxValuesArray } from './tx.js'
28-
import type { KZG, PrefixedHexString } from '@ethereumjs/util'
2928
import type { ValueOf } from '@chainsafe/ssz'
30-
import type { ssz } from '@ethereumjs/util'
29+
import type { KZG, PrefixedHexString, ssz } from '@ethereumjs/util'
3130

3231
export type Eip4844TransactionType = ValueOf<typeof ssz.Eip4844Transaction>
3332

packages/tx/src/4844/tx.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ import {
88
bigIntToUnpaddedBytes,
99
bytesToBigInt,
1010
hexToBytes,
11-
toBytes,
12-
toType,
1311
setLengthLeft,
1412
toBytes,
13+
toType,
1514
} from '@ethereumjs/util'
1615

1716
import { BaseTransaction } from '../baseTransaction.js'
@@ -239,7 +238,7 @@ export class Blob4844Tx extends BaseTransaction<TransactionType.BlobEIP4844> {
239238
regular: this.maxPriorityFeePerGas,
240239
blob: this.maxPriorityFeePerGas,
241240
},
242-
blobVersionedHashes: this.blobVersionedHashes,
241+
blobVersionedHashes: this.blobVersionedHashes.map((vh) => hexToBytes(vh)),
243242
}
244243

245244
const yParity = this.v

0 commit comments

Comments
 (0)