Skip to content

Commit

Permalink
add is start of epoch flag on proof
Browse files Browse the repository at this point in the history
  • Loading branch information
AdoAdoAdo committed Jan 20, 2025
1 parent 3941ba9 commit cd8d4d1
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 53 deletions.
154 changes: 101 additions & 53 deletions data/block/blockV2.pb.go

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

1 change: 1 addition & 0 deletions data/block/blockV2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ message HeaderProof {
uint64 HeaderNonce = 5 [(gogoproto.jsontag) = "headerNonce"];
uint32 HeaderShardId = 6 [(gogoproto.jsontag) = "headerShardId"];
uint64 HeaderRound = 7 [(gogoproto.jsontag) = "headerRound"];
bool IsStartOfEpoch = 8 [(gogoproto.jsontag) = "startOfEpoch"];
}
1 change: 1 addition & 0 deletions data/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ type HeaderProofHandler interface {
GetHeaderNonce() uint64
GetHeaderShardId() uint32
GetHeaderRound() uint64
GetIsStartOfEpoch() bool
}

// ShardHeaderHandler defines getters and setters for the shard block header
Expand Down

0 comments on commit cd8d4d1

Please sign in to comment.