-
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
JIT Marketplace #1696
base: main
Are you sure you want to change the base?
JIT Marketplace #1696
Conversation
types/src/v0/v0_1/chain_config.rs
Outdated
@@ -40,6 +40,9 @@ pub struct ChainConfig { | |||
/// regardless of whether or not their is a `fee_contract` deployed. Once deployed, the fee | |||
/// contract can decide what to do with tokens locked in this account in Espresso. | |||
pub fee_recipient: FeeAccount, | |||
|
|||
/// Account that receives sequencing bids. | |||
pub bid_recipient: FeeAccount, |
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 is a breaking change so shouldn't we create a new v3 chain config and use that ?
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.
chain_config: Either::Left(ChainConfig::from(chain_config)), | ||
}, | ||
// TODO does this work? is there a better way? | ||
Either::Right(c) => ResolvableChainConfig { |
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.
What do you think @jbearer ?
Supersedes #1633 and #1659, bringing in
FullNetworkTx
and multiple fees per block changes.This PR:
Adds types and implementations for JIT marketplace. It includes changes for multiple fees per block. It doesn't currently compile due to pending changes in traits defined in HotShot.
Key places to review:
auction.rs
(impl and v0_3 type)header.rs
(impl and v0_3 type)v0_3/chain_config.rs
impls/state.rs
How to test this PR:
Currently untestable due to unsatisfied external dependencies.