Skip to content

fix: audit round 3#284

Merged
nekomoto911 merged 5 commits intoGalxe:mainfrom
nekomoto911:fix/audit-round-3
Mar 10, 2026
Merged

fix: audit round 3#284
nekomoto911 merged 5 commits intoGalxe:mainfrom
nekomoto911:fix/audit-round-3

Conversation

@nekomoto911
Copy link
Copy Markdown
Collaborator

  • Replace type-erased event bus with typed OnceLock
  • Remove the duplicate new_system_call_txn() in metadata_txn.rs
  • Add design-intent comments for epoch/execute_height atomic ordering

- Replace OnceCell<Box<dyn Any>> with OnceLock<PipeExecLayerEventBus<EthPrimitives>>
- Remove generic parameter from get_pipe_exec_layer_event_bus()
- Add 120s timeout with panic on expiry (GRETH-038 combined fix)
- Add TypeId assertion in tree/mod.rs pipe_run_inner as runtime safety guard
- Use transmute to bridge Receiver<PipeExecLayerEvent<EthPrimitives>> to generic N
- Update all call sites to remove turbofish generic parameter
@nekomoto911 nekomoto911 merged commit d927b5d into Galxe:main Mar 10, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants