Stake.link's
whitelisting mechanism, specifically the addWhitelistedChain
function currently limits address formats to EVM-compatible types. This restriction could hinder future cross-chain interactions with non-EVM chains.
addWhitelistedChain function: Employs the address type
for the _destination
parameter, implicitly assuming EVM address compatibility.
This could hinder future cross-chain interactions with non-EVM chains such as Polkadot and Tron as it will be difficult to pass them as of address type
parameter.
Prevents seamless cross-chain interactions with non-EVM chains that employ different address formats
Manual Review
Modify addWhitelistedChain to use string type for _destination.
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.