Skip to content

Commit

Permalink
test: activate all indexer tests (#1514)
Browse files Browse the repository at this point in the history
* modify fetch scripts and update test data

Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>

* reactivate all tests and fix

Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>

* rerun

* revert kakarot address for base branch

Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>

* rerevert kakarot address for base branch

Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>

---------

Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>
  • Loading branch information
greged93 authored Oct 30, 2024
1 parent 2c468f5 commit dd68200
Show file tree
Hide file tree
Showing 7 changed files with 387,583 additions and 151,312 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deno_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Run Tests with Coverage on target branch
run:
DEFAULT_BLOCK_GAS_LIMIT=7000000 STARKNET_NETWORK=http://0.0.0.0:1010
KAKAROT_ADDRESS=0x11c5faab8a76b3caff6e243b8d13059a7fb723a0ca12bbaadde95fb9e501bda
KAKAROT_ADDRESS=0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359
deno test --allow-env --allow-read --coverage=cov_profile
- name: Generate Coverage Report on target branch
run: deno coverage cov_profile --html
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Run Tests with Coverage on base branch
run:
DEFAULT_BLOCK_GAS_LIMIT=7000000 STARKNET_NETWORK=http://0.0.0.0:1010
KAKAROT_ADDRESS=0x11c5faab8a76b3caff6e243b8d13059a7fb723a0ca12bbaadde95fb9e501bda
KAKAROT_ADDRESS=0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359
deno test --allow-env --allow-read --coverage=cov_profile_main
- name: Generate HTML report from for the base branch
run: deno coverage cov_profile_main --html
Expand Down
2 changes: 1 addition & 1 deletion indexer/tests/filter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Deno.test(
"0x0",
"0x0",
"0x0",
"0x11c5faab8a76b3caff6e243b8d13059a7fb723a0ca12bbaadde95fb9e501bda",
"0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359",
];
const transaction: Transaction = {
invokeV1: {
Expand Down
75,023 changes: 45,476 additions & 29,547 deletions indexer/tests/test-data/expectedTransformData.json

Large diffs are not rendered by default.

Loading

0 comments on commit dd68200

Please sign in to comment.