Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: low
Invalid

No Event Emission on State Change in appointTrustee

Summary:
The InheritanceManager::appointTrustee function updates the state without emitting an event, reducing effective offchain communication.

Vulnerability Details:
The absence of an event may hinder off-chain tracking and notification processes.

Code Example
function appointTrustee(address _trustee) external onlyBeneficiaryWithIsInherited {
trustee = _trustee;
}

Impact:
Low – Although not critical, it impairs the user experience.

Tools Used:
slither, aderyn, foundry

Recommendations:
Emit an event after updating the trustee to improve user experience.

Diff Recommendation
function appointTrustee(address _trustee) external onlyBeneficiaryWithIsInherited {
trustee = _trustee;
+ emit InheritanceManager__AppointedTrustee();
}
Updates

Lead Judging Commences

0xtimefliez Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!