darwinia-network / darwinia-messages-sol

Darwinia cross-chain messages gateway and protocol for EVM developers 💌
MIT License
29 stars 8 forks source link

Require `_data.length` > 0 #230

Closed hujw77 closed 1 year ago

hujw77 commented 1 year ago

https://github.com/darwinia-network/darwinia-messages-sol/blob/28ec79482a0d5ef500fe1ce066c51165f4efe75c/contracts/periphery/contracts/s2s/types/CommonTypes.sol#L81

wuminzhe commented 1 year ago

I'll fix it. Under what conditions will the data length be 0?

wuminzhe commented 1 year ago

the type of AssignedRelayers is Option<Vec<PalletFeeMarketRelayer>>.