Skip to content

Commit

Permalink
fix(roles): updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
ogmedia committed Oct 21, 2022
1 parent 4adc43b commit 8deeb5b
Show file tree
Hide file tree
Showing 12 changed files with 1,166 additions and 85 deletions.
2 changes: 1 addition & 1 deletion programs/mesh/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub mod state;
use errors::*;
pub mod errors;

declare_id!("SMPLVC8MxZ5Bf5EfF7PaMiTCxoBAcmkbM2vkrvMK8ho");
declare_id!("5mt41y2huXBXb8HSkMiNexABuk8GVEmrgZqEgauGtV4y");

#[program]
pub mod mesh {
Expand Down
2 changes: 1 addition & 1 deletion programs/program-manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use squads_mpl::state::*;
use squads_mpl::errors::*;
pub mod state;

declare_id!("SMPLKTQhrgo22hFCVq2VGX1KAktTWjeizkhrdB1eauK");
declare_id!("8Y5Qbdb67Ka4LcPCziyhLrGbYN2ftZ1BG11Q5PiHenLP");

#[program]
pub mod program_manager {
Expand Down
3 changes: 2 additions & 1 deletion programs/squads-mpl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub mod state;
use errors::*;
pub mod errors;

declare_id!("SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu");
declare_id!("84Ue9gKQUsStFJQCNQpsqvbceo7fKYSSCCMXxMZ5PkiW");

#[program]
pub mod squads_mpl {
Expand Down Expand Up @@ -185,6 +185,7 @@ pub mod squads_mpl {
// instructions, whereas authorities 1 or greater refer to a vault,
// upgrade authority, or other.
pub fn create_transaction(ctx: Context<CreateTransaction>, authority_index: u32) -> Result<()> {
msg!("Creating transaction from payer {:?}", ctx.accounts.creator.key());
let ms = &mut ctx.accounts.multisig;
let authority_bump = match authority_index {
1.. => {
Expand Down
2 changes: 1 addition & 1 deletion programs/txmeta/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use anchor_lang::prelude::*;
declare_id!("SMPL5bz5ERMdweouWrXtk3jmb6FnjZkWf7pHDsE6Zwz");
declare_id!("5o4wQhxotU8rVz6iK1VowzyX53z3HuznvhvYYCMZn875");

#[program]
pub mod txmeta {
Expand Down
Loading

0 comments on commit 8deeb5b

Please sign in to comment.