Skip to content

Commit

Permalink
fix: latest geth
Browse files Browse the repository at this point in the history
  • Loading branch information
failfmi committed Jan 15, 2025
1 parent b97722a commit ee8dfe1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ exclude (
github.com/ethereum/go-ethereum v1.14.7
)

replace github.com/ethereum/go-ethereum v1.13.15 => github.com/pufferfinance/unifi-geth v0.0.0-20250113133216-1db62d170195
replace github.com/ethereum/go-ethereum v1.13.15 => github.com/pufferfinance/unifi-geth v0.0.0-20250115124835-f9a45115a840

replace github.com/ethereum-optimism/optimism v1.7.4 => github.com/taikoxyz/optimism v0.0.0-20240627102435-4845247ff00c

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1046,8 +1046,8 @@ github.com/prysmaticlabs/protoc-gen-go-cast v0.0.0-20230228205207-28762a7b9294 h
github.com/prysmaticlabs/protoc-gen-go-cast v0.0.0-20230228205207-28762a7b9294/go.mod h1:ZVEbRdnMkGhp/pu35zq4SXxtvUwWK0J1MATtekZpH2Y=
github.com/prysmaticlabs/prysm/v4 v4.2.0 h1:87QoRT3Azs7c1Y6SnIq0+CNtQRbAt0sVKGj2OxRT1Rw=
github.com/prysmaticlabs/prysm/v4 v4.2.0/go.mod h1:PQrQtHJeeqTz4K3udN/EX1Gs2xhWR4j93gSj0OQZ1f4=
github.com/pufferfinance/unifi-geth v0.0.0-20250113133216-1db62d170195 h1:84PXn1R7uIE1/ZsHKpa5P/+6H/BrXrzQWDeyIzJPFjI=
github.com/pufferfinance/unifi-geth v0.0.0-20250113133216-1db62d170195/go.mod h1:nqByouVW0a0qx5KKgvYgoXba+pYEHznAAQp6LhZilgM=
github.com/pufferfinance/unifi-geth v0.0.0-20250115124835-f9a45115a840 h1:tHk3IjBRiv3M1KNWcoMD9q1cF4O5c8VcB4v0DDCSKtM=
github.com/pufferfinance/unifi-geth v0.0.0-20250115124835-f9a45115a840/go.mod h1:nqByouVW0a0qx5KKgvYgoXba+pYEHznAAQp6LhZilgM=
github.com/quic-go/qpack v0.4.0 h1:Cr9BXA1sQS2SmDUWjSofMPNKmvF6IiIfDRmgU0w1ZCo=
github.com/quic-go/qpack v0.4.0/go.mod h1:UZVnYIfi5GRk+zI9UMaCPsmZ2xKJP7XBUvVyT1Knj9A=
github.com/quic-go/quic-go v0.44.0 h1:So5wOr7jyO4vzL2sd8/pD9Kesciv91zSk8BoFngItQ0=
Expand Down
2 changes: 2 additions & 0 deletions packages/taiko-client/driver/chain_syncer/blob/soft_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ func (s *Syncer) InsertSoftBlockFromTransactionsBatch(
"baseFee", utils.WeiToGWei(attributes.BaseFeePerGas),
"extraData", common.Bytes2Hex(attributes.BlockMetadata.ExtraData),
"transactions", len(txList),
"l1Origin.blockID", attributes.L1Origin.BlockID,
"l1Origin.batchID", attributes.L1Origin.BatchID,
)

// Step 1, prepare a payload
Expand Down
2 changes: 2 additions & 0 deletions packages/taiko-client/driver/soft_blocks/api.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package softblocks

import (
"encoding/hex"
"errors"
"math/big"
"net/http"
Expand Down Expand Up @@ -122,6 +123,7 @@ func (s *SoftBlockAPIServer) BuildSoftBlock(c echo.Context) error {
"coinbase", reqBody.TransactionBatch.BlockParams.Coinbase,
"anchorBlockID", reqBody.TransactionBatch.BlockParams.AnchorBlockID,
"anchorStateRoot", reqBody.TransactionBatch.BlockParams.AnchorStateRoot,
"transactionsList", hex.EncodeToString(reqBody.TransactionBatch.TransactionsList),
)

// Request body validation.
Expand Down

0 comments on commit ee8dfe1

Please sign in to comment.