You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
In the ClaimContract, specifically within the dilution functions (dilute1, dilute2, and dilute3), there is a typographical error in the error message used when reverting due to an already executed dilution. The error message "DiluteAllreadyHappened" is misspelled, with an extra 'l' in "Allready".
Recommendation:
Correct the spelling of the error message throughout the contract: 1. Rename the error definition: error DiluteAlreadyHappened();
Updateallreferencestothiserrorinthecontract:
if (dilution_s1_75_executed) revert DiluteAlreadyHappened();
if (dilution_s2_50_executed) revert DiluteAlreadyHappened();
if (dilution_s3_0_executed) revert DiluteAlreadyHappened();
The text was updated successfully, but these errors were encountered:
Description:
In the ClaimContract, specifically within the dilution functions (dilute1, dilute2, and dilute3), there is a typographical error in the error message used when reverting due to an already executed dilution. The error message "DiluteAllreadyHappened" is misspelled, with an extra 'l' in "Allready".
Recommendation:
Correct the spelling of the error message throughout the contract: 1. Rename the error definition:
error DiluteAlreadyHappened();
Updateallreferencestothiserrorinthecontract:
The text was updated successfully, but these errors were encountered: