-
Notifications
You must be signed in to change notification settings - Fork 1
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(eigen-client-extra-features): Add soft confirmations #322
feat(eigen-client-extra-features): Add soft confirmations #322
Conversation
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.
LGTM. Be sure to check comment before merging!
let result = client.dispatch_blob(0, data.clone()).await.unwrap(); | ||
let blob_info: BlobInfo = | ||
rlp::decode(&hex::decode(result.blob_id.clone()).unwrap()).unwrap(); | ||
// TODO: once get inclusion data is added, check it |
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.
I think inclusion was already added.
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.
Done!
eigenda_eth_rpc: String::default(), | ||
eigenda_svc_manager_address: "0xD4A7E1Bd8015057293f0D0A557088c286942e84b".to_string(), | ||
blob_size_limit: 2 * 1024 * 1024, // 2MB | ||
status_query_timeout: 1800, // 30 minutes |
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.
is the configuration documented somewhere? I found confusing that the numbers in status_query_timeout and status_query_interval (both related to the status_query) have different units.
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.
Done
status_query_timeout: 1800000, // 30 minutes | ||
status_query_interval: 5000, // 5000 ms | ||
wait_for_finalization: true, | ||
authenticaded: true, |
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.
typo: authenticaded -> authenticated
f95bc1b
into
eigen-client-extra-features
What ❔
This PR adds soft confirmations
Why ❔
Checklist
zkstack dev fmt
andzkstack dev lint
.