-
Notifications
You must be signed in to change notification settings - Fork 92
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
Pass Marketplaceconfig to HotShot #1805
Conversation
8a27973
to
7e68405
Compare
SolverAuctionResults::urls()
SolverAuctionResultsProvider
w/ `solver_url
0cfa920
to
7a777f8
Compare
24b353e
to
2de8730
Compare
SolverAuctionResultsProvider
w/ `solver_url2de8730
to
367bcab
Compare
* Instanciate SolverAuctionResultsProvider with `solver_url` * Use Base version (Instead of hard coding) * update hotshot and query-service
Broken
e3e6d27
to
3f1687a
Compare
Cargo.toml
Outdated
hotshot-stake-table = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.68" } | ||
hotshot-builder-api = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "rc-0.5.70" } | ||
hotshot-builder-core = { git = "https://github.com/EspressoSystems/hotshot-builder-core", tag = "rc-0.1.40" } | ||
marketplace-builder-core = { git = "https://github.com/EspressoSystems/marketplace-builder-core", rev = "c1e60e76893557f21e8aea7e86994ebe107b4914" } |
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.
Isn't that what 0.0.2 points to anyway?
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.
Not sure where that got pulled in from, possibly an artifact of conflict resolution. But I'll check.
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.
fixed c5bb984
builder/src/permissioned.rs
Outdated
@@ -384,7 +386,13 @@ pub async fn init_hotshot< | |||
.unwrap(), | |||
ConsensusMetricsValue::new(metrics), | |||
da_storage, | |||
TestAuctionResultsProvider::default(), | |||
// TODO if this builder is to be used for marketplace, we need real urls. |
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.
It is not, we can just pass bogus config.
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.
removed c5bb984
/// URL of generic builder | ||
#[clap( | ||
long, | ||
env = "ESPRESSO_GENERIC_BUILDER_URL", |
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.
We have renamed generic builder to fallback builder
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.
Since this is used for MarketplaceConfig
I would prefer to wait until the name gets changed there. Which I don't believe has happened yet.
sequencer/src/options.rs
Outdated
#[clap( | ||
long, | ||
env = "ESPRESSO_AUCTION_RESULTS_SOLVER_URL", | ||
default_value = "http://localhost:8083" |
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.
Can you please make it 25000, the same as default solver port in .env
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.
fixed c5bb984
sequencer/src/options.rs
Outdated
#[clap( | ||
long, | ||
env = "ESPRESSO_GENERIC_BUILDER_URL", | ||
default_value = "http://localhost:8083" |
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.
Same as solver, can you please make it 31004 to conform to .env?
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.
fixed c5bb984
Co-authored-by: Artemii Gerasimovich <[email protected]>
Respond to comments * set default ports to `.env` values * remove TODO * pin marketplace-builder to tag * remove as yet unused cli params
Fix conflict, resolution errors. Add marketplace-builder back in, and update marketplace-builder-core version
Pass Marketplaceconfig to HotShot