-
Notifications
You must be signed in to change notification settings - Fork 0
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
rewards + sdk update #9
base: master
Are you sure you want to change the base?
Conversation
supernovahs
commented
Oct 22, 2024
•
edited
Loading
edited
- update eigensdk
- Remove state dump
- Improve scripts
- Reward scripts
…rewards-programmatic-incentives
@@ -0,0 +1,54 @@ | |||
// SPDX-License-Identifier: UNLICENSED |
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.
Should this be rolled into the main script?
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.
actually did this to make the scripts more clean, otherwise it ends up a big script which is a difficult process for a new contributor
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.
Maybe adding this as a lib to utils/
would reduce the clutter
it would be a stateless library along the lines of
deploy() returns (RegistryDeploymentLib.DeploymentData)
writeOutput(RegistryDeploymentLib.DeploymentData)
writeToRegistry(CoreDeploymentLib.DeploymentData, ICSDeploymentLib.DeploymentData)
And then it would add about 3 lines to the deploy script and would be useful to have in the tests where we just wouldn't write the json
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.
the struct is a bit overkill in this scenario since it's just a single address but i wanted to keep with the pattern from the other deployment libraries
// #[tokio::test] | ||
// async fn test_start_server() { | ||
// let fake_aggregator = build_aggregator().await; | ||
// let server = tokio::spawn(async move { | ||
// let _ = | ||
// FakeAggregator::start_server(Arc::new(tokio::sync::Mutex::new(fake_aggregator))) | ||
// .await; | ||
// }) | ||
// .await; | ||
// drop(server); | ||
// } |
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.
this commented code can be deleted