Skip to content

Commit 00881a1

Browse files
Fix Fusaka Cell Proof support for external signers
This change adds the BlobVersion field when signing blob transactions. The Fusaka fork adds Version 1 blob sidecars which have cell proofs (128 cell proofs per blob) and without adding the version, external signers don't have a direct way to tell aside from counting proofs which version is being used. This change also pulls in an updated version of go-ethereum which adds BlobVersion to SendTxArgs. This change depends on: OffchainLabs/go-ethereum#567 This is a cherry-pick of #3910 with updated submodules.
1 parent f3dc927 commit 00881a1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

arbnode/dataposter/data_poster.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,13 @@ func TxToSignTxArgs(addr common.Address, tx *types.Transaction) (*apitypes.SendT
258258
blobs []kzg4844.Blob
259259
commitments []kzg4844.Commitment
260260
proofs []kzg4844.Proof
261+
blobVersion byte
261262
)
262263
if tx.BlobTxSidecar() != nil {
263264
blobs = tx.BlobTxSidecar().Blobs
264265
commitments = tx.BlobTxSidecar().Commitments
265266
proofs = tx.BlobTxSidecar().Proofs
267+
blobVersion = tx.BlobTxSidecar().Version
266268
}
267269
return &apitypes.SendTxArgs{
268270
From: common.NewMixedcaseAddress(addr),
@@ -278,6 +280,7 @@ func TxToSignTxArgs(addr common.Address, tx *types.Transaction) (*apitypes.SendT
278280
ChainID: (*hexutil.Big)(tx.ChainId()),
279281
BlobFeeCap: (*hexutil.Big)(tx.BlobGasFeeCap()),
280282
BlobHashes: tx.BlobHashes(),
283+
BlobVersion: blobVersion,
281284
Blobs: blobs,
282285
Commitments: commitments,
283286
Proofs: proofs,

0 commit comments

Comments
 (0)