dethcrypto / dethcrypto/TypeChain

Conflicting events containing multi dimensional array types

Open
#697 0 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.8k
Forks
376
PR merge metrics
No merged PRs in 30d

Description

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

## Example Source

```solidity
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.