Skip to content

Commit

Permalink
Resolve duplicates
Browse files Browse the repository at this point in the history
Resolve duplicate EventsConfig declarations, duplicate field name Events.
  • Loading branch information
rjan90 committed Mar 23, 2024
1 parent 182dc08 commit 6dbcd75
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 28 deletions.
3 changes: 0 additions & 3 deletions node/config/def.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ func DefaultFullNode() *FullNode {
MaxFilterResults: 10000,
MaxFilterHeightRange: 2880, // conservative limit of one day
},
Events: EventsConfig{
EnableActorEventsAPI: false,
},
}
}

Expand Down
17 changes: 0 additions & 17 deletions node/config/doc_gen.go

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

8 changes: 0 additions & 8 deletions node/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -941,14 +941,6 @@ type EventsConfig struct {
// Set upper bound on index size
}

type EventsConfig struct {
// EnableActorEventsAPI enables the Actor events API that enables clients to consume events
// emitted by (smart contracts + built-in Actors).
// This will also enable the RealTimeFilterAPI and HistoricFilterAPI by default, but they can be
// disabled by setting their respective Disable* options in Fevm.Events.
EnableActorEventsAPI bool
}

type IndexConfig struct {
// EXPERIMENTAL FEATURE. USE WITH CAUTION
// EnableMsgIndex enables indexing of messages on chain.
Expand Down

0 comments on commit 6dbcd75

Please sign in to comment.