diff --git a/src/middleware/types.ts b/src/middleware/types.ts index 910451b1f8..0f642d4e37 100644 --- a/src/middleware/types.ts +++ b/src/middleware/types.ts @@ -761,7 +761,6 @@ export enum CallIdEnum { TransferFrom = 'transfer_from', CreateCheckpoint = 'create_checkpoint', Issue = 'issue', - BatchIssue = 'batch_issue', Redeem = 'redeem', RedeemFrom = 'redeem_from', ControllerRedeem = 'controller_redeem', diff --git a/src/utils/__tests__/index.ts b/src/utils/__tests__/index.ts index c2b3eb93da..8c74f921c0 100644 --- a/src/utils/__tests__/index.ts +++ b/src/utils/__tests__/index.ts @@ -2400,7 +2400,7 @@ describe('requestAtBlock', () => { describe('batchArguments', () => { test('should return chunks of data', () => { - const tag = TxTags.asset.BatchIssue; + const tag = TxTags.asset.BatchAddDocument; const expectedBatchLength = MAX_BATCH_ELEMENTS[tag]; const elements = range(0, 3 * expectedBatchLength + 1); @@ -2415,7 +2415,7 @@ describe('batchArguments', () => { }); test('should use a custom batching function to group elements', () => { - const tag = TxTags.asset.BatchIssue; + const tag = TxTags.asset.BatchAddDocument; const expectedBatchLength = MAX_BATCH_ELEMENTS[tag]; const elements = range(0, 2 * expectedBatchLength); @@ -2435,7 +2435,7 @@ describe('batchArguments', () => { }); test('should throw an error if a custom batch has a size bigger than the limit', () => { - const tag = TxTags.asset.BatchIssue; + const tag = TxTags.asset.BatchAddDocument; const expectedBatchLength = MAX_BATCH_ELEMENTS[tag]; const elements = range(0, 3 * expectedBatchLength); diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 947917ae59..16f7bb044a 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -9,7 +9,6 @@ export const MAX_MODULE_LENGTH = 32; export const MAX_TOKEN_AMOUNT = new BigNumber(Math.pow(10, 12)); export const DUMMY_ACCOUNT_ID = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; export const MAX_BATCH_ELEMENTS = { - [TxTags.asset.BatchIssue]: 200, [TxTags.asset.BatchAddDocument]: 20, [TxTags.asset.BatchRemoveDocument]: 20, [TxTags.identity.BatchAcceptAuthorization]: 100,