Skip to content

Commit

Permalink
fixes to transfer ownership commands
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 committed Feb 17, 2022
1 parent 4e1b461 commit 281a05e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class AcceptStoreOwnership extends SolanaCommand {

const state = new PublicKey(this.flags.state)

const tx = program.instruction.acceptOwnership({
const tx = program.instruction.acceptStoreOwnership({
accounts: {
store: state,
authority: signer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default class TransferStoreOwnership extends SolanaCommand {
static category = CONTRACT_LIST.STORE

static examples = [
`yarn gauntlet store :transfer_ownership --network=devnet --state=[PROGRAM_STATE] --to=[PROPOSED_OWNER]`,
`yarn gauntlet store:transfer_store_ownership --network=devnet --state=[PROGRAM_STATE] --to=[PROPOSED_OWNER]`,
]

constructor(flags, args) {
Expand All @@ -28,7 +28,7 @@ export default class TransferStoreOwnership extends SolanaCommand {
const state = new PublicKey(this.flags.state)
const proposedOwner = new PublicKey(this.flags.to)

const tx = program.instruction.transferOwnership(proposedOwner, {
const tx = program.instruction.transferStoreOwnership(proposedOwner, {
accounts: {
store: state,
authority: signer,
Expand Down

0 comments on commit 281a05e

Please sign in to comment.