Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(app): addresses stats #2711

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

fix(app): remove commented, no need

8aa803e
Select commit
Loading
Failed to load commit list.
Open

feat(app): addresses stats #2711

fix(app): remove commented, no need
8aa803e
Select commit
Loading
Failed to load commit list.
Garnix CI / check biome-lint [x86_64-linux] failed Aug 29, 2024 in 2m 19s

Run results

Build failed

Details

Last 100 lines of logs:

    in Process check with path: "./site/src/components/graphs/ValidatorPerformance.svelte"

  2024-08-29T15:57:06.694244Z  INFO  Pulled 0 diagnostic(s)
    at crates/biome_service/src/workspace/server.rs:629 on biome::worker_7
    in Processes linting with path: "./app/src/routes/transfer/(components)/transfer-form.svelte"
    in Process check with path: "./app/src/routes/transfer/(components)/transfer-form.svelte"

  2024-08-29T15:57:06.694424Z  INFO  Pulled 0 diagnostic(s)
    at crates/biome_service/src/workspace/server.rs:629 on biome::worker_36
    in Processes formatting with path: "./site/src/components/graphs/ValidatorPerformance.svelte"
    in Process check with path: "./site/src/components/graphs/ValidatorPerformance.svelte"

  2024-08-29T15:57:06.694465Z  INFO  Analyze file ./app/src/routes/transfer/(components)/transfer-form.svelte
    at crates/biome_service/src/file_handlers/javascript.rs:479 on biome::worker_7
    in Pulling diagnostics with categories: RuleCategories(BitFlags<Categories>(0b1, Syntax))
    in Processes formatting with path: "./app/src/routes/transfer/(components)/transfer-form.svelte"
    in Process check with path: "./app/src/routes/transfer/(components)/transfer-form.svelte"

  2024-08-29T15:57:06.694488Z  INFO  Format file ./site/src/components/graphs/ValidatorPerformance.svelte
    at crates/biome_service/src/file_handlers/javascript.rs:816 on biome::worker_36
    in Processes formatting with path: "./site/src/components/graphs/ValidatorPerformance.svelte"
    in Process check with path: "./site/src/components/graphs/ValidatorPerformance.svelte"

  2024-08-29T15:57:06.697757Z  INFO  Pulled 0 diagnostic(s)
    at crates/biome_service/src/workspace/server.rs:629 on biome::worker_31
    in Processes formatting with path: "./app/src/lib/abi/ucs-01.ts"
    in Process check with path: "./app/src/lib/abi/ucs-01.ts"

  2024-08-29T15:57:06.697878Z  INFO  Format file ./app/src/lib/abi/ucs-01.ts
    at crates/biome_service/src/file_handlers/javascript.rs:816 on biome::worker_31
    in Processes formatting with path: "./app/src/lib/abi/ucs-01.ts"
    in Process check with path: "./app/src/lib/abi/ucs-01.ts"

  2024-08-29T15:57:06.709801Z  INFO  Pulled 0 diagnostic(s)
    at crates/biome_service/src/workspace/server.rs:629 on biome::worker_7
    in Processes formatting with path: "./app/src/routes/transfer/(components)/transfer-form.svelte"
    in Process check with path: "./app/src/routes/transfer/(components)/transfer-form.svelte"

  2024-08-29T15:57:06.709880Z  INFO  Format file ./app/src/routes/transfer/(components)/transfer-form.svelte
    at crates/biome_service/src/file_handlers/javascript.rs:816 on biome::worker_7
    in Processes formatting with path: "./app/src/routes/transfer/(components)/transfer-form.svelte"
    in Process check with path: "./app/src/routes/transfer/(components)/transfer-form.svelte"

  2024-08-29T15:57:06.742806Z  INFO  Pulled 0 diagnostic(s)
    at crates/biome_service/src/workspace/server.rs:629 on biome::worker_33
    in Processes linting with path: "./app/src/lib/abi/ibc-handler.ts"
    in Process check with path: "./app/src/lib/abi/ibc-handler.ts"

  2024-08-29T15:57:06.742939Z  INFO  Analyze file ./app/src/lib/abi/ibc-handler.ts
    at crates/biome_service/src/file_handlers/javascript.rs:479 on biome::worker_33
    in Pulling diagnostics with categories: RuleCategories(BitFlags<Categories>(0b1, Syntax))
    in Processes formatting with path: "./app/src/lib/abi/ibc-handler.ts"
    in Process check with path: "./app/src/lib/abi/ibc-handler.ts"

  2024-08-29T15:57:06.745452Z  INFO  Pulled 0 diagnostic(s)
    at crates/biome_service/src/workspace/server.rs:629 on biome::worker_33
    in Processes formatting with path: "./app/src/lib/abi/ibc-handler.ts"
    in Process check with path: "./app/src/lib/abi/ibc-handler.ts"

  2024-08-29T15:57:06.745531Z  INFO  Format file ./app/src/lib/abi/ibc-handler.ts
    at crates/biome_service/src/file_handlers/javascript.rs:816 on biome::worker_33
    in Processes formatting with path: "./app/src/lib/abi/ibc-handler.ts"
    in Process check with path: "./app/src/lib/abi/ibc-handler.ts"

./app/src/lib/queries/stats.ts format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ Formatter would have printed the following content:
  
     1  1 │   import { createQuery } from "@tanstack/svelte-query"
     2    │ - import·{·statsQueryDocument,·transfersPerDayQueryDocument,·transferAddressesCountQueryDocument·}·from·"$lib/graphql/queries/stats.ts"
        2 │ + import·{
        3 │ + ··statsQueryDocument,
        4 │ + ··transfersPerDayQueryDocument,
        5 │ + ··transferAddressesCountQueryDocument
        6 │ + }·from·"$lib/graphql/queries/stats.ts"
     3  7 │   import { request } from "graphql-request"
     4  8 │   import { URLS } from "$lib/constants"
    ····· │ 
    27 31 │       queryKey: ["transfer-addresses"],
    28 32 │       queryFn: async () =>
    29    │ - ······(await·request(URLS.GRAPHQL,·transferAddressesCountQueryDocument,·{·addresses·})).v1_transfers_aggregate,
       33 │ + ······(await·request(URLS.GRAPHQL,·transferAddressesCountQueryDocument,·{·addresses·}))
       34 │ + ········.v1_transfers_aggregate,
    30 35 │       enabled: true,
    31 36 │       refetchInterval: 6_000,
    32    │ - ····refetchOnWindowFocus:·false,
       37 │ + ····refetchOnWindowFocus:·false
    33 38 │     })
    34    │ - 
    35    │ - 
    36 39 │   
  

Checked 684 files in 2s. No fixes applied.
Found 1 error.
check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ Some errors were emitted while running checks.