-
Notifications
You must be signed in to change notification settings - Fork 47
feat: add F3 proofs cache #1457
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
Changes from 1 commit
95ee4d3
fbe0db6
4c6bf4e
5f3eb8a
fbee757
8a5533e
59ab3bc
e69da3f
d0c1e99
0cb4a42
784b599
2ed6931
d25d646
9df2716
6cfde38
bc8076d
8495902
e2a7de6
d59aece
3b84809
279aacd
e174661
ac527de
25a029a
221baa3
d77f568
495d7f0
2fe7b60
a4e27bd
1747f78
be9c28e
0e9612e
ab2ba27
d40e5f4
7192140
7aef2f2
93f317d
3cc0376
6914245
9be81e8
4e168f0
b0213ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,8 +130,8 @@ async fn run_service( | |
| .await?; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Hardcoded network name prevents multi-network usageThe F3 network name is hardcoded to |
||
|
|
||
| // Get the power table | ||
| let current_state = temp_client.get_state().await; | ||
| let power_table = current_state.power_table; | ||
| let current_state = temp_client.get_state(); | ||
| let power_table = current_state.power_table.clone(); | ||
|
|
||
| println!("Power table fetched: {} entries", power_table.0.len()); | ||
| println!( | ||
|
|
@@ -146,10 +146,9 @@ async fn run_service( | |
| polling_interval: Duration::from_secs(poll_interval), | ||
| cache_config: CacheConfig { | ||
| lookahead_instances: lookahead, | ||
| retention_instances: 2, | ||
| retention_epochs: 2, | ||
| }, | ||
| parent_rpc_url: rpc_url, | ||
| fallback_rpc_urls: vec![], | ||
| gateway_id: GatewayId::EthAddress(gateway_address), | ||
| }; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Hardcoded F3 network name in development testing tool
The development tool accepts arbitrary RPC URLs via
--rpc-urlbut hardcodes"calibrationnet"as the F3 network name. The F3 light client uses this network name as part of the BLS signing domain, so if a user points the tool at a mainnet or other network RPC endpoint, certificate validation will silently fail with cryptographic errors rather than a clear message about the network mismatch. The network name parameter is missing from the CLI arguments despite the tool being designed to work with arbitrary RPC endpoints.