-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add the espresso-dev-node server #1709
Conversation
.map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; | ||
|
||
let contract = mock_contract.clone(); | ||
api.get("freeze", move |req, _| { |
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 these should not be GET but POST. GET isn't supposed to have side effects.
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.
sequencer/api/espresso_dev_node.toml
Outdated
Get the debug info | ||
""" | ||
|
||
[route.freeze] |
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.
Do we need the extra indirection by introducing new terminology "freeze/unfreeze" or should we just call it set-hotshot-down/up?
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.
Yeah makes sense. Will use set-hotshot-down/up
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.
9a7de92
to
2038cbe
Compare
e7550d6
to
e92c717
Compare
Closes #1679
This PR:
This would be helpful in these cases:
dev-node
without specifying the ports or urls./api/dev-info
shows the urls or ports that are being used. That will be helpful when they are going to debug or report the bugs to usKey places to review:
espresso-dev-node.rs
and the toml file.