Skip to content

Commit

Permalink
feat: update L1Origin
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Jan 24, 2025
1 parent d00a5f4 commit b7a6516
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
18 changes: 8 additions & 10 deletions core/rawdb/gen_taiko_l1_origin.go

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

4 changes: 2 additions & 2 deletions core/rawdb/taiko_l1_origin.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func l1OriginKey(blockID *big.Int) []byte {
type L1Origin struct {
BlockID *big.Int `json:"blockID" gencodec:"required"`
L2BlockHash common.Hash `json:"l2BlockHash"`
L1BlockHeight *big.Int `json:"l1BlockHeight" gencodec:"required" rlp:"optional"`
L1BlockHash common.Hash `json:"l1BlockHash" gencodec:"required" rlp:"optional"`
L1BlockHeight *big.Int `json:"l1BlockHeight" rlp:"optional"`
L1BlockHash common.Hash `json:"l1BlockHash" rlp:"optional"`
}

type l1OriginMarshaling struct {
Expand Down

0 comments on commit b7a6516

Please sign in to comment.