Skip to content

Commit

Permalink
make jen
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 committed Oct 21, 2024
1 parent 0311749 commit fe16f30
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
7 changes: 3 additions & 4 deletions documentation/en/default-lotus-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@


[Fevm]
# EnableEthRPC enables eth_ RPC methods and will also enable the RealTimeFilterAPI.
# Setting this to true will also require that ChainIndexer is enabled, otherwise it will cause an error at startup.
# EnableEthRPC enables eth_ RPC methods.
# Note: Setting this to true will also require that ChainIndexer is enabled, otherwise it will cause an error at startup.
#
# type: bool
# env var: LOTUS_FEVM_ENABLEETHRPC
Expand All @@ -248,8 +248,7 @@
[Events]
# 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.
# Note: Setting this to true will also require that ChainIndexer is enabled, otherwise it will cause an error at startup.
#
# type: bool
# env var: LOTUS_EVENTS_ENABLEACTOREVENTSAPI
Expand Down
2 changes: 1 addition & 1 deletion itests/eth_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestEthFilterAPIDisabledViaConfig(t *testing.T) {

kit.QuietMiningLogs()

// pass kit.DisableEthRPC() so RealTimeFilterAPI will not be enabled
// pass kit.DisableEthRPC() to disable ETH RPC
client, _, _ := kit.EnsembleMinimal(t, kit.MockProofs(), kit.ThroughRPC(), kit.DisableEthRPC())

_, err := client.EthNewPendingTransactionFilter(ctx)
Expand Down
7 changes: 3 additions & 4 deletions node/config/doc_gen.go

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

7 changes: 3 additions & 4 deletions node/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,8 @@ type FeeConfig struct {
}

type FevmConfig struct {
// EnableEthRPC enables eth_ RPC methods and will also enable the RealTimeFilterAPI.
// Setting this to true will also require that ChainIndexer is enabled, otherwise it will cause an error at startup.
// EnableEthRPC enables eth_ RPC methods.
// Note: Setting this to true will also require that ChainIndexer is enabled, otherwise it will cause an error at startup.
EnableEthRPC bool

// EthTraceFilterMaxResults sets the maximum results returned per request by trace_filter
Expand All @@ -556,8 +556,7 @@ type FevmConfig struct {
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.
// Note: Setting this to true will also require that ChainIndexer is enabled, otherwise it will cause an error at startup.
EnableActorEventsAPI bool

// FilterTTL specifies the time to live for actor event filters. Filters that haven't been accessed longer than
Expand Down

0 comments on commit fe16f30

Please sign in to comment.