debug logs again
This commit is contained in:
parent
6fc307a8f2
commit
d06e41cb30
@ -44,8 +44,8 @@ load_dotenv()
|
|||||||
load_dotenv('.env.secret') # ToDo - make it work
|
load_dotenv('.env.secret') # ToDo - make it work
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
# logging.basicConfig(level=logging.DEBUG)
|
logging.basicConfig(level=logging.DEBUG)
|
||||||
logging.basicConfig(level=logging.INFO)
|
#logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
# Set up error logger
|
# Set up error logger
|
||||||
log_dir = './logs'
|
log_dir = './logs'
|
||||||
@ -1018,19 +1018,20 @@ async def follow_move(move):
|
|||||||
amount_to_swap = your_balance * (move['percentage_swapped'] / 100)
|
amount_to_swap = your_balance * (move['percentage_swapped'] / 100)
|
||||||
|
|
||||||
# # always get 99% of the amount to swap
|
# # always get 99% of the amount to swap
|
||||||
# amount_to_swap = amount_to_swap * 0.99
|
amount_to_swap = amount_to_swap * 0.95
|
||||||
|
|
||||||
|
# Convert to lamports
|
||||||
|
# if decimals is 6, then amount = amount * 1e6; if 9, then amount = amount * 1e9
|
||||||
|
amount = int(amount_to_swap * 10**token_info.get('decimals') )
|
||||||
|
|
||||||
if your_balance >= amount_to_swap:
|
if your_balance >= amount_to_swap:
|
||||||
msg = (
|
msg = (
|
||||||
f"<b>Warning:</b>\n"
|
f"<b>Warning:</b>\n"
|
||||||
f"We have {your_balance:.6f} {token_name_in}. Insufficient balance to swap {amount_to_swap:.6f} ({move['token_in']}). This will probably fail. But we will try anyway."
|
f"Insufficient balance: {your_balance:.6f} {token_name_in}. We want to swap {amount_to_swap:.6f}\n({move['symbol_in']}, decimals {token_info.get('decimals')} amount {amount}).\n This will probably fail. But we will try anyway."
|
||||||
)
|
)
|
||||||
logging.warning(msg)
|
logging.warning(msg)
|
||||||
await send_telegram_message(msg)
|
await send_telegram_message(msg)
|
||||||
try:
|
try:
|
||||||
# Convert to lamports
|
|
||||||
# if decimals is 6, then amount = amount * 1e6; if 9, then amount = amount * 1e9
|
|
||||||
amount = int(amount_to_swap * 10**token_info.get('decimals') )
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
notification = (
|
notification = (
|
||||||
@ -1105,14 +1106,20 @@ async def follow_move(move):
|
|||||||
# log the errors to /logs/errors.log
|
# log the errors to /logs/errors.log
|
||||||
error_logger.error(error_message)
|
error_logger.error(error_message)
|
||||||
error_logger.exception(e)
|
error_logger.exception(e)
|
||||||
# await send_telegram_message(error_message)
|
await send_telegram_message(error_message)
|
||||||
|
|
||||||
|
|
||||||
# Helper functions (implement these according to your needs)
|
# Helper functions (implement these according to your needs)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
async def heartbeat(websocket):
|
||||||
|
while True:
|
||||||
|
try:
|
||||||
|
await websocket.ping()
|
||||||
|
await asyncio.sleep(PING_INTERVAL)
|
||||||
|
except websockets.exceptions.ConnectionClosed:
|
||||||
|
break
|
||||||
|
|
||||||
async def subscribe_to_wallet():
|
async def subscribe_to_wallet():
|
||||||
SOLANA_ENDPOINTS = [
|
SOLANA_ENDPOINTS = [
|
||||||
@ -1127,9 +1134,11 @@ async def subscribe_to_wallet():
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
async with websockets.connect(uri) as websocket:
|
async with websockets.connect(uri, ping_interval=30, ping_timeout=20) as websocket:
|
||||||
logger.info("Connected to Solana websocket")
|
logger.info("Connected to Solana websocket")
|
||||||
|
|
||||||
|
heartbeat_task = asyncio.create_task(heartbeat(websocket))
|
||||||
|
|
||||||
subscription_id = await load_subscription_id()
|
subscription_id = await load_subscription_id()
|
||||||
|
|
||||||
request = {
|
request = {
|
||||||
@ -1181,6 +1190,9 @@ async def subscribe_to_wallet():
|
|||||||
logger.error(f"An unexpected error occurred: {e}")
|
logger.error(f"An unexpected error occurred: {e}")
|
||||||
break
|
break
|
||||||
|
|
||||||
|
# Cancel the heartbeat task when the connection is closed
|
||||||
|
heartbeat_task.cancel()
|
||||||
|
|
||||||
except websockets.exceptions.WebSocketException as e:
|
except websockets.exceptions.WebSocketException as e:
|
||||||
logger.error(f"WebSocket error: {e}")
|
logger.error(f"WebSocket error: {e}")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
@ -395,3 +395,149 @@ Traceback (most recent call last):
|
|||||||
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/core.py", line 98, in _parse_raw
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/core.py", line 98, in _parse_raw
|
||||||
raise RPCException(parsed)
|
raise RPCException(parsed)
|
||||||
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1386729 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 17271 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(17571), return_data: None, inner_instructions: None }) }
|
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1386729 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 17271 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(17571), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 12:17:44 [ERROR] <b>Swap Follow Error:</b>
|
||||||
|
SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: Program failed to complete", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, ProgramFailedToComplete)), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program log: panicked at src/token.rs:539:43:\nrange end index 64 out of range for slice of length 0", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 16186 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"]), accounts: None, units_consumed: Some(16486), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 12:17:44 [ERROR] SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: Program failed to complete", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, ProgramFailedToComplete)), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program log: panicked at src/token.rs:539:43:\nrange end index 64 out of range for slice of length 0", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 16186 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"]), accounts: None, units_consumed: Some(16486), return_data: None, inner_instructions: None }) }
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/app/app.py", line 1064, in follow_move
|
||||||
|
result = await async_client.send_raw_transaction(txn=bytes(signed_txn), opts=opts)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/async_api.py", line 1002, in send_raw_transaction
|
||||||
|
resp = await self._provider.make_request(body, SendTransactionResp)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/exceptions.py", line 60, in argument_decorator
|
||||||
|
return await func(*args, **kwargs)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/async_http.py", line 60, in make_request
|
||||||
|
return _parse_raw(raw, parser=parser)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/core.py", line 98, in _parse_raw
|
||||||
|
raise RPCException(parsed)
|
||||||
|
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: Program failed to complete", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, ProgramFailedToComplete)), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program log: panicked at src/token.rs:539:43:\nrange end index 64 out of range for slice of length 0", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 16186 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"]), accounts: None, units_consumed: Some(16486), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 12:38:57 [ERROR] <b>Swap Follow Error:</b>
|
||||||
|
SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1382010 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 21990 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(22290), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 12:38:57 [ERROR] SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1382010 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 21990 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(22290), return_data: None, inner_instructions: None }) }
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/app/app.py", line 1064, in follow_move
|
||||||
|
result = await async_client.send_raw_transaction(txn=bytes(signed_txn), opts=opts)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/async_api.py", line 1002, in send_raw_transaction
|
||||||
|
resp = await self._provider.make_request(body, SendTransactionResp)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/exceptions.py", line 60, in argument_decorator
|
||||||
|
return await func(*args, **kwargs)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/async_http.py", line 60, in make_request
|
||||||
|
return _parse_raw(raw, parser=parser)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/core.py", line 98, in _parse_raw
|
||||||
|
raise RPCException(parsed)
|
||||||
|
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1382010 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 21990 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(22290), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 12:41:59 [ERROR] <b>Swap Follow Error:</b>
|
||||||
|
SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1382864 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 21136 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(21436), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 12:41:59 [ERROR] SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1382864 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 21136 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(21436), return_data: None, inner_instructions: None }) }
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/app/app.py", line 1064, in follow_move
|
||||||
|
result = await async_client.send_raw_transaction(txn=bytes(signed_txn), opts=opts)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/async_api.py", line 1002, in send_raw_transaction
|
||||||
|
resp = await self._provider.make_request(body, SendTransactionResp)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/exceptions.py", line 60, in argument_decorator
|
||||||
|
return await func(*args, **kwargs)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/async_http.py", line 60, in make_request
|
||||||
|
return _parse_raw(raw, parser=parser)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/core.py", line 98, in _parse_raw
|
||||||
|
raise RPCException(parsed)
|
||||||
|
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1382864 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 21136 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(21436), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 13:01:13 [ERROR] <b>Swap Follow Error:</b>
|
||||||
|
SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 3: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(3, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]", "Program log: CreateIdempotent", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: GetAccountDataSize", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1569 of 1394295 compute units", "Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA=", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program 11111111111111111111111111111111 invoke [2]", "Program 11111111111111111111111111111111 success", "Program log: Initialize the associated token account", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: InitializeImmutableOwner", "Program log: Please upgrade to SPL Token 2022 for immutable owner support", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 1387708 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: InitializeAccount3", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4188 of 1383826 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 20345 of 1399700 compute units", "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1361916 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 21739 of 1379355 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(42384), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 13:01:13 [ERROR] SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 3: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(3, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]", "Program log: CreateIdempotent", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: GetAccountDataSize", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1569 of 1394295 compute units", "Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA=", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program 11111111111111111111111111111111 invoke [2]", "Program 11111111111111111111111111111111 success", "Program log: Initialize the associated token account", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: InitializeImmutableOwner", "Program log: Please upgrade to SPL Token 2022 for immutable owner support", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 1387708 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: InitializeAccount3", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4188 of 1383826 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 20345 of 1399700 compute units", "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1361916 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 21739 of 1379355 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(42384), return_data: None, inner_instructions: None }) }
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/app/app.py", line 1065, in follow_move
|
||||||
|
result = await async_client.send_raw_transaction(txn=bytes(signed_txn), opts=opts)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/async_api.py", line 1002, in send_raw_transaction
|
||||||
|
resp = await self._provider.make_request(body, SendTransactionResp)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/exceptions.py", line 60, in argument_decorator
|
||||||
|
return await func(*args, **kwargs)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/async_http.py", line 60, in make_request
|
||||||
|
return _parse_raw(raw, parser=parser)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/core.py", line 98, in _parse_raw
|
||||||
|
raise RPCException(parsed)
|
||||||
|
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 3: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(3, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]", "Program log: CreateIdempotent", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: GetAccountDataSize", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1569 of 1394295 compute units", "Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA=", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program 11111111111111111111111111111111 invoke [2]", "Program 11111111111111111111111111111111 success", "Program log: Initialize the associated token account", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: InitializeImmutableOwner", "Program log: Please upgrade to SPL Token 2022 for immutable owner support", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 1387708 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: InitializeAccount3", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4188 of 1383826 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 20345 of 1399700 compute units", "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1361916 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 21739 of 1379355 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(42384), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 13:01:16 [ERROR] <b>Swap Follow Error:</b>
|
||||||
|
|
||||||
|
2024-10-10 13:01:16 [ERROR]
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/exceptions.py", line 60, in argument_decorator
|
||||||
|
return await func(*args, **kwargs)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/async_http.py", line 59, in make_request
|
||||||
|
raw = await self.make_request_unparsed(body)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/async_http.py", line 66, in make_request_unparsed
|
||||||
|
return _after_request_unparsed(raw_response)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/core.py", line 137, in _after_request_unparsed
|
||||||
|
raw_response.raise_for_status()
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/httpx/_models.py", line 763, in raise_for_status
|
||||||
|
raise HTTPStatusError(message, request=request, response=self)
|
||||||
|
httpx.HTTPStatusError: Client error '429 Too Many Requests' for url 'wss://api.mainnet-beta.solana.com'
|
||||||
|
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
|
||||||
|
|
||||||
|
The above exception was the direct cause of the following exception:
|
||||||
|
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/app/app.py", line 1065, in follow_move
|
||||||
|
result = await async_client.send_raw_transaction(txn=bytes(signed_txn), opts=opts)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/async_api.py", line 1002, in send_raw_transaction
|
||||||
|
resp = await self._provider.make_request(body, SendTransactionResp)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/exceptions.py", line 62, in argument_decorator
|
||||||
|
raise internal_exception_cls(exc, func, *args, **kwargs) from exc
|
||||||
|
solana.exceptions.SolanaRpcException
|
||||||
|
2024-10-10 13:17:33 [ERROR] <b>Swap Follow Error:</b>
|
||||||
|
SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: Program failed to complete", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, ProgramFailedToComplete)), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program log: panicked at src/token.rs:539:43:\nrange end index 64 out of range for slice of length 0", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 15768 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"]), accounts: None, units_consumed: Some(16068), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 13:17:33 [ERROR] SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: Program failed to complete", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, ProgramFailedToComplete)), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program log: panicked at src/token.rs:539:43:\nrange end index 64 out of range for slice of length 0", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 15768 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"]), accounts: None, units_consumed: Some(16068), return_data: None, inner_instructions: None }) }
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/app/app.py", line 1065, in follow_move
|
||||||
|
result = await async_client.send_raw_transaction(txn=bytes(signed_txn), opts=opts)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/async_api.py", line 1002, in send_raw_transaction
|
||||||
|
resp = await self._provider.make_request(body, SendTransactionResp)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/exceptions.py", line 60, in argument_decorator
|
||||||
|
return await func(*args, **kwargs)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/async_http.py", line 60, in make_request
|
||||||
|
return _parse_raw(raw, parser=parser)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/core.py", line 98, in _parse_raw
|
||||||
|
raise RPCException(parsed)
|
||||||
|
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: Program failed to complete", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, ProgramFailedToComplete)), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program log: panicked at src/token.rs:539:43:\nrange end index 64 out of range for slice of length 0", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 15768 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"]), accounts: None, units_consumed: Some(16068), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 13:25:04 [ERROR] <b>Swap Follow Error:</b>
|
||||||
|
SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1383021 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 20979 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(21279), return_data: None, inner_instructions: None }) }
|
||||||
|
2024-10-10 13:25:04 [ERROR] SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1383021 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 20979 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(21279), return_data: None, inner_instructions: None }) }
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/app/app.py", line 1065, in follow_move
|
||||||
|
result = await async_client.send_raw_transaction(txn=bytes(signed_txn), opts=opts)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/async_api.py", line 1002, in send_raw_transaction
|
||||||
|
resp = await self._provider.make_request(body, SendTransactionResp)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/exceptions.py", line 60, in argument_decorator
|
||||||
|
return await func(*args, **kwargs)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/async_http.py", line 60, in make_request
|
||||||
|
return _parse_raw(raw, parser=parser)
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
File "/usr/local/lib/python3.12/site-packages/solana/rpc/providers/core.py", line 98, in _parse_raw
|
||||||
|
raise RPCException(parsed)
|
||||||
|
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InstructionError(2, Custom(1))), logs: Some(["Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", "Program log: Instruction: SharedAccountsRoute", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", "Program log: Instruction: Transfer", "Program log: Error: insufficient funds", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4300 of 1383021 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x1", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 20979 of 1399700 compute units", "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1"]), accounts: None, units_consumed: Some(21279), return_data: None, inner_instructions: None }) }
|
||||||
|
@ -20,12 +20,12 @@
|
|||||||
"name": "FATGF",
|
"name": "FATGF",
|
||||||
"symbol": "FATGF",
|
"symbol": "FATGF",
|
||||||
"address": "4y9E3tJpGNzRr1592oWTPECgyp2VDSc1Bf3DqAm5FZsK",
|
"address": "4y9E3tJpGNzRr1592oWTPECgyp2VDSc1Bf3DqAm5FZsK",
|
||||||
"holdedAmount": 138268.428197,
|
"holdedAmount": 30000.0,
|
||||||
"priice": 0.001662,
|
"priice": 0.001662,
|
||||||
"price": 0.001645
|
"price": 0.001539
|
||||||
},
|
},
|
||||||
"4GniFbshqU6VtWCLJnKadswa8QCk2cFg8cgBZrhe9dam": {
|
"4GniFbshqU6VtWCLJnKadswa8QCk2cFg8cgBZrhe9dam": {
|
||||||
"price": 0.004856,
|
"price": 0.005201,
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"name": "GOOFY",
|
"name": "GOOFY",
|
||||||
"symbol": "GOOFY",
|
"symbol": "GOOFY",
|
||||||
@ -42,12 +42,12 @@
|
|||||||
"holdedAmount": 6400.0
|
"holdedAmount": 6400.0
|
||||||
},
|
},
|
||||||
"8NNXWrWVctNw1UFeaBypffimTdcLCcD8XJzHvYsmgwpF": {
|
"8NNXWrWVctNw1UFeaBypffimTdcLCcD8XJzHvYsmgwpF": {
|
||||||
"price": 0.02606,
|
"price": 0.02584,
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"name": "Brainlet",
|
"name": "Brainlet",
|
||||||
"symbol": "BRAINLET",
|
"symbol": "BRAINLET",
|
||||||
"address": "8NNXWrWVctNw1UFeaBypffimTdcLCcD8XJzHvYsmgwpF",
|
"address": "8NNXWrWVctNw1UFeaBypffimTdcLCcD8XJzHvYsmgwpF",
|
||||||
"holdedAmount": 77346.864312
|
"holdedAmount": 7380.54934
|
||||||
},
|
},
|
||||||
"6D7NaB2xsLd7cauWu1wKk6KBsJohJmP2qZH9GEfVi5Ui": {
|
"6D7NaB2xsLd7cauWu1wKk6KBsJohJmP2qZH9GEfVi5Ui": {
|
||||||
"price": 0.02995,
|
"price": 0.02995,
|
||||||
@ -82,12 +82,12 @@
|
|||||||
"price": 4.026e-06
|
"price": 4.026e-06
|
||||||
},
|
},
|
||||||
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": {
|
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": {
|
||||||
"price": 1.00072,
|
"price": 1.001,
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"name": "USD Coin",
|
"name": "USD Coin",
|
||||||
"symbol": "USDC",
|
"symbol": "USDC",
|
||||||
"address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
|
"address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
|
||||||
"holdedAmount": 340.811769,
|
"holdedAmount": 160.755238,
|
||||||
"priice": 1.00073
|
"priice": 1.00073
|
||||||
},
|
},
|
||||||
"Akev8YDBQfuCv33M1tjDcaUFAsY4Q5izMSfhbozL1Q6j": {
|
"Akev8YDBQfuCv33M1tjDcaUFAsY4Q5izMSfhbozL1Q6j": {
|
||||||
@ -97,23 +97,23 @@
|
|||||||
"address": "Akev8YDBQfuCv33M1tjDcaUFAsY4Q5izMSfhbozL1Q6j",
|
"address": "Akev8YDBQfuCv33M1tjDcaUFAsY4Q5izMSfhbozL1Q6j",
|
||||||
"holdedAmount": 511117.33566278,
|
"holdedAmount": 511117.33566278,
|
||||||
"priice": 3.585e-06,
|
"priice": 3.585e-06,
|
||||||
"price": 3.585e-06
|
"price": 2.696e-06
|
||||||
},
|
},
|
||||||
"BkVeSP2GsXV3AYoRJBSZTpFE8sXmcuGnRQcFgoWspump": {
|
"BkVeSP2GsXV3AYoRJBSZTpFE8sXmcuGnRQcFgoWspump": {
|
||||||
"price": 0.001765,
|
"price": 0.001581,
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"name": "autism",
|
"name": "autism",
|
||||||
"symbol": "autism",
|
"symbol": "autism",
|
||||||
"address": "BkVeSP2GsXV3AYoRJBSZTpFE8sXmcuGnRQcFgoWspump",
|
"address": "BkVeSP2GsXV3AYoRJBSZTpFE8sXmcuGnRQcFgoWspump",
|
||||||
"holdedAmount": 61617.22793
|
"holdedAmount": 71123.480231
|
||||||
},
|
},
|
||||||
"6cvrZWgEUkr82yKAmxp5cQu7wgYYBPULf16EUBp4pump": {
|
"6cvrZWgEUkr82yKAmxp5cQu7wgYYBPULf16EUBp4pump": {
|
||||||
"price": 0.01899,
|
"price": 0.01385,
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"name": "Manifest",
|
"name": "Manifest",
|
||||||
"symbol": "MANIFEST",
|
"symbol": "MANIFEST",
|
||||||
"address": "6cvrZWgEUkr82yKAmxp5cQu7wgYYBPULf16EUBp4pump",
|
"address": "6cvrZWgEUkr82yKAmxp5cQu7wgYYBPULf16EUBp4pump",
|
||||||
"holdedAmount": 15053.077571
|
"holdedAmount": 12940.81255
|
||||||
},
|
},
|
||||||
"D8r8XTuCrUhLheWeGXSwC3G92RhASficV3YA7B2XWcLv": {
|
"D8r8XTuCrUhLheWeGXSwC3G92RhASficV3YA7B2XWcLv": {
|
||||||
"price": 0.002363,
|
"price": 0.002363,
|
||||||
@ -154,7 +154,7 @@
|
|||||||
"holdedAmount": 562.91513794
|
"holdedAmount": 562.91513794
|
||||||
},
|
},
|
||||||
"fESbUKjuMY6jzDH9VP8cy4p3pu2q5W2rK2XghVfNseP": {
|
"fESbUKjuMY6jzDH9VP8cy4p3pu2q5W2rK2XghVfNseP": {
|
||||||
"price": 0.0005764,
|
"price": 0.0004163,
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"name": "CatFrogDogShark",
|
"name": "CatFrogDogShark",
|
||||||
"symbol": "SOLANA",
|
"symbol": "SOLANA",
|
||||||
@ -172,41 +172,41 @@
|
|||||||
"priice": 0.008802
|
"priice": 0.008802
|
||||||
},
|
},
|
||||||
"69kdRLyP5DTRkpHraaSZAQbWmAwzF9guKjZfzMXzcbAs": {
|
"69kdRLyP5DTRkpHraaSZAQbWmAwzF9guKjZfzMXzcbAs": {
|
||||||
"price": 2.316e-06,
|
"price": 2.147e-06,
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"name": "American Coin",
|
"name": "American Coin",
|
||||||
"symbol": "USA",
|
"symbol": "USA",
|
||||||
"address": "69kdRLyP5DTRkpHraaSZAQbWmAwzF9guKjZfzMXzcbAs",
|
"address": "69kdRLyP5DTRkpHraaSZAQbWmAwzF9guKjZfzMXzcbAs",
|
||||||
"holdedAmount": 37584417.100928
|
"holdedAmount": 936370585.712574
|
||||||
},
|
},
|
||||||
"DEJiPKx5GActUtB6qUssreUxkhXtL4hTQAAJZ7Ccw8se": {
|
"DEJiPKx5GActUtB6qUssreUxkhXtL4hTQAAJZ7Ccw8se": {
|
||||||
"price": 0.009834,
|
"price": 0.01023,
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"name": "Rawr",
|
"name": "Rawr",
|
||||||
"symbol": "XD",
|
"symbol": "XD",
|
||||||
"address": "DEJiPKx5GActUtB6qUssreUxkhXtL4hTQAAJZ7Ccw8se",
|
"address": "DEJiPKx5GActUtB6qUssreUxkhXtL4hTQAAJZ7Ccw8se",
|
||||||
"holdedAmount": 5598.037229
|
"holdedAmount": 31264.506258
|
||||||
},
|
},
|
||||||
"DPaQfq5sFnoqw2Sh9WMmmASFL9LNu6RdtDqwE1tab2tB": {
|
"DPaQfq5sFnoqw2Sh9WMmmASFL9LNu6RdtDqwE1tab2tB": {
|
||||||
"price": 0.3554,
|
"price": 0.535598,
|
||||||
"decimals": 9,
|
"decimals": 9,
|
||||||
"name": "Skibidi Toilet",
|
"name": "Skibidi Toilet",
|
||||||
"symbol": "SKBDI",
|
"symbol": "SKBDI",
|
||||||
"address": "DPaQfq5sFnoqw2Sh9WMmmASFL9LNu6RdtDqwE1tab2tB",
|
"address": "DPaQfq5sFnoqw2Sh9WMmmASFL9LNu6RdtDqwE1tab2tB",
|
||||||
"holdedAmount": 6162.343425657,
|
"holdedAmount": 669.212843132,
|
||||||
"priice": 0.3638
|
"priice": 0.3638
|
||||||
},
|
},
|
||||||
"dekNoN3D8mXa4JHLwTbVXz8aPAyJUkk443UjcSpJKi4": {
|
"dekNoN3D8mXa4JHLwTbVXz8aPAyJUkk443UjcSpJKi4": {
|
||||||
"price": 0.004563,
|
"price": 0.004308,
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"name": "peanie",
|
"name": "peanie",
|
||||||
"symbol": "peanie",
|
"symbol": "peanie",
|
||||||
"address": "dekNoN3D8mXa4JHLwTbVXz8aPAyJUkk443UjcSpJKi4",
|
"address": "dekNoN3D8mXa4JHLwTbVXz8aPAyJUkk443UjcSpJKi4",
|
||||||
"holdedAmount": 42649.323219,
|
"holdedAmount": 29097.22112,
|
||||||
"priice": 0.004563
|
"priice": 0.004563
|
||||||
},
|
},
|
||||||
"PzuaVAUH2tfxGZcbBR6kMxeJsBngnsPLFotGJNCtcsd": {
|
"PzuaVAUH2tfxGZcbBR6kMxeJsBngnsPLFotGJNCtcsd": {
|
||||||
"price": 0.05827,
|
"price": 0.04829,
|
||||||
"decimals": 8,
|
"decimals": 8,
|
||||||
"name": "ZynCoin (Wormhole)",
|
"name": "ZynCoin (Wormhole)",
|
||||||
"symbol": "ZYN",
|
"symbol": "ZYN",
|
||||||
@ -220,7 +220,7 @@
|
|||||||
"symbol": "SOL",
|
"symbol": "SOL",
|
||||||
"address": "So11111111111111111111111111111111111111112",
|
"address": "So11111111111111111111111111111111111111112",
|
||||||
"priice": 142.85,
|
"priice": 142.85,
|
||||||
"price": 142.71
|
"price": 138.13
|
||||||
},
|
},
|
||||||
"4nfn86ssbv7wiqcsw7bpvn46k24jhe334fudtyxhp1og": {
|
"4nfn86ssbv7wiqcsw7bpvn46k24jhe334fudtyxhp1og": {
|
||||||
"symbol": null,
|
"symbol": null,
|
||||||
@ -229,5 +229,117 @@
|
|||||||
"SOL": {
|
"SOL": {
|
||||||
"symbol": null,
|
"symbol": null,
|
||||||
"price": 0.0
|
"price": 0.0
|
||||||
|
},
|
||||||
|
"UwU8RVXB69Y6Dcju6cN2Qef6fykkq6UUNpB15rZku6Z": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "Unicorn",
|
||||||
|
"symbol": "UWU",
|
||||||
|
"address": "UwU8RVXB69Y6Dcju6cN2Qef6fykkq6UUNpB15rZku6Z",
|
||||||
|
"holdedAmount": 238181.964433,
|
||||||
|
"price": 0.001013
|
||||||
|
},
|
||||||
|
"GtDZKAqvMZMnti46ZewMiXCa4oXF4bZxwQPoKzXPFxZn": {
|
||||||
|
"decimals": 9,
|
||||||
|
"name": "nubcat",
|
||||||
|
"symbol": "nub",
|
||||||
|
"address": "GtDZKAqvMZMnti46ZewMiXCa4oXF4bZxwQPoKzXPFxZn",
|
||||||
|
"holdedAmount": 62626.296625781,
|
||||||
|
"price": 0.03326
|
||||||
|
},
|
||||||
|
"DtR4D9FtVoTX2569gaL837ZgrB6wNjj6tkmnX9Rdk9B2": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "aura",
|
||||||
|
"symbol": "aura",
|
||||||
|
"address": "DtR4D9FtVoTX2569gaL837ZgrB6wNjj6tkmnX9Rdk9B2",
|
||||||
|
"holdedAmount": 9919.76735,
|
||||||
|
"price": 0.02653
|
||||||
|
},
|
||||||
|
"24gG4br5xFBRmxdqpgirtxgcr7BaWoErQfc2uyDp2Qhh": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "NOSTALGIA",
|
||||||
|
"symbol": "NOS",
|
||||||
|
"address": "24gG4br5xFBRmxdqpgirtxgcr7BaWoErQfc2uyDp2Qhh",
|
||||||
|
"holdedAmount": 24367.98915,
|
||||||
|
"price": 0.00271846
|
||||||
|
},
|
||||||
|
"EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "dogwifhat",
|
||||||
|
"symbol": "$WIF",
|
||||||
|
"address": "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm",
|
||||||
|
"holdedAmount": 0.00935,
|
||||||
|
"price": 2.39
|
||||||
|
},
|
||||||
|
"26KMQVgDUoB6rEfnJ51yAABWWJND8uMtpnQgsHQ64Udr": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "SAD HAMSTER",
|
||||||
|
"symbol": "HAMMY",
|
||||||
|
"address": "26KMQVgDUoB6rEfnJ51yAABWWJND8uMtpnQgsHQ64Udr",
|
||||||
|
"holdedAmount": 1610.696945,
|
||||||
|
"price": 0.02781
|
||||||
|
},
|
||||||
|
"6yjNqPzTSanBWSa6dxVEgTjePXBrZ2FoHLDQwYwEsyM6": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "Chudjak",
|
||||||
|
"symbol": "Chud",
|
||||||
|
"address": "6yjNqPzTSanBWSa6dxVEgTjePXBrZ2FoHLDQwYwEsyM6",
|
||||||
|
"holdedAmount": 4124.745134,
|
||||||
|
"price": 0.02795
|
||||||
|
},
|
||||||
|
"4ytpZgVoNB66bFs6NRCUaAVsLdtYk2fHq4U92Jnjpump": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "Banana Tape Wall",
|
||||||
|
"symbol": "BTW",
|
||||||
|
"address": "4ytpZgVoNB66bFs6NRCUaAVsLdtYk2fHq4U92Jnjpump",
|
||||||
|
"holdedAmount": 54542.700895,
|
||||||
|
"price": 0.002082
|
||||||
|
},
|
||||||
|
"2JcXacFwt9mVAwBQ5nZkYwCyXQkRcdsYrDXn6hj22SbP": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "mini",
|
||||||
|
"symbol": "mini",
|
||||||
|
"address": "2JcXacFwt9mVAwBQ5nZkYwCyXQkRcdsYrDXn6hj22SbP",
|
||||||
|
"holdedAmount": 3633.845994,
|
||||||
|
"price": 0.06975
|
||||||
|
},
|
||||||
|
"5Wd2ALxQfnpgQKCyH4WL9giBiiuuLuJs84CJxfQccvmN": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "real fast",
|
||||||
|
"symbol": "speed",
|
||||||
|
"address": "5Wd2ALxQfnpgQKCyH4WL9giBiiuuLuJs84CJxfQccvmN",
|
||||||
|
"holdedAmount": 561240.789081,
|
||||||
|
"price": 0.002958
|
||||||
|
},
|
||||||
|
"BsTRFEVZhXbBuy5fhxbttuim8iwzXqMdRCfFftDAkkeu": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "mao",
|
||||||
|
"symbol": "mao",
|
||||||
|
"address": "BsTRFEVZhXbBuy5fhxbttuim8iwzXqMdRCfFftDAkkeu",
|
||||||
|
"holdedAmount": 1313337.849751,
|
||||||
|
"price": 0.001587
|
||||||
|
},
|
||||||
|
"7EYnhQoR9YM3N7UoaKRoA44Uy8JeaZV3qyouov87awMs": {
|
||||||
|
"decimals": 9,
|
||||||
|
"name": "Silly Dragon",
|
||||||
|
"symbol": "SILLY",
|
||||||
|
"address": "7EYnhQoR9YM3N7UoaKRoA44Uy8JeaZV3qyouov87awMs",
|
||||||
|
"holdedAmount": 125575.793823971,
|
||||||
|
"price": 0.01472
|
||||||
|
},
|
||||||
|
"3ag1Mj9AKz9FAkCQ6gAEhpLSX8B2pUbPdkb9iBsDLZNB": {
|
||||||
|
"decimals": 9,
|
||||||
|
"name": "Honk",
|
||||||
|
"symbol": "HONK",
|
||||||
|
"address": "3ag1Mj9AKz9FAkCQ6gAEhpLSX8B2pUbPdkb9iBsDLZNB",
|
||||||
|
"holdedAmount": 70780.323867533,
|
||||||
|
"price": 0.00369
|
||||||
|
},
|
||||||
|
"7M9KJcPNC65ShLDmJmTNhVFcuY95Y1VMeYngKgt67D1t": {
|
||||||
|
"decimals": 6,
|
||||||
|
"name": "reddit dog",
|
||||||
|
"symbol": "r/snoofi",
|
||||||
|
"address": "7M9KJcPNC65ShLDmJmTNhVFcuY95Y1VMeYngKgt67D1t",
|
||||||
|
"holdedAmount": 118734.201549,
|
||||||
|
"price": 0.01307
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user