Skip to content

Commit

Permalink
adds PRecommitTimeTable to the consensus tables
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Jul 31, 2024
1 parent a7468f6 commit 8095e52
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/trace/schema/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ func ConsensusTables() []string {
VoteTable,
ConsensusStateTable,
ProposalTable,
PrecommitTimeTable,
}
}

const (
// PrecommitTime
PrecommitTime = "precommit_time"
// PrecommitTimeTable
PrecommitTimeTable = "precommit_time"
)

type PreCommitTime struct {
Expand All @@ -30,7 +31,7 @@ type PreCommitTime struct {
}

func (p PreCommitTime) Table() string {
return PrecommitTime
return PrecommitTimeTable
}

func WritePreCommitTime(client trace.Tracer, height int64, round int32, delay float64) {
Expand Down

0 comments on commit 8095e52

Please sign in to comment.