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

[paused] feat: snos job #50

Closed
wants to merge 25 commits into from
Closed

[paused] feat: snos job #50

wants to merge 25 commits into from

Conversation

akhercha
Copy link
Member

@akhercha akhercha commented Jul 22, 2024

⏸ On hold

This PR is currently paused until the snos repository has been updated (since the way to run Snos in the context of Madara will change a lot and we don't have any spec/design yet).


Resolves: #11

Added

  • Implementation of the SnosJob
  • StateJob::DummyState - used as a replacement until we can import the structure BlockifierStateAdapter from Madara. Currently not possible dues to conflicting dependencies versions between Snos <=> Madara <=> Cairo-vm. (It may not be needed at all to import that depending on the next updates from snos, their goal is to make it easier to run the Snos in the context of Madara)
  • HttpRpcClient to our Config for RPC requests to L1/Madara (gas price & snos input at the moment)
  • conversions & time utils functions

@akhercha akhercha changed the title feat: snos job [in progress] feat: snos job Jul 22, 2024
}

fn max_verification_attempts(&self) -> u64 {
todo!()
// TODO: isn't 10 a lot?
10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya if there's no verification then 10 would be a lot :)

}

fn verification_polling_delay_seconds(&self) -> u64 {
todo!()
// TODO: what is an average run time for SNOS?
60
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't know the runtime yet but in the current implementation looks like we run in synchronously so verification delay can be like 1s

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes true - updated

@akhercha akhercha changed the title [in progress] feat: snos job [paused] feat: snos job Jul 23, 2024
@Tranduy1dol
Copy link

Hi @apoorvsadana , I just want to know if there are any plans for SNOS. I've noticed that this PR has been on hold for a while.

@akhercha
Copy link
Member Author

Hi @apoorvsadana , I just want to know if there are any plans for SNOS. I've noticed that this PR has been on hold for a while.

Hey @Tranduy1dol - this PR is on hold until the snos repository is ready to be integrated with Madara. Until then, we can't really continue this work.

@akhercha akhercha closed this by deleting the head repository Aug 27, 2024
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.

implement SNOS job
3 participants