serai/substrate
Luke Parker 7122e0faf4
Cache the block's events within TemporalSerai
Event retrieval was prior:
- Retrieve all events in the block, which may be hundreds of KB
- Filter to just a few

Since it's frequent to want multiple sets of events, each filtered in their own
way, this caused the retrieval to happen multiple times. Now, it only will
happen once.

Also has the scoped clients take a reference, not an owned TemporalSerai.
2023-12-08 10:46:10 -05:00
..
abi Move serai-client off serai-runtime, MIT licensing it 2023-12-07 02:30:09 -05:00
client Cache the block's events within TemporalSerai 2023-12-08 10:46:10 -05:00
coins Ensure economic security on validator sets (#459) 2023-12-05 08:52:50 -05:00
dex/pallet signals-primitives, plus various minor tweaks 2023-12-06 09:53:06 -05:00
in-instructions Remove subxt (#460) 2023-11-28 02:29:50 -05:00
node signals-primitives, plus various minor tweaks 2023-12-06 09:53:06 -05:00
primitives Move serai-client off serai-runtime, MIT licensing it 2023-12-07 02:30:09 -05:00
runtime Move serai-client off serai-runtime, MIT licensing it 2023-12-07 02:30:09 -05:00
signals signals-primitives, plus various minor tweaks 2023-12-06 09:53:06 -05:00
validator-sets Correct the LICENSE files in serai-primitives and validator-sets-primitives 2023-12-06 07:10:36 -05:00