Skip to content

Commit

Permalink
Added pending transation test
Browse files Browse the repository at this point in the history
  • Loading branch information
oable committed Dec 9, 2024
1 parent bdef29d commit a628a6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/core/src/api/neon-client.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export class NeonClientApi {
const result: ScheduledTransactionStatus[] = [];
while (timeout > Date.now() - start) {
const { value, status } = await this.transactionTree(origin, nonce);
console.log(value, status);
const { transactions } = value;
if (transactions.length > 0) {
for (const tx of transactions) {
Expand Down
5 changes: 5 additions & 0 deletions packages/core/tests/solana-signer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ describe('Check Solana signer instructions', () => {
}
});

it(`Check if we have pending transactions`, async () => {
const response = await neonProxyRpcApi.getPendingTransactions(solanaUser.publicKey);
console.log(response);
});

it.skip(`Create holder account`, async () => {
const solanaUser = SolanaNeonAccount.fromKeypair(Keypair.generate(), neonEvmProgram, chainTokenMint, chainId);
await solanaAirdrop(connection, solanaUser.publicKey, 1e10);
Expand Down

0 comments on commit a628a6a

Please sign in to comment.