Skip to content

CollectionCompress doesn't work #9

@vlad-zotov

Description

@vlad-zotov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions