Rod Vagg
0d2942c4a4
fix(events): properly decorate events db errors ( #11856 )
2024-04-10 09:00:10 -05:00
Rod Vagg
adc2f3d522
fix(events): properly disable actor events API via cfg
...
Now EventFilterManager is received as an interface, setting it to `nil` isn't
enough for the `== nil` checks inside ActorEventHandler.
2024-03-22 07:00:28 +01:00
Rod Vagg
d35ebe5bc0
feat(config): move Fevm.Events->Events, implement soft deprecation
...
Closes: https://github.com/filecoin-project/lotus/issues/11679
* Introduce a `moved:"To.New.Config"` tag which prints a stderr warning when
you use one of these, but will move any set value to the new location if the
new location isn't already set itself.
* Look for `X is DEPRECATED` to hold certain fields back from documentation.
* Use `toml:"omitempty"` to prevent the default config output from having these
deprecated values.
2024-03-22 07:00:28 +01:00
Rod Vagg
318695a44c
More post-review changes, lots of tests for SubscribeActorEvents
...
Use BlockDelay as the window for receiving events on the SubscribeActorEvents
channel. We expect the user to have received the initial batch of historical
events (if any) in one block's time. For real-time events we expect them to
not fall behind by roughly one block's time.
2024-03-22 07:00:28 +01:00
Rod Vagg
966af80dc2
Document future API changes
2024-03-22 07:00:28 +01:00
Rod Vagg
13d7411bd9
Adjust actor event API after review
2024-03-22 07:00:28 +01:00
Rod Vagg
4a0e3b877c
Rename internal events modules for clarity
2024-03-22 07:00:28 +01:00
Aarsh Shah
0ca169d252
Tests for builtin actor events API
2024-03-22 07:00:28 +01:00
Aarsh Shah
43ed348635
Built-in actor events first draft
2024-03-22 07:00:28 +01:00
Mikers
5e5a81bf23
add go linter - "unused" ( #11235 )
...
* add go linter - "unused"
* use _ to name unused but needed padding variable
* remove unused code
* add queue test to appease unused linter
* remove unused code in test
* remove unused func
* remove unused struct identified by linter
* remove unused variable
* remove unused code
* remove unused file
* remove unused struct
* remove unused function
* remove unused observe peers function in raft
* remove unused declareFaults function
* annotate nolint:unused on needed methods
2023-09-05 12:19:43 -10:00
Fridrik Asmundsson
b80c0828b9
feat: Make sure we dont store duplidate actor events caused by reorgs
2023-06-30 11:20:57 +00:00
Steven Allen
c84c07eb74
fix: events: don't set GC confidence to 1
...
The function/parameter were poorly named and should never have been
exposed. "GC" confidence should always be the same, this parameter
doesn't let us actually set the _confidence_, just the point before
which we no longer support reverts.
fixes #10706
2023-04-20 14:45:55 -07:00
Łukasz Magiera
965b1cf03c
itests: Fix TestEthSubscribeLogs
2023-01-31 10:28:12 +01:00
Geoff Stuart
6601d9031d
Set default path for eth event db, set it to enabled by default if EnableEthRPC is set
2023-01-19 18:40:28 -05:00
raulk
cdf3812e40
NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing ( #9998 )
...
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Raul Kripalani <raulk@users.noreply.github.com>
Co-authored-by: Kevin Li <ychiaoli18@users.noreply.github.com>
Co-authored-by: vyzo <vyzo@hackzen.org>
Co-authored-by: Ian Davis <nospam@iandavis.com>
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Geoff Stuart <geoff.vball@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Shrenuj Bansal <108157875+shrenujbansal@users.noreply.github.com>
Co-authored-by: Geoff Stuart <geoffrey.stuart@protocol.ai>
Co-authored-by: Aayush Rajasekaran <aayushrajasekaran@Aayushs-MacBook-Pro.local>
Co-authored-by: ZenGround0 <5515260+ZenGround0@users.noreply.github.com>
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-01-13 19:11:13 +00:00