Skip to content

Commit

Permalink
solana-labs#2406: Fix lint style
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrushi20 committed Apr 28, 2024
1 parent c70085f commit 4f43655
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions packages/rpc-graphql/src/__tests__/__setup__.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1715,33 +1715,33 @@ export const mockTransactionToken2022AllExtensions = {
{
parsed: {
info: {
destination: "2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB",
destination: '2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB',
feeAmount: {
amount: "5",
amount: '5',
decimals: 2,
uiAmount: 0.05,
uiAmountString: "0.05"
uiAmountString: '0.05',
},
mint: "FsHcsGiY43QmZc6yTgwYC1DA5U3ZgycXxn3bd2oBjrEZ",
multisigAuthority: "2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB",
mint: 'FsHcsGiY43QmZc6yTgwYC1DA5U3ZgycXxn3bd2oBjrEZ',
multisigAuthority: '2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB',
signers: [
"2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB",
"2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB"
'2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB',
'2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB',
],
source: "2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB",
source: '2Pwe6Yahh5cbzvCwRMtTYFeboSwYiWeHhYJzZZBsU6eB',
tokenAmount: {
amount: "55",
amount: '55',
decimals: 2,
uiAmount: 0.55,
uiAmountString: "0.55"
}
uiAmountString: '0.55',
},
},
type: 'transferCheckedWithFee',
},
program: 'spl-token',
programId: 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb',
stackHeight: null,
}
},
// TODO (more) ...
],
recentBlockhash: '6vRS7MoToVccMqfQecdVC6UbmARaT5mha91zhreqnce9',
Expand Down
4 changes: 2 additions & 2 deletions packages/rpc-graphql/src/__tests__/transaction-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1040,14 +1040,14 @@ describe('transaction', () => {
address: expect.any(String),
},
programId: 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb',
signers: [expect.any(String),expect.any(String)],
signers: [expect.any(String), expect.any(String)],
source: {
address: expect.any(String),
},
tokenAmount: {
amount: expect.any(String),
decimals: expect.any(Number),
uiAmount: null, // Can't convert decimal to BigInt
uiAmount: null, // Can't convert decimal to BigInt
uiAmountString: expect.any(String),
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc-graphql/src/resolvers/instruction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export const instructionResolvers = {
destination: resolveAccount('destination'),
mint: resolveAccount('mint'),
multisigAuthority: resolveAccount('multisigAuthority'),
source: resolveAccount('source')
source: resolveAccount('source'),
},
SplTokenTransferInstruction: {
authority: resolveAccount('authority'),
Expand Down

0 comments on commit 4f43655

Please sign in to comment.