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

rewards + sdk update #9

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open

rewards + sdk update #9

wants to merge 48 commits into from

Conversation

supernovahs
Copy link
Collaborator

@supernovahs supernovahs commented Oct 22, 2024

  • update eigensdk
  • Remove state dump
  • Improve scripts
  • Reward scripts

@supernovahs supernovahs changed the title rewards WIP rewards + sdk updateWIP Oct 22, 2024
.gitmodules Outdated Show resolved Hide resolved
@supernovahs supernovahs marked this pull request as ready for review October 28, 2024 12:20
@@ -0,0 +1,54 @@
// SPDX-License-Identifier: UNLICENSED

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?

Copy link
Collaborator Author

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

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

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

@supernovahs supernovahs changed the title rewards + sdk updateWIP rewards + sdk update Nov 8, 2024
Comment on lines +453 to +463
// #[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);
// }
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants