TypeChain
TypeChain copied to clipboard
Conflicting events containing multi dimensional array types
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](https://user-images.githubusercontent.com/2093615/168935577-fb71e612-824f-42f5-bd7a-7e75ac8dbcb1.png)
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