Skip to content

Commit

Permalink
feat(taiko-client): move numTransactions and timestamp to blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Feb 27, 2025
1 parent 67ff89b commit ff63523
Show file tree
Hide file tree
Showing 18 changed files with 178 additions and 144 deletions.
8 changes: 0 additions & 8 deletions packages/taiko-client/bindings/encoding/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,6 @@ var (
Name: "blocks",
Type: "tuple[]",
Components: []abi.ArgumentMarshaling{
{
Name: "numTransactions",
Type: "uint16",
},
{
Name: "timeShift",
Type: "uint8",
},
{
Name: "signalSlots",
Type: "bytes32[]",
Expand Down
1 change: 0 additions & 1 deletion packages/taiko-client/bindings/metadata/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ type TaikoBatchMetaDataPacaya interface {
GetCoinbase() common.Address
GetBatchID() *big.Int
GetGasLimit() uint32
GetLastBlockTimestamp() uint64
GetProposer() common.Address
GetProposedAt() uint64
GetProposedIn() uint64
Expand Down
5 changes: 0 additions & 5 deletions packages/taiko-client/bindings/metadata/metadata_pacaya.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ func (m *TaikoDataBlockMetadataPacaya) GetGasLimit() uint32 {
return m.GasLimit
}

// GetLastBlockTimestamp returns last block's timestamp in this batch.
func (m *TaikoDataBlockMetadataPacaya) GetLastBlockTimestamp() uint64 {
return m.LastBlockTimestamp
}

// GetBlobHashes returns blob hashes in this batch.
func (m *TaikoDataBlockMetadataPacaya) GetBlobHashes() []common.Hash {
var blobHashes []common.Hash
Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/bindings/pacaya/.githead
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1c4e3afc3c628471b6467bcf461b55dc6e41150e
c8fb97e475c6d0c64b45a15c492e583cc8e7eaa2

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ff63523

Please sign in to comment.