Skip to content

Commit f83e619

Browse files
authored
Removed synthetic transactions from test set. (#1739)
Signed-off-by: ebadiere <[email protected]>
1 parent 4b4e416 commit f83e619

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ describe('@api-batch-1 RPC Server Acceptance Tests', function () {
389389
[mirrorBlock.hash.substring(0, 66), true],
390390
requestId,
391391
);
392+
// Remove synthetic transactions
393+
blockResult.transactions = blockResult.transactions.filter((transaction) => transaction.value !== '0x1234');
392394
Assertions.block(blockResult, mirrorBlock, mirrorTransactions, true);
393395
});
394396

@@ -416,6 +418,8 @@ describe('@api-batch-1 RPC Server Acceptance Tests', function () {
416418
[numberTo0x(mirrorBlock.number), false],
417419
requestId,
418420
);
421+
// Remove synthetic transactions
422+
blockResult.transactions = blockResult.transactions.filter((transaction) => transaction.value !== '0x1234');
419423
Assertions.block(blockResult, mirrorBlock, mirrorTransactions, false);
420424
});
421425

@@ -425,6 +429,8 @@ describe('@api-batch-1 RPC Server Acceptance Tests', function () {
425429
[numberTo0x(mirrorBlock.number), true],
426430
requestId,
427431
);
432+
// Remove synthetic transactions
433+
blockResult.transactions = blockResult.transactions.filter((transaction) => transaction.value !== '0x1234');
428434
Assertions.block(blockResult, mirrorBlock, mirrorTransactions, true);
429435
});
430436

0 commit comments

Comments
 (0)