-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add SubmitAPI configuration and integration #64
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
Conversation
proxy/src/config.rs
Outdated
| env::set_var("DOLOS_ENDPOINTS", r"/blocks/,/epochs/"); | ||
| env::set_var("SUBMITAPI_PORT", "8090"); | ||
| env::set_var("SUBMITAPI_DNS", "ext-submitapi-m1"); | ||
| env::set_var("SUBMITAPI_ENDPOINTS", r"/tx/submit"); |
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 don't think this should be configurable, we already know that that is the only endpoint
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.
Perfect, I will remove the ENDPOINTS variable from the code 🙌
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
proxy/src/proxy.rs
Outdated
| //eg: internal-cardano-mainnet-submitapi.ext-submitapi-m1.svc.cluster.local:8090 | ||
| "internal-{}-submitapi.{}:{}", |
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 doesn't exist I think.
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 based on the dolos one, but not sure which one will be the submitapi, we can fix that wtih a real one
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.
You need to check in what service the submitapi pods can be found on the cluster. Particularly, it is submitapi-cardano-mainnet, submitapi-cardano-preprod, etc
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.
Perfect! So, I updated to that format 🙌
No description provided.