chainlink icon indicating copy to clipboard operation
chainlink copied to clipboard

[CRE-1155] do not validate our internal inputs

Open Tofel opened this issue 2 months ago • 5 comments

Tofel avatar Oct 24 '25 15:10 Tofel

Quality Gate passed Quality Gate passed

Issues
0 New issues
4 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Static BadgeStatic BadgeStatic BadgeStatic Badge

Flaky Test Failure Summary Logs
TestTransferToMCMSToTimelockSolana The test failed due to a transaction error caused by a program ID mismatch during a Solana contract initialization. Logs ↗︎
TestFundMCMSignersChangeset_Apply The test failed without a specific error message, indicating an unspecified issue during the execution of the flaky test. Logs ↗︎

View Full Report ↗︎Docs

trunk-io[bot] avatar Oct 24 '25 16:10 trunk-io[bot]

I'm not so sure this is a great idea. Would be great to put a description with some motivation behind.

mchain0 avatar Oct 29 '25 07:10 mchain0

Hey, @Tofel , what is the rationale behind this decision?

chudilka1 avatar Oct 29 '25 08:10 chudilka1

@chudilka1 and @mchain0: less code, it is not being shipped to external users, so it is fine if we there's an NPE somewhere or out of bond array iteration, we know how to fix it. Also, all these types are used internally and in 99% by me. I don't think these validations ever failed, tbh.

Tofel avatar Oct 29 '25 10:10 Tofel