Skip to content

Commit

Permalink
Final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sozin committed Oct 8, 2024
1 parent b401b19 commit a360138
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions rindexer_rust_playground/rindexer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ project_type: rust
networks:
- name: ethereum
chain_id: 1
kind: Rpc
rpc: https://mainnet.gateway.tenderly.co
- name: base
chain_id: 8453
kind: Rpc
rpc: https://mainnet.base.org
storage:
postgres:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ fn create_shadow_client(
"X-SHADOW-API-KEY",
public_read_env_value("RINDEXER_PHANTOM_API_KEY").unwrap().parse().unwrap(),
);
let url = rpc_url.parse().unwrap();
create_jsonrpc_client(url, compute_units_per_second, max_block_range, header)
create_jsonrpc_client(rpc_url.parse().unwrap(), compute_units_per_second, max_block_range, header)
.and_then(|client| Ok(client as Arc<dyn ProviderInterface>))
}

Expand Down

0 comments on commit a360138

Please sign in to comment.