There are two local variables (name and symbol) in the constructor in the Asset.sol contract that are shadowing (hiding) others functions called name() and symbol ().
shadows:
shadows:
In Solidity, shadowing occurs when a local variable or function parameter has the same name as a variable or function in an outer scope. This can lead to confusion and potential bugs because the local variable or parameter will take precedence over the outer variable or function.
Slither
Rename the name field in the eip712Domain() function to avoid the shadowing.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.