These are chat archives for Nethereum/Nethereum

12th
May 2017
Andres G. Aragoneses
@knocte
May 12 2017 03:19
juanfranblanco: interesting you ask me that because I'm not 100% sure :)
because shortly after posting the stackoverflow question I could have sworn I tested with the /eth suffix but it was still giving a 403
then some time after, about 1 hour later after testing some things, it started working
and if I remove the /eth suffix it gives the 403 again
so I posted my own answer as you have already seen
Andres G. Aragoneses
@knocte
May 12 2017 07:34
@juanfranblanco: another issue, unrelated: how is it possible that Nethereum.Core.Signing.Crypto.EthECKey.GenerateKey() is returning an NBitcoin type? by looking at latest master, this is not the case, so then I'm wondering if you should push a new version of NEthereum.Portable to nuget?
Juan Blanco
@juanfranblanco
May 12 2017 07:46
@knocte Are you using, the latest rc3?
Juan Blanco
@juanfranblanco
May 12 2017 07:53
@olibd redirect to debug window it is mainly for Visual Studio (Windows), I have not tested it in Visual Studio Mac. But yeah normal CLI dotnet test works on both Linux and Mac without the debug output.
Andres G. Aragoneses
@knocte
May 12 2017 07:55
@juanfranblanco I'm using last one published, 1.0.6
Juan Blanco
@juanfranblanco
May 12 2017 07:55
Ah... You should move to 2.0.0 rc3
I am only awaiting to release 2.0.0 on further documentation
Andres G. Aragoneses
@knocte
May 12 2017 07:57
ah, didn't see there were prereleases
Juan Blanco
@juanfranblanco
May 12 2017 07:58
Things to watch out are Web3Geth
Andres G. Aragoneses
@knocte
May 12 2017 07:58
what do you mean?
Juan Blanco
@juanfranblanco
May 12 2017 07:59
Mainly specific stuff for Geth is in Web3Geth
Like mining, debug, etc
Accounts
Andres G. Aragoneses
@knocte
May 12 2017 08:00
ah ok
Juan Blanco
@juanfranblanco
May 12 2017 08:00
You can initialize Web3 with a private key, or user name and password
Andres G. Aragoneses
@knocte
May 12 2017 08:02
btw I take it Nethereum works well with Geth-light mode? haven't tested it yet
That gives you an overview of accounts
Light mode, yep, so far ok.
Need to do more tests
Andres G. Aragoneses
@knocte
May 12 2017 08:05
@juanfranblanco: how about ETC-based geth, have you tried?
Juan Blanco
@juanfranblanco
May 12 2017 08:05
Yep is the same
Andres G. Aragoneses
@knocte
May 12 2017 08:05
great
do you have hardcoded seedlist of geth peers in the lib?
Juan Blanco
@juanfranblanco
May 12 2017 08:06
Many namespaces changes
As I have separated the libraries
So resharper will help
No, no seedlist
Andres G. Aragoneses
@knocte
May 12 2017 08:08
mmm
you know, geth in light mode will connect to other geth peers (preferably not-light-mode ones) to get its info; would it be hard to incorporate this functionality in Nethereum itself?
(in the same way you have already incorporated signing)
Juan Blanco
@juanfranblanco
May 12 2017 08:11
I'll have a look
Boarding my plane
Speak in a couple of hours
Andres G. Aragoneses
@knocte
May 12 2017 08:13
sure
olibd
@olibd
May 12 2017 14:04
@juanfranblanco you don't believe this error could be testrpc failing to iniate on my machine? Because this is extremely weird bug, and I'm kinda stuck. I can confirm that node is in the path and an other instance is not running on this port preventing the launch of test rpc
Juan Blanco
@juanfranblanco
May 12 2017 14:17
the testrpc included is a standalone version browserified so no dependencies are needed
just download it and run it from there
to verify
Juan Blanco
@juanfranblanco
May 12 2017 18:07
yep
Matt.Tan
@mtbitcoin
May 12 2017 18:07
it doesnt handle the name normalization for instance when there is special characters like domäiname.eth
Juan Blanco
@juanfranblanco
May 12 2017 18:08
Thanks
Matt.Tan
@mtbitcoin
May 12 2017 18:08
specifically UTS46 .
Juan Blanco
@juanfranblanco
May 12 2017 18:09
yep I see it has changed
Ill fix it this weekend
Matt.Tan
@mtbitcoin
May 12 2017 18:09
thanks. will you push this as nuget :-) ?
Juan Blanco
@juanfranblanco
May 12 2017 18:09
yeah
Matt.Tan
@mtbitcoin
May 12 2017 18:10
if it helps, nick mentioned "We use UTS-46 followed by UTF-8 encoding"
doesn't use puny code
Juan Blanco
@juanfranblanco
May 12 2017 18:11
ok
idnmapping
but not punnycode?
olibd
@olibd
May 12 2017 19:00
@juanfranblanco thank you for your help. I did as you said and I can confirm that there is not problem with the testrpc itself. The issue was on my end, cause by multithreading resulting web3 trying to call the testrpc before the instance was actually running.
olibd
@olibd
May 12 2017 20:13

However, I am currently running into some issues deploying the following contract

https://gist.github.com/olibd/0739c73fa6243e3e3449d7f657b56d5d

I get the following error: https://gist.github.com/olibd/a97b84f97e0fc5f3e77e899a4e57c576

any idea
olibd
@olibd
May 12 2017 23:12
note: We are calling web3.Eth.DeployContract.SendRequestAsync(string abi, string contractByteCode, string from, HexBigInteger gas, params object[] values); with "params object[] values" being null. This works with other contracts like the samples you give in your tutorials, but not with this contract.