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

pcli: implement gda with predefined recipes #4362

Merged
merged 2 commits into from
May 9, 2024
Merged

Conversation

erwanor
Copy link
Member

@erwanor erwanor commented May 9, 2024

Describe your changes

This PR:

  • implement a gda prototype under pcli tx auction dutch gradual
  • amend the auction query service rpc to return position state

Issue ticket number and link

#4302

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    client and rpc changes

@erwanor erwanor added A-client Area: Design and implementation for client functionality A-auction Area: Relates to the auction component labels May 9, 2024
@erwanor erwanor added this to the Sprint 6 milestone May 9, 2024
@erwanor erwanor self-assigned this May 9, 2024
@erwanor erwanor changed the title Erwan/pcli gda prototype pcli: implement gda with predefined recipes May 9, 2024
@erwanor erwanor force-pushed the erwan/pcli_gda_prototype branch from 772cfde to 0fb3543 Compare May 9, 2024 13:31
Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌 woohoo! this is an exciting addition to pcli. i have some assorted comments below. great work!

crates/bin/pcli/Cargo.toml Show resolved Hide resolved
crates/bin/pcli/Cargo.toml Show resolved Hide resolved
Comment on lines +29 to +31
/// Schedule a gradual dutch auction, a prototype for penumbra developers.
#[clap(display_order = 1000, name = "gradual")]
DutchAuctionGradualSchedule {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

being unfamiliar with dutch auction literature, it might be friendly to provide a sentence or two about what a "gradual" auction is and particularly how it differs from a standard dutch auction.

Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm going to "approve" this so that you can include it in the 0.74 client, per #review-please in discord, but would appreciate us following up on the review items below. ✔️

@erwanor
Copy link
Member Author

erwanor commented May 9, 2024

Thanks for taking a look, good feedback, at this point this is an internal r&d prototype but polishing thing certainly wouldn't hurt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-auction Area: Relates to the auction component A-client Area: Design and implementation for client functionality
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants