diff --git a/gauntlet/packages/gauntlet-solana-contracts/src/commands/contracts/ownership/acceptOwnership.ts b/gauntlet/packages/gauntlet-solana-contracts/src/commands/contracts/ownership/acceptOwnership.ts index a07531b17..3a5c11427 100644 --- a/gauntlet/packages/gauntlet-solana-contracts/src/commands/contracts/ownership/acceptOwnership.ts +++ b/gauntlet/packages/gauntlet-solana-contracts/src/commands/contracts/ownership/acceptOwnership.ts @@ -56,7 +56,7 @@ export const makeAcceptOwnershipCommand = ( logger.info(`Accepting Ownership of contract of type "${contract.type}": - Contract: ${contract.address} ${contract.description ? '- ' + contract.description : ''} - Current Owner: ${ownership.owner.toString()} - - Next Owner (Current signer): ${this.wallet.publicKey}`) + - Next Owner (proposed): ${ownership.proposedOwner?.toString()}`) await prompt('Continue?') } diff --git a/gauntlet/packages/gauntlet-solana-contracts/src/commands/contracts/store/acceptFeedOwnership.ts b/gauntlet/packages/gauntlet-solana-contracts/src/commands/contracts/store/acceptFeedOwnership.ts index cef7c8627..d811cd97c 100644 --- a/gauntlet/packages/gauntlet-solana-contracts/src/commands/contracts/store/acceptFeedOwnership.ts +++ b/gauntlet/packages/gauntlet-solana-contracts/src/commands/contracts/store/acceptFeedOwnership.ts @@ -26,6 +26,9 @@ export default class AcceptFeedOwnership extends SolanaCommand { // Need to resolve feed.proposedOwner. This will either match signer // store with store.owner == signer. If not, the instruction will error const feedAccount = (await program.account.transmissions.fetch(state)) as any + logger.info(`Ownership details for feed ${address}: + - Current Owner: ${feedAccount.owner.toString()} + - Next Owner (proposed): ${feedAccount.proposedOwner?.toString()}`) const tx = await program.methods .acceptFeedOwnership()