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

feat: Provide Configuration Options for POB #205

Closed
wants to merge 85 commits into from

Conversation

keefertaylor
Copy link
Contributor

@keefertaylor keefertaylor commented Jul 11, 2023

NOTE: This PR was originally proposed against main in #203. I am also merging it into our release/v1.x.x branch. I addressed reviewers comments in the other thread, and linked the commits here.

===

When integrating into Duality we discovered that not all chains will have a Distribution Module.

To account for this, add a new abstraction, RewardsAddressProvider that will instruct the moduled as to where auction rewards should go. There are two options provided:

  1. ProposerRewardsAddressProvider: Send rewards to the block proposer
  2. FixedAddressRewardsAddressProvider: Send rewards to the same address

Notes:

  • The default dependency injection strategy for the module will use the Proposer provider, chains can override this preference
  • There is boilerplate code to inject a Fixed provider. This will default to the module's address and chains can provide their own injection binding if they want something else.
  • I didn't see a unit test for auction profits, so I haven't added an additional test.

dependabot bot and others added 30 commits April 14, 2023 14:29
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
… 1.0.0-beta.3 (#73)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…99)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…101)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
davidterpay and others added 17 commits June 8, 2023 20:23
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…175)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…173)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Terpay <[email protected]>
Co-authored-by: David Terpay <[email protected]>
@keefertaylor keefertaylor changed the base branch from main to release/v1.x.x July 11, 2023 19:13
@keefertaylor keefertaylor changed the title 2nd attempt at a 1.x.x merge feat: Provide Configuration Options for POB Jul 11, 2023
@keefertaylor
Copy link
Contributor Author

Closing in favor of #206 206

@keefertaylor keefertaylor deleted the keefer/1.x.x-addr-provider branch July 11, 2023 19:59
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.

3 participants