SmartContractSecurity / SWC-registry

Smart Contract Weakness Classification and Test Cases
https://swcregistry.io/
MIT License
847 stars 165 forks source link

SWC-125: Wrong issue line number #266

Open guidanoli opened 2 years ago

guidanoli commented 2 years ago

https://github.com/SmartContractSecurity/SWC-registry/blob/b0142031dbbb4b779e6daf3fb1322210ec1736cd/test_cases/solidity/incorrect_inheritance_order/MDTCrowdsale/MDTCrowdsale.yaml#L8

The actual line should be 526. This error was introduced by #117.

chaals commented 1 year ago

We removed the YAML stuff (because this no longer runs like a test suite to build the site). Keeping this open for now - I do plan to add notes over time pointing out where in the samples things go wrong, but in a more human-readable format. So this will be a reminder.