diff --git a/src/awst_build/eb/storage/box/box-ref.ts b/src/awst_build/eb/storage/box/box-ref.ts index 84d0a009..6e952afa 100644 --- a/src/awst_build/eb/storage/box/box-ref.ts +++ b/src/awst_build/eb/storage/box/box-ref.ts @@ -56,7 +56,7 @@ export class BoxRefExpressionBuilder extends BoxProxyExpressionBuilder { return instanceEb( nodeFactory.checkedMaybe({ expr: nodeFactory.intrinsicCall({ - opCode: 'box_length', + opCode: 'box_len', stackArgs: [boxValueExpr], wtype: new WTuple({ types: [uint64WType, boolWType], immutable: true }), immediates: [],