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

Performance optimizations #3378

Closed

Update lib.rs

409e3fb
Select commit
Loading
Failed to load commit list.
Closed

Performance optimizations #3378

Update lib.rs
409e3fb
Select commit
Loading
Failed to load commit list.
Garnix CI / check treefmt [x86_64-linux] failed Dec 14, 2024 in 3m 18s

Run results

Build failed

Details

Last 100 lines of logs:

  i Remove "connections"
  

devnet-compose/src/voyager-config.example.json:29:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × expected `,` but instead found `"advanced"`
  
    27 │     }
    28 │   ]
  > 29 │ "advanced": {
       │ ^^^^^^^^^^
    30 │     "enableExperimentalFeatures": true,
    31 │     "customOption": "value"
  
  i Remove "advanced"
  

devnet-compose/src/voyager-config.example.json:6:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × expected `,` but instead found `"network"`
  
    4 │     "file": "./logs/voyager.log"
    5 │   }
  > 6 │   "network": {
      │   ^^^^^^^^^
    7 │     "host": "localhost",
    8 │     "port": 8080
  
  i Remove "network"
  

devnet-compose/src/voyager-config.example.json:10:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × expected `,` but instead found `"service"`
  
     8 │     "port": 8080
     9 │   }
  > 10 │   "service": {
       │   ^^^^^^^^^
    11 │     "retryPolicy": {
    12 │       "maxRetries": 3,
  
  i Remove "service"
  

devnet-compose/src/voyager-config.example.json:17:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × expected `,` but instead found `"connections"`
  
    15 │     "timeout": 30000
    16 │   }
  > 17 │ "connections": [
       │ ^^^^^^^^^^^^^
    18 │     {
    19 │       "from": "osmosis",
  
  i Remove "connections"
  

devnet-compose/src/voyager-config.example.json:29:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × expected `,` but instead found `"advanced"`
  
    27 │     }
    28 │   ]
  > 29 │ "advanced": {
       │ ^^^^^^^^^^
    30 │     "enableExperimentalFeatures": true,
    31 │     "customOption": "value"
  
  i Remove "advanced"
  

Checked 713 files in 252ms. No fixes applied.
Found 8 errors.
check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × Some errors were emitted while applying fixes.
  


ERRO formatter | rustfmt: failed to apply with options '[--edition 2021 --config skip_children=true]': exit status 1

error: this file contains an unclosed delimiter
   --> /build/project/hubble/src/indexer/ethereum/fetcher_client.rs:150:29
    |
97  | impl EthFetcherClient {
    |                       - unclosed delimiter
...
148 |     async fn fetch_eager_details(
    |                                 - unclosed delimiter
149 |         &self,
150 |         block: &AnyRpcBlock
    |                            ^


traversed 2663 files
emitted 2177 files for processing
formatted 490 files (39 changed) in 4.689s
Error: formatting failures detected