Skip to content

Commit d8b02b3

Browse files
committed
fix: fixed test in batch1
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
1 parent 8839f3e commit d8b02b3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/server/tests/acceptance/rpc_batch1.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,10 +1423,7 @@ describe('@api-batch-1 RPC Server Acceptance Tests', function () {
14231423
};
14241424

14251425
const signedTx = await accounts[1].wallet.signTransaction(transaction);
1426-
const error = predefined.TRANSACTION_SIZE_LIMIT_EXCEEDED(
1427-
132320,
1428-
ConfigService.get('SEND_RAW_TRANSACTION_SIZE_LIMIT'),
1429-
);
1426+
const error = predefined.CONTRACT_CODE_SIZE_LIMIT_EXCEEDED(132221, Constants.CONTRACT_CODE_SIZE_LIMIT);
14301427

14311428
await Assertions.assertPredefinedRpcError(error, sendRawTransaction, true, relay, [signedTx, requestDetails]);
14321429
});

0 commit comments

Comments
 (0)