This repository was archived by the owner on Jun 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Jun 6, 2022. It is now read-only.
Balance transfer test failing #2
Copy link
Copy link
Open
Description
Hey!
I tried to download the repository but the test is failing - any ideas?
Standard Output Messages:
2022-05-13 09:10:11.9880|DEBUG|Ajuna.NetApi.SubstrateClient|Connected to Websocket.
2022-05-13 09:10:12.0271|DEBUG|Ajuna.NetApi.SubstrateClient|Listening to websocket.
2022-05-13 09:10:12.0288|DEBUG|Ajuna.NetApi.SubstrateClient|Invoking request[chain_getBlockHash, params: System.Object[]]
2022-05-13 09:10:12.0714|DEBUG|Ajuna.NetApi.SubstrateClient|Genesis hash parsed.
2022-05-13 09:10:12.0714|DEBUG|Ajuna.NetApi.SubstrateClient|Invoking request[state_getRuntimeVersion, params: ]
2022-05-13 09:10:12.0762|DEBUG|Ajuna.NetApi.SubstrateClient|Runtime version parsed.
2022-05-13 09:10:12.0762|DEBUG|Ajuna.NetApi.SubstrateClient|Invoking request[state_getStorage, params: System.Object[]]
2022-05-13 09:10:12.0762|INFO|JsonRpc|{"id":4,"method":"state_getStorage"}
2022-05-13 09:10:12.0948|INFO|JsonRpc|{"id":4}
2022-05-13 09:10:12.0948|INFO|JsonRpc|Received result for request "4".
2022-05-13 09:10:12.1263|DEBUG|Ajuna.NetApi.SubstrateClient|Invoking request[system_accountNextIndex, params: System.Object[]]
2022-05-13 09:10:12.1263|INFO|JsonRpc|{"id":5,"method":"system_accountNextIndex"}
2022-05-13 09:10:12.1263|INFO|JsonRpc|{"id":5}
2022-05-13 09:10:12.1263|INFO|JsonRpc|Received result for request "5".
2022-05-13 09:10:12.1263|DEBUG|Ajuna.NetApi.SubstrateClient|Invoking request[chain_getFinalizedHead, params: ]
2022-05-13 09:10:12.1263|INFO|JsonRpc|{"id":6,"method":"chain_getFinalizedHead"}
2022-05-13 09:10:12.1263|INFO|JsonRpc|{"id":6}
2022-05-13 09:10:12.1263|INFO|JsonRpc|Received result for request "6".
2022-05-13 09:10:12.1263|DEBUG|Ajuna.NetApi.SubstrateClient|Invoking request[chain_getHeader, params: System.Object[]]
2022-05-13 09:10:12.1263|INFO|JsonRpc|{"id":7,"method":"chain_getHeader"}
2022-05-13 09:10:12.1263|INFO|JsonRpc|{"id":7}
2022-05-13 09:10:12.1263|INFO|JsonRpc|Received result for request "7".
2022-05-13 09:10:12.1593|DEBUG|Ajuna.NetApi.SubstrateClient|Invoking request[author_submitAndWatchExtrinsic, params: System.Object[]]
2022-05-13 09:10:12.1593|INFO|JsonRpc|{"id":8,"method":"author_submitAndWatchExtrinsic"}
2022-05-13 09:10:12.1593|INFO|JsonRpc|{"id":8,"error":{"code":1002,"message":"Verification Error: Runtime error: Execution failed: Error calling api function: Failed to convert parameter `tx` from node to runtime of validate_transaction"}}
2022-05-13 09:10:12.1593|WARN|JsonRpc|Received error response for request 8: 1002 "Verification Error: Runtime error: Execution failed: Error calling api function: Failed to convert parameter `tx` from node to runtime of validate_transaction":
2022-05-13 09:10:12.1845|INFO|JsonRpc|Connection closing (LocallyDisposed: Stream has been disposed).
2022-05-13 09:10:12.1894|DEBUG|Ajuna.NetApi.SubstrateClient|Client closed.
2022-05-13 09:10:12.1894|DEBUG|Ajuna.NetApi.SubstrateClient|Client disposed.
Failed BalanceTransferWithPendingTestAsync [38 ms]
Error Message:
StreamJsonRpc.RemoteInvocationException : Verification Error: Runtime error: Execution failed: Error calling api function: Failed to convert parameter `tx` from node to runtime of validate_transaction
Stack Trace:
at StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](RequestId id, String targetName, IReadOnlyList`1 arguments, IReadOnlyList`1 positionalArgumentDeclaredTypes, IReadOnlyDictionary`2 namedArgumentDeclaredTypes, CancellationToken cancellationToken, Boolean isParameterObject)
at Ajuna.NetApi.SubstrateClient.InvokeAsync[T](String method, Object parameters, CancellationToken token)
at Ajuna.NetApi.Modules.Author.SubmitExtrinsicAsync(String parameters, CancellationToken token)
at Ajuna.NetApi.Modules.Author.SubmitExtrinsicAsync(Method method, Account account, UInt32 tip, UInt32 lifeTime, CancellationToken token)
at ExentsionTest.ExentsionTest.BalanceTransferWithPendingTestAsync() in C:\Users\georgiosd\Documents\Ajuna.NetApiExt-original\Ajuna.NetApiExt.Test\ExentsionTest.cs:line 284
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
Metadata
Metadata
Assignees
Labels
No labels