Skip to content

Commit

Permalink
feat: new defs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Jan 23, 2025
1 parent cb0baa8 commit d439476
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions params/taiko_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ import (
"github.com/ethereum/go-ethereum/common"
)

// To make taiko-geth compatible with the op-service library, we need to define the following constants and functions.
type ProtocolVersion [32]byte

type ProtocolVersionV0 struct {
Build [8]byte
Major, Minor, Patch, PreRelease uint32
}

func u64(val uint64) *uint64 { return &val }

// Network IDs
Expand Down

0 comments on commit d439476

Please sign in to comment.