diff --git a/src/lib/compiler.ts b/src/lib/compiler.ts index fb8b10190..a97a79a95 100644 --- a/src/lib/compiler.ts +++ b/src/lib/compiler.ts @@ -1091,7 +1091,7 @@ export default class Compiler { if (typeString === 'itxnparams') return { kind: 'base', type: 'itxn' }; if (typeString === 'bytes32') return { kind: 'staticArray', length: 32, base: { kind: 'base', type: 'byte' } }; if (typeString === 'bytes64') return { kind: 'staticArray', length: 64, base: { kind: 'base', type: 'byte' } }; - if (typeString === 'utf8void') return { kind: 'base', type: 'string' }; + if (typeString === 'utf8') return { kind: 'base', type: 'string' }; if (type.isBoolean()) return { kind: 'base', type: 'bool' }; diff --git a/types/global.d.ts b/types/global.d.ts index 7cd2c8bbc..f37537e54 100644 --- a/types/global.d.ts +++ b/types/global.d.ts @@ -262,7 +262,7 @@ declare type byte = { __byte: true }; declare type bytes = Byteslice; declare type bytes32 = Byteslice<32>; declare type bytes64 = Byteslice<64>; -declare type utf8 = bytes; +declare type utf8 = bytes; declare type TxnVerificationTests = { /** assert that the value is less than the given value */