These are chat archives for Nethereum/Nethereum

4th
Apr 2016
slothbag
@slothbag
Apr 04 2016 00:10
You are leading the charge for .Net in the Ethereum space :)
Juan Blanco
@juanfranblanco
Apr 04 2016 09:19
lol thanks :D
Raymen Scholten
@raymens
Apr 04 2016 09:36
Hey, good job on the great library :)
Juan Blanco
@juanfranblanco
Apr 04 2016 09:37
thanks!
Raymen Scholten
@raymens
Apr 04 2016 09:37
I'm using the Mist basic Wallet contract, but I can't seem to be able to get the events from it (surely something I'm doing wrong)
Juan Blanco
@juanfranblanco
Apr 04 2016 09:44
is that morden?
i guess so
Raymen Scholten
@raymens
Apr 04 2016 09:44
Yeah
Think so
Raymen Scholten
@raymens
Apr 04 2016 09:51
That's the one
The one from half an hour ago was a addOwner function
Juan Blanco
@juanfranblanco
Apr 04 2016 09:55
This message was deleted
mainly change the type of address from int to string
on your event
ill check in
Raymen Scholten
@raymens
Apr 04 2016 10:02
Stupid copy-paste error of the int -> string. It's still an empty list though
Juan Blanco
@juanfranblanco
Apr 04 2016 10:02
I get 1 log entry
Raymen Scholten
@raymens
Apr 04 2016 10:02
Is a 0x0 filterId correct?
Interesting...
Juan Blanco
@juanfranblanco
Apr 04 2016 10:03
no is not
blob
Raymen Scholten
@raymens
Apr 04 2016 10:07
            var client = new IpcClient("geth.ipc");

            var web3 = new Web3(client);
Could that be related to receiving a 0x0 filter Id?
Juan Blanco
@juanfranblanco
Apr 04 2016 10:08
ah it might be...
i cannot test that now.. ill have a look that later with time
Raymen Scholten
@raymens
Apr 04 2016 10:09
No problem and thanks for the help. I'll try using http
Juan Blanco
@juanfranblanco
Apr 04 2016 10:10
nb happy to help
Raymen Scholten
@raymens
Apr 04 2016 10:23
Switching to http does indeed return a log entry
Juan Blanco
@juanfranblanco
Apr 04 2016 10:31
k thanks
Raymen Scholten
@raymens
Apr 04 2016 10:54
IPC request: "{\"id\":1,\"jsonrpc\":\"2.0\",\"method\":\"eth_newFilter\",\"params\":[{\"fromBlock\":\"0xa30cc\",\"toBlock\":\"latest\",\"address\":[\"0xa3969327661Ad9632638b8fe8d5dEF6ceFd94738\"],\"topics\":[[\"994a936646fe87ffe4f1e469d3d6aa417d6b855598397f323de5b449f765f0c3\"]]}]}"
IPC response: "{\"id\":1,\"jsonrpc\":\"2.0\",\"result\":\"0x0\"}"
slothbag
@slothbag
Apr 04 2016 12:05
Juan, just letting you know the Nethereum-XS folder has many many problems in Xamarin Studio now. I maintain my own fork with XS specific changes that work for me.. It might make sense to either drop the Nethereum-XS folder or rename it to Nethereum-VS, Nethereum-IDE, ProjFiles or something like that.
Raymen Scholten
@raymens
Apr 04 2016 13:01
There also seem to be a specific set of blocks on morden that cannot be fetched using IPC (via web3.Eth.Blocks.GetBlockWithTransactionsByNumber) but can be fetched using http
Juan Blanco
@juanfranblanco
Apr 04 2016 13:04
@slothbag I put XS in folder underneath the solution, you will to run BuildProjectFiles again, also feel free to add the nugets that work for you.
ok ill rename it to something more meaningful, ProjFiles.. seems like a good one ;)
Juan Blanco
@juanfranblanco
Apr 04 2016 16:36
@raymens yes, very weird all the usual methods work, create new account, transaction call, call contract, unlock account, but create new filter always returns 0. More strange Mist gets the latests transactions.. but it might not use the events filters just raw transactions.