TypeChain icon indicating copy to clipboard operation
TypeChain copied to clipboard

Conflicting events containing multi dimensional array types

Open kevupton opened this issue 2 years ago • 0 comments

Fails to compile the output when conflicting events contain multi dimensional arrays inside.

Example Source

    event BatchUpdate(
        address indexed operator,
        address[][] accounts,
        bytes32[] access
    );

    event BatchUpdate(
        address indexed operator,
        address[] accounts,
        bytes32[] access
    );

Error

image

Expected Output

I would expect this to work. However may need to add a dimensional factor to the name maybe? address1, address2

Links

  • https://github.com/dethcrypto/TypeChain/issues/428
  • https://github.com/dethcrypto/TypeChain/pull/588

kevupton avatar May 18 '22 00:05 kevupton