Skip to content

Commit

Permalink
fix(taiko-client): use bytes type that supports hex string unmarshall…
Browse files Browse the repository at this point in the history
…ing on `ExecutableData` (#18946)
  • Loading branch information
thedevbirb authored Feb 18, 2025
1 parent 0490d3b commit 848a097
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/taiko-client/driver/preconf_blocks/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/ethereum-optimism/optimism/op-service/eth"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log"
Expand Down Expand Up @@ -37,7 +38,7 @@ type ExecutableData struct {
Number uint64 `json:"blockNumber"`
GasLimit uint64 `json:"gasLimit"`
Timestamp uint64 `json:"timestamp"`
Transactions []byte `json:"transactions"`
Transactions hexutil.Bytes `json:"transactions"`
}

// BuildPreconfBlockRequestBody represents a request body when handling
Expand Down

0 comments on commit 848a097

Please sign in to comment.