These are chat archives for Nethereum/Nethereum

19th
Dec 2018
Juan Blanco
@juanfranblanco
Dec 19 2018 04:56
@VoR0220 the tests for Nethereum are driven by instantiating a new instance of geth or parity in the background
this is done automatically
although for unit testing with ganache it could be created a new Nethereum.TestRPC or Netherum.Ganache with the extra methods
this is how extra methods are added like Netheruem.Geth, Netheruem.Parity
what i did previously is to embed testrpc
but that is an old project / idea
it could be revamped
for Nethereum core this is what is used
this could / should be package nicer
Juan Blanco
@juanfranblanco
Dec 19 2018 05:01
and consumed this way
note that paths are relative (hence the packaging thought) to Nethereum structure
that uses the testchains
this is configured to work in AzureDevOps ci
so it actually works in a CI environment and tests both Geth and Parity
ameerkahiri
@ameerkahiri
Dec 19 2018 05:46

@KevinSmall @juanfranblanco Nethereum not works on Android 4.0 . I tried on Android 4.0 it gives "unkown error" when polling. Then I tested on Android 5.1 and it works like charm. Thanks @KevinSmall.

Tested on:

  • Nethereum v2.2.1
  • Unity 5.6
  • Samsung Galaxy Note 3 (Android 5.1)
Juan Blanco
@juanfranblanco
Dec 19 2018 08:13
@ameerkahiri great feedback thanks
Kevin Small
@KevinSmall
Dec 19 2018 09:28
@ameerkahiri thanks. A useful reference if you've not already seen it is this: https://developer.android.com/about/dashboards/ which shows current distribution of android versions in the wild. Whilst 4.0 will be quite a few actual devices, in terms of % market share it is not so much.
Mosin Pathan
@mosinms7711
Dec 19 2018 14:29
Message:Error occurred when trying to send rpc requests(s)
Stack Trace: at Nethereum.JsonRpc.Client.RpcClient+<SendAsync>d12.MoveNext () [0x001f1] in <b77d373ccab74dd283570de3c28920a4>:0
--- End of stack trace from previous location where exception was thrown ---
at Nethereum.JsonRpc.Client.ClientBase+<SendInnerRequestAsync>d
111[T].MoveNext () [0x0007b] in <f4fd8f3cfec543ebbd0ed7f9849afbbf>:0 --- End of stack trace from previous location where exception was thrown --- at Nethereum.JsonRpc.Client.ClientBase+<SendInnerRequestAsync>d__121[T].MoveNext () [0x0009d] in <f4fd8f3cfec543ebbd0ed7f9849afbbf>:0
--- End of stack trace from previous location where exception was thrown ---
at Nethereum.JsonRpc.Client.ClientBase+<SendRequestAsync>d8`1[T].MoveNext () [0x0011b] in <f4fd8f3cfec543ebbd0ed7f9849afbbf>:0
--- End of stack trace from previous location where exception was thrown ---
at DiAuthDmeo.SecondPage+<OnAppearing>d
7.MoveNext () [0x00491] in /Users/dev-aicumen/Projects/DiAuthDmeo/DiAuthDmeo/SecondPage.xaml.cs:140
i am getting above error while making a function call in contract through SendTransactionAsync
my gas limit is 8000000