lotus/chain/events
Aarsh Shah c87e2f2a64
fix: events index: record processed epochs and tipsets for events and eth_get_log blocks till requested tipset has been indexed (#12080)
* record seen event epochs

* create correct index

* migrate to version 6

* fix typo

* test both conditions

* changes as per review

* record reverted tipsets

* see if tipsets has events and has not been reverted

* sub/unsub tipset updates from the index

* eth_get_logs should wait for events

* fix naming

* changes as per review

* solve issue with missing events

* use correct var

* changes as per review

* add unique constraint

* fix test wait

* check for events at min_height as well

* Apply suggestions from code review

Co-authored-by: Rod Vagg <rod@vagg.org>

* reduce duplication

---------

Co-authored-by: Rod Vagg <rod@vagg.org>
2024-06-20 12:00:49 +04:00
..
filter fix: events index: record processed epochs and tipsets for events and eth_get_log blocks till requested tipset has been indexed (#12080) 2024-06-20 12:00:49 +04:00
state feat: sealing: Support nv22 DDO features in the sealing pipeline (#11226) 2024-03-22 07:00:28 +01:00
cache.go Rename internal events modules for clarity 2024-03-22 07:00:28 +01:00
events_called.go Rename internal events modules for clarity 2024-03-22 07:00:28 +01:00
events_height.go Rename internal events modules for clarity 2024-03-22 07:00:28 +01:00
events_test.go Rename internal events modules for clarity 2024-03-22 07:00:28 +01:00
events.go Rename internal events modules for clarity 2024-03-22 07:00:28 +01:00
message_cache.go Rename internal events modules for clarity 2024-03-22 07:00:28 +01:00
observer.go Rename internal events modules for clarity 2024-03-22 07:00:28 +01:00
tscache_test.go fix make gen 2022-08-29 16:25:30 +02:00
tscache.go chore: fix imports 2022-06-14 17:00:51 +02:00
utils.go chore: fix imports 2022-06-14 17:00:51 +02:00