eos-jvm
eos-jvm copied to clipboard
CollectionCompress doesn't work
Code sample:
@Abi
public class MyArgs {
private List<Argument> arguments;
public MyArgs(List<Argument> arguments) {
this.arguments = arguments;
}
@CollectionCompress
public List<Argument> getArgument() {
return arguments;
}
}
@Abi
public class Argument {
private String data;
@NameCompress
public String getData() {
return data;
}
}
String hex = abiBinaryGenTransferWriter
.squishMyArgs(args)
.toHex();
If I pass that hex data to abi_bin_to_json I get json with empty list of arguments.