Description
A new --debug
flag has been added. It updates console output with Solana and Arweave request and response data.
Example Solana RPC Debug Log
[200] getConfirmedBlocks Solana RPC Request
RPC Request
{
"jsonrpc": "2.0",
"id": 1,
"method": "getConfirmedBlocks",
"params": [
1,
8
]
}
RPC Response
{
"jsonrpc": "2.0",
"result": [],
"id": 1
}
Error: Could not retrieve slots
at /home/fortytwo/Projects/SolarweaveBridge/dist/src/command/Cache.command.js:123:31
at step (/home/fortytwo/Projects/SolarweaveBridge/dist/src/command/Cache.command.js:33:23)
at Object.next (/home/fortytwo/Projects/SolarweaveBridge/dist/src/command/Cache.command.js:14:53)
at fulfilled (/home/fortytwo/Projects/SolarweaveBridge/dist/src/command/Cache.command.js:5:58)
Example Arweave Debug Log
[200] Arweave Upload
OK