Skip to content

Conversation

@nicholaspai
Copy link
Member

From Audit:

The setSuccinctTargetAmb administrative function does not emit a relevant event after changing the succinctTargetAmb address.

Consider always emitting events after sensitive changes take place to facilitate tracking and notify off-chain clients that follow the protocol's contracts' activity.

Developer response

This PR not only addresses the above issue but adds events to the Polygon_SpokePool and Succinct_SpokePool's handler functions that trigger when they are called by an L2 system contract to finalize an L1-->L2 message

## From Audit:
The `setSuccinctTargetAmb` administrative function does not emit a relevant event after
changing the `succinctTargetAmb` address.

Consider always emitting events after sensitive changes take place to facilitate tracking and
notify off-chain clients that follow the protocol's contracts' activity.

## Developer response
This PR not only addresses the above issue but adds events to the `Polygon_SpokePool` and `Succinct_SpokePool`'s handler functions that trigger when they are called by an L2 system contract to finalize an L1-->L2 message
@nicholaspai nicholaspai added the OZ Audit - March 2023 Resolves issue discovered in March 2023 OZ Audit label Mar 15, 2023
Copy link
Contributor

@mrice32 mrice32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nicholaspai nicholaspai merged commit 10c1190 into master Mar 16, 2023
@nicholaspai nicholaspai deleted the audit/l02 branch March 16, 2023 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OZ Audit - March 2023 Resolves issue discovered in March 2023 OZ Audit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants