Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-momin committed Feb 20, 2025
1 parent f1ea631 commit 00c90f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/solana/chainwriter/transform_registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func Test_CCIPExecuteTransform(t *testing.T) {
}},
},
}

accounts := []*solana.AccountMeta{{PublicKey: poolKeys[0]}, {PublicKey: poolKeys[1]}}

t.Run("CCIPExecute ArgsTransform includes token indexes", func(t *testing.T) {
Expand Down Expand Up @@ -91,7 +91,7 @@ func Test_CCIPCommitTransform(t *testing.T) {
TokenPrices: []ccipocr3.TokenPrice{{TokenID: ccipocr3.UnknownEncodedAddress(key1.String())}},
},
}
accounts := []*solana.AccountMeta{{PublicKey: key1},{PublicKey: key2}}
accounts := []*solana.AccountMeta{{PublicKey: key1}, {PublicKey: key2}}
_, newAccounts, err := chainwriter.CCIPCommitAccountTransform(ctx, nil, args, accounts, offrampAddress.String())
require.NoError(t, err)
require.Len(t, newAccounts, 2)
Expand All @@ -102,7 +102,7 @@ func Test_CCIPCommitTransform(t *testing.T) {
}{
Info: ccipocr3.CommitReportInfo{},
}
accounts := []*solana.AccountMeta{{PublicKey: key1},{PublicKey: key2}}
accounts := []*solana.AccountMeta{{PublicKey: key1}, {PublicKey: key2}}
_, newAccounts, err := chainwriter.CCIPCommitAccountTransform(ctx, nil, args, accounts, offrampAddress.String())
require.NoError(t, err)
require.Len(t, newAccounts, 1)
Expand Down

0 comments on commit 00c90f4

Please sign in to comment.