contract Donate{
uint size = 0;
struct DonateInfo{
uint id;
uint value;
uint time;
}
DonateInfo[] public list;
function all() public returns (DonateInfo []){
return list;
}
}
执行all方法后报错
Failed to decode output: Error: Unsupported or invalid type: tuple
求大神解答