Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ecPablo committed Feb 26, 2025
1 parent 45dc778 commit d6207e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ func TestTransferCCIPToMCMSWithTimelockSolana(t *testing.T) {

// (E) Check LockReleaseTokenPools ownership:
require.Eventually(t, func() bool {

programData := lockrelease.State{}
t.Logf("Checking LockReleaseTokenPools ownership data. configPDA: %s", lockReleasePoolConfigPDA.String())
err := solChain.GetAccountDataBorshInto(ctx, lockReleasePoolConfigPDA, &programData)
Expand Down
6 changes: 3 additions & 3 deletions deployment/ccip/changeset/testhelpers/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,7 @@ func TransferOwnershipSolana(
transferFeeQuoter,
transferOffRamp bool,
burnMintTokenPools []solana.PublicKey,
lockReleaseTokenPools []solana.PublicKey) (solana.PublicKey, solana.PublicKey) {
lockReleaseTokenPools []solana.PublicKey) (timelockSignerPDA solana.PublicKey, mcmSignerPDA solana.PublicKey) {
var err error
if needTimelockDeployed {
*e, err = commoncs.ApplyChangesetsV2(t, *e, []commoncs.ConfiguredChangeSet{
Expand All @@ -1667,8 +1667,8 @@ func TransferOwnershipSolana(

// Fund signer PDAs for timelock and mcm
// If we don't fund, execute() calls will fail with "no funds" errors.
timelockSignerPDA := state.GetTimelockSignerPDA(mcmState.TimelockProgram, mcmState.TimelockSeed)
mcmSignerPDA := state.GetMCMSignerPDA(mcmState.McmProgram, mcmState.ProposerMcmSeed)
timelockSignerPDA = state.GetTimelockSignerPDA(mcmState.TimelockProgram, mcmState.TimelockSeed)
mcmSignerPDA = state.GetMCMSignerPDA(mcmState.McmProgram, mcmState.ProposerMcmSeed)
memory.FundSolanaAccounts(e.GetContext(), t, []solana.PublicKey{timelockSignerPDA, mcmSignerPDA},
100, e.SolChains[solChain].Client)
t.Logf("funded timelock signer PDA: %s", timelockSignerPDA.String())
Expand Down

0 comments on commit d6207e8

Please sign in to comment.