diff --git a/src/types/infer.ts b/src/types/infer.ts index e4144ac6..686bebc6 100644 --- a/src/types/infer.ts +++ b/src/types/infer.ts @@ -2418,16 +2418,6 @@ export class InferType { if (type instanceof ArrayType) { const elT = this.toABIEncodedType(type.elementT, encoderVersion); - if (type.size !== undefined) { - const elements = []; - - for (let i = 0; i < type.size; i++) { - elements.push(elT); - } - - return new TupleType(elements); - } - return new ArrayType(elT, type.size); }