Skip to content

Commit

Permalink
fix (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachit77 authored Aug 20, 2024
1 parent b9b5749 commit 480d314
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions etherman/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ type ForkID struct {
type BlockNumberFinality string

const (
FinalizedBlock = BlockNumberFinality("FinalizedBlock")
SafeBlock = BlockNumberFinality("SafeBlock")
PendingBlock = BlockNumberFinality("PendingBlock")
FinalizedBlock = BlockNumberFinality("FinalizedBlock")
LatestBlock = BlockNumberFinality("LatestBlock")
PendingBlock = BlockNumberFinality("PendingBlock")
EarliestBlock = BlockNumberFinality("EarliestBlock")
)

Expand All @@ -123,11 +123,11 @@ func (b *BlockNumberFinality) ToBlockNum() (*big.Int, error) {
type BlockNumber int64

const (
Finalized = BlockNumber(-5)
Safe = BlockNumber(-4)
Pending = BlockNumber(-3)
Finalized = BlockNumber(-3)
Latest = BlockNumber(-2)
Earliest = BlockNumber(-1)
Pending = BlockNumber(-1)
Earliest = BlockNumber(0)
)

// Sequence represents an operation sent to the PoE smart contract to be
Expand Down

0 comments on commit 480d314

Please sign in to comment.