Skip to content

Commit

Permalink
fix: add new fields
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Aug 6, 2024
1 parent b2bf2f2 commit 8630c9e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions agglayer/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ import (
"github.com/ethereum/go-ethereum/common"
)

// Certificate (BatchHeader) is the data structure that will be sent to the aggLayer
type Certificate struct {
OriginNetwork uint32
PrevLocalExitRoot common.Hash
BridgeExits []*localbridgesync.Bridge
ImportedBridgeExits []*localbridgesync.Claim
OriginNetwork uint32 `json:"origin_network"`
PrevLocalExitRoot common.Hash `json:"prev_local_exit_root"`
NewLocalExitRoot common.Hash `json:"new_local_exit_root"`
ImportedExitsRoot common.Hash `json:"imported_exits_root"`
BridgeExits []*localbridgesync.Bridge `json:"bridge_exits"`
ImportedBridgeExits []*localbridgesync.Claim `json:"imported_bridge_exits"`
}

0 comments on commit 8630c9e

Please sign in to comment.