IMA: Exception in POW-mining
Closed this issue · 1 comments
Description
An error was occurred during POW-mining in IMA Agent
Version: ima:2.1.0-beta.2
Step to reproduce
- Drain node wallet to 0
- Send any message(ex: S2S transfer) when active frame will on node with 0 balance
OR - Run node rotation
- Send any message(ex: S2S transfer) when active frame will on the new node with 0 balance
Expected result
IMA Agent successful perform POW-mining for processing message
Actual result
CRITICAL ERROR: PoW-mining: PoW-mining error(calculatePowNumber): exception occur during PoW-mining, error is
As result message will not pass from this node, i.e 30 min frame stuck
eth.getBalance("0x4d45c578a7ff9d4c5266b2c5f4ef5eb361cb657f") 0
Verified: works for new schains, tx will sent to etherbase to refill wallet
Version: IMA Agent: 2.1.0-beta.3
2024-02-15 13:43:50.224: S2M/#61 Optimized IMA message search algorithm will start at block "0", will search for outgoing message counter "0" and approach down to incoming message counter "0"
2024-02-15 13:43:50.224: S2M/#61 Optimized IMA message search algorithm success, nothing to search, result is empty
2024-02-15 13:43:32.566: WARNING: PoW-mining: Insufficient funds for "0x4d3a622e0d8afe2aca031db564f55630d077e05d", will run PoW-mining to get "0x053fe1" of gas
2024-02-15 13:43:32.568: PoW-mining: Will run PoW-mining command: "/ima/src/build/pow 4D3A622E0D8Afe2ACA031dB564F55630d077E05d 0 344033"
2024-02-15 13:43:51.131: PoW-mining: Got PoW-mining execution result: {"type":"Buffer","data":[55,55,65,66,52,66,68,48,48,54,49,70,53,70,49,54,66,49,54,56,57,55,68,55,48,49,66,68,67,55,54,49,51,55,54,68,69,70,48,53,51,67,48,57,50,66,65,57,53,50,52,50,53,51,65,67,53,49,53,57,53,55,67,69]}
2024-02-15 13:43:51.131: PoW-mining: Returned PoW-mining number {"type":"Buffer","data":[55,55,65,66,52,66,68,48,48,54,49,70,53,70,49,54,66,49,54,56,57,55,68,55,48,49,66,68,67,55,54,49,51,55,54,68,69,70,48,53,51,67,48,57,50,66,65,57,53,50,52,50,53,51,65,67,53,49,53,57,53,55,67,69]}
2024-02-15 13:43:51.131: PoW-mining: Trimmed PoW-mining number is "77AB4BD0061F5F16B16897D701BDC761376DEF053C092BA9524253AC515957CE"