Skip to content

Commit

Permalink
Quadratic Voting: Missing fields in the IDL
Browse files Browse the repository at this point in the history
  • Loading branch information
dankelleher committed Dec 27, 2023
1 parent 6805a03 commit ff5906c
Show file tree
Hide file tree
Showing 2 changed files with 628 additions and 5 deletions.
2 changes: 1 addition & 1 deletion programs/quadratic/src/instructions/create_registrar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use spl_governance::state::realm;
/// Creates a Plugin Registrar for spl-gov Realm
/// This instruction should only be executed once per realm/governing_token_mint to create the account
#[derive(Accounts)]
#[instruction(use_previous_voter_weight_plugin:bool)]
#[instruction(coefficients: QuadraticCoefficients, use_previous_voter_weight_plugin:bool)]
pub struct CreateRegistrar<'info> {
/// The quadratic Registrar
/// There can only be a single registrar per governance Realm and governing mint of the Realm
Expand Down

0 comments on commit ff5906c

Please sign in to comment.