Public mappings in Solidity automatically generate getter functions for external access. Explicit getter functions are defined for these mappings, creating unnecessary redundancy in the contract's ABI.
Likelihood:
During contract deployment, as the ABI includes duplicate methods.
When interacting via tools like ethers.js, leading to potential confusion in function selection.
Impact:
Duplicated functionality.
Mints and lists NFT, then compares auto-generated tuple from public mapping with explicit struct getter, asserting matching fields to demonstrate identical redundant outputs.
Sets mappings to internal visibility, eliminating auto-generated getters and removing explicit functions for cleaner ABI without duplication.
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.