aionnetwork / AVM

Enabling Java code to run in a blockchain environment
https://theoan.com/
MIT License
49 stars 25 forks source link

ABIEncoder should encode null as a NULL token of the appropriate type #378

Closed arajasek closed 5 years ago

arajasek commented 5 years ago

The fix in commit de4b10a is intended to be temporary. The correct result of a function of the form

@Callable 
public static int[][] get2DArray() {
return null;
}

should be an encoding of a null integer array.