joshstevens19 / ethereum-abi-types-generator

Generate typings based on your ABIs, with provider wrappers exposed.
MIT License
163 stars 22 forks source link

static array size bug? #62

Open usd-yamazaki opened 1 year ago

usd-yamazaki commented 1 year ago

The type generated from address[2] is Shouldn't it be [address, address] instead of [address, address, address]?

https://github.com/joshstevens19/ethereum-abi-types-generator/blob/a1625ea68e32e2e33998cccc9c52a37970997361/abi-types-generator/src/converters/typescript/common/helpers.ts#L328

Is this correct?

joshstevens19 commented 1 year ago

can you give me an ABI which does this so I an cross check please