fix: resolve solana sync verification issues and improve logging

This commit is contained in:
mstfyldz
2026-03-13 05:37:47 +03:00
parent 67d0c61adb
commit 7ba3903433
4 changed files with 240 additions and 96 deletions

16
check_txs.js Normal file
View File

@@ -0,0 +1,16 @@
const { Client } = require('pg');
const client = new Client({ connectionString: process.env.DATABASE_URL });
async function checkSpecificTxs() {
await client.connect();
const res = await client.query(`
SELECT id, source_ref_id, metadata
FROM transactions
WHERE source_ref_id IN ('TEST_ORDER_999', 'TEST_ORDER_1000')
`);
console.log(JSON.stringify(res.rows, null, 2));
await client.end();
}
checkSpecificTxs();