Skip to content

PRE-1731: Add event to setRouter()#66

Merged
arora-anmol merged 2 commits into
mainfrom
robert/PRE-1731
May 13, 2025
Merged

PRE-1731: Add event to setRouter()#66
arora-anmol merged 2 commits into
mainfrom
robert/PRE-1731

Conversation

@robertleifke
Copy link
Copy Markdown
Contributor

When setRouter() was updated to the AutoWrapper, we forgot the add an event to emit when the router has been updated. Fixes Spearbit find: https://cantina.xyz/code/e7441e41-dcf5-4939-8099-d9a4305c4d06/findings?finding=7

@robertleifke robertleifke requested a review from arora-anmol May 12, 2025 16:33
@linear
Copy link
Copy Markdown

linear Bot commented May 12, 2025

PRE-1731 Add event to setRouter()

In the AutoWrapper contract, the function setRouter() was added without an event to emit.

https://cantina.xyz/code/e7441e41-dcf5-4939-8099-d9a4305c4d06/findings?finding=7

@robertleifke robertleifke requested a review from Jesse-Sawa May 12, 2025 16:41
@arora-anmol arora-anmol merged commit a00061c into main May 13, 2025
3 checks passed
@arora-anmol arora-anmol deleted the robert/PRE-1731 branch May 13, 2025 18:13
arora-anmol added a commit that referenced this pull request May 23, 2025
* add router updated event

* emit event in constructor as well

---------

Co-authored-by: Anmol Arora <a53arora@uwaterloo.ca>
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.

2 participants