Commit b921c24
committed
add indexes to IFlashtestationRegistry and IBlockBuilderPolicy events
This addresses N-05 of the Q3 2025 OZ audit:
Throughout the codebase, several events do not have indexed parameters:
The WorkloadAddedToPolicy event of BlockBuilderPolicy.sol.
The WorkloadRemovedFromPolicy event of BlockBuilderPolicy.sol.
The RegistrySet event of BlockBuilderPolicy.sol.
The BlockBuilderProofVerified event of BlockBuilderPolicy.sol.
The TEEServiceRegistered event of IFlashtestationRegistry.sol.
The TEEServiceInvalidated event of IFlashtestationRegistry.sol.
To improve the ability of off-chain services to search and filter for specific events, consider indexing event parameters.
Note: we didn't add it to the BlockBuilderProofVerified event, in order to keep that event as efficient as possible1 parent ff1ef38 commit b921c24
File tree
2 files changed
+6
-6
lines changed- src/interfaces
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments