Error: "InvalidAccountData" in tests which works early
Closed this issue · 0 comments
gigimon commented
I have found a several new cases which early works but now it fails on normal working code.
For example test https://github.com/neonlabsorg/neon-tests/blob/develop/integration/tests/economy/test_economics.py#L618 failed
2022-03-07 09:15:50.325 D transaction_sender.py:559 292 Proxy:NeonTxSender {"req_id": "b0baa71"} emulator returns: {"accounts": [{"account": "3D3ZqsRV3Tjq2ptsuNMAW9DzDtwyAteJhanHUGbpaNy2", "address": "0x9ba518dc09808df5c987489adce5c61b8b7f8b63", "code_size": null, "code_size_current": null, "contract": null, "new": false, "writable": true}, {"account": "7uuASpNo9gz1DpqrMv8fbyVBWn1LA8HghyXaBzgsSc6s", "address": "0xae16cf5e8a037893af8bb8efa882807b6a0a6ddd", "code_size": 3712, "code_size_current": null, "contract": null, "new": true, "writable": true}], "exit_reason": {"Succeed": "Returned"}, "exit_status": "succeed", "result": "", "solana_accounts": [], "steps_executed": 922, "token_accounts": [], "used_gas": 28954200}
2022-03-07 09:15:50.325 D transaction_sender.py:540 292 Proxy:NeonTxSender {"req_id": "b0baa71"} metas: ('3D3ZqsRV3Tjq2ptsuNMAW9DzDtwyAteJhanHUGbpaNy2', False, True), ('7uuASpNo9gz1DpqrMv8fbyVBWn1LA8HghyXaBzgsSc6s', False, True), (2DA7GHjn8WRj2WiEg7RrZgZ3jwyXXySzGXpf6Eicxq4M, False, True)
2022-03-07 09:15:50.328 D transaction_sender.py:166 292 Proxy:NeonCreateContractTxStage {"req_id": "b0baa71"} Create contact 0xae16cf5e8a037893af8bb8efa882807b6a0a6ddd: 2DA7GHjn8WRj2WiEg7RrZgZ3jwyXXySzGXpf6Eicxq4M (size 5760)
2022-03-07 09:15:50.329 D neon_instruction.py:112 292 Proxy:NeonInstruction {"req_id": "b0baa71"} createAccountWithSeedTrx BMp6gEnveANdvSvspESJUrNczuHz1GF5UQKjVLCkAZih account(2DA7GHjn8WRj2WiEg7RrZgZ3jwyXXySzGXpf6Eicxq4M seed(6zXdanpBDMjv35k3dpZ2MpFMBkoN)
2022-03-07 09:15:50.330 D neon_instruction.py:127 292 Proxy:NeonInstruction {"req_id": "b0baa71"} Create eth account: 0xae16cf5e8a037893af8bb8efa882807b6a0a6ddd, sol account: 7uuASpNo9gz1DpqrMv8fbyVBWn1LA8HghyXaBzgsSc6s, nonce: 255
2022-03-07 09:15:50.331 D transaction_sender.py:496 292 Proxy:NeonTxSender {"req_id": "b0baa71"} Skip strategy CallFromRawEthereumTX: Too big number of EVM steps
2022-03-07 09:15:50.331 D transaction_sender.py:496 292 Proxy:NeonTxSender {"req_id": "b0baa71"} Skip strategy PartialCallOrContinueFromRawEthereumTX: Deploy transaction
2022-03-07 09:15:50.333 D transaction_sender.py:499 292 Proxy:NeonTxSender {"req_id": "b0baa71"} Use strategy ExecuteTrxFromAccountDataIterativeOrContinue
2022-03-07 09:15:50.333 D solana_interactor.py:523 292 Proxy:SolTxListSender {"req_id": "b0baa71"} start transactions sending: createNeonContract(1) + WriteWithHolder(3)
2022-03-07 09:15:50.474 D solana_interactor.py:467 292 Proxy:SolanaInteractor {"req_id": "b0baa71"} Got confirmed status for transactions: ['5VFp5xYz1xHsCx2apVkZKRAnwxFQfZTJwJMKw7XN2wGE9LtSjFMjtQS6tRqKTRC29QwgBfdNhp5biYf5h5AvVa1E', 'MAS6f7fwDXtvF8J1hngTRaSCecqpmqm8kwXQ8PDEKH7zb6Pce36nA8Zg2Qr62qoDcGA7mnHobEC4pdHZvoFbwFD', '3Gb7seCgqC5DHcNwkARkki5bu2dVXv6G5bst5izHDH3F8sLenexPiL9ENwJ7JffHkxJn8n8aeqFL3EWcbXYssth3', 'T9CwNj6o8aM6i3GGWqMaJUsUksxnDrctSAFnDj8ed685fkvZkNXmmK6erh8FYEzWBm9trMGY3bMXDURihnYq6i1']
2022-03-07 09:15:50.502 D solana_interactor.py:551 292 Proxy:SolTxListSender {"req_id": "b0baa71"} retry 1, total receipts 4, success receipts 0(+4), node behind 0, bad blocks 0, blocked accounts 0, budget exceeded 0, unknown error: 0
2022-03-07 09:15:50.502 D transaction_sender.py:878 292 Proxy:HolderNeonTxStrategy {"req_id": "b0baa71"} Total iterations 4 for 922 (746) EVM steps
2022-03-07 09:15:50.502 D solana_interactor.py:523 292 Proxy:IterativeNeonTxSender {"req_id": "b0baa71"} start transactions sending: ExecuteTrxFromAccountDataIterativeOrContinue
2022-03-07 09:15:50.525 D solana_interactor.py:432 292 Proxy:SolanaInteractor {"req_id": "b0baa71"} No confirmations, because transaction list is empty
2022-03-07 09:15:50.525 D solana_interactor.py:422 292 Proxy:SolanaInteractor {"req_id": "b0baa71"} Got error on preflight check of transaction: {'code': -32002, 'message': 'Transaction simulation failed: Error processing Instruction 0: invalid account data for instruction', 'data': {'accounts': None, 'err': {'InstructionError': [0, 'InvalidAccountData']}, 'logs': ['Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io invoke [1]', 'Program log: Instruction: Begin or Continue Transaction from Account', 'Program log: program/src/storage_account.rs:185 : Expected account 3oHbJtjWDwkyEVP71RHyjw2BhkPuACstetmCwoPUa7BH, found 3D3ZqsRV3Tjq2ptsuNMAW9DzDtwyAteJhanHUGbpaNy2', 'Program log: Total memory occupied: 5770', 'Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io consumed 70428 of 500000 compute units', 'Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io failed: invalid account data for instruction']}}
2022-03-07 09:15:50.526 D solana_interactor.py:422 292 Proxy:SolanaInteractor {"req_id": "b0baa71"} Got error on preflight check of transaction: {'code': -32002, 'message': 'Transaction simulation failed: Error processing Instruction 0: invalid account data for instruction', 'data': {'accounts': None, 'err': {'InstructionError': [0, 'InvalidAccountData']}, 'logs': ['Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io invoke [1]', 'Program log: Instruction: Begin or Continue Transaction from Account', 'Program log: program/src/storage_account.rs:185 : Expected account 3oHbJtjWDwkyEVP71RHyjw2BhkPuACstetmCwoPUa7BH, found 3D3ZqsRV3Tjq2ptsuNMAW9DzDtwyAteJhanHUGbpaNy2', 'Program log: Total memory occupied: 5770', 'Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io consumed 70428 of 500000 compute units', 'Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io failed: invalid account data for instruction']}}
2022-03-07 09:15:50.526 D solana_interactor.py:422 292 Proxy:SolanaInteractor {"req_id": "b0baa71"} Got error on preflight check of transaction: {'code': -32002, 'message': 'Transaction simulation failed: Error processing Instruction 0: invalid account data for instruction', 'data': {'accounts': None, 'err': {'InstructionError': [0, 'InvalidAccountData']}, 'logs': ['Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io invoke [1]', 'Program log: Instruction: Begin or Continue Transaction from Account', 'Program log: program/src/storage_account.rs:185 : Expected account 3oHbJtjWDwkyEVP71RHyjw2BhkPuACstetmCwoPUa7BH, found 3D3ZqsRV3Tjq2ptsuNMAW9DzDtwyAteJhanHUGbpaNy2', 'Program log: Total memory occupied: 5770', 'Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io consumed 70428 of 500000 compute units', 'Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io failed: invalid account data for instruction']}}
2022-03-07 09:15:50.526 D solana_interactor.py:422 292 Proxy:SolanaInteractor {"req_id": "b0baa71"} Got error on preflight check of transaction: {'code': -32002, 'message': 'Transaction simulation failed: Error processing Instruction 0: invalid account data for instruction', 'data': {'accounts': None, 'err': {'InstructionError': [0, 'InvalidAccountData']}, 'logs': ['Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io invoke [1]', 'Program log: Instruction: Begin or Continue Transaction from Account', 'Program log: program/src/storage_account.rs:185 : Expected account 3oHbJtjWDwkyEVP71RHyjw2BhkPuACstetmCwoPUa7BH, found 3D3ZqsRV3Tjq2ptsuNMAW9DzDtwyAteJhanHUGbpaNy2', 'Program log: Total memory occupied: 5770', 'Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io consumed 70428 of 500000 compute units', 'Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io failed: invalid account data for instruction']}}
2022-03-07 09:15:50.526 D solana_interactor.py:551 292 Proxy:IterativeNeonTxSender {"req_id": "b0baa71"} retry 1, total receipts 4, success receipts 0(+0), node behind 0, bad blocks 0, blocked accounts 0, budget exceeded 0, unknown error: 4
2022-03-07 09:15:50.526 E solana_rest_api.py:380 292 Proxy:EthereumModel {"req_id": "b0baa71"} Got SendTransactionError: {
"code": -32002,
"message": "Transaction simulation failed: Error processing Instruction 0: invalid account data for instruction",
"data": {
"accounts": null,
"err": {
"InstructionError": [
0,
"InvalidAccountData"
]
},
"logs": [
"Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io invoke [1]",
"Program log: Instruction: Begin or Continue Transaction from Account",
"Program log: program/src/storage_account.rs:185 : Expected account 3oHbJtjWDwkyEVP71RHyjw2BhkPuACstetmCwoPUa7BH, found 3D3ZqsRV3Tjq2ptsuNMAW9DzDtwyAteJhanHUGbpaNy2",
"Program log: Total memory occupied: 5770",
"Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io consumed 70428 of 500000 compute units",
"Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io failed: invalid account data for instruction"
]
}
}
Log by "req_id": "b0baa71" in night-stand