-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web3.eth.transact is not returning any value #68
Comments
Right now I can send transactions, but when doing the deploy via http it returns a garbage character instead of the address. Printing the http request I get this:
I always get the value This is on latest dev, aleth + ethereum.js, doing things exactly like in the examples. Tried just sending a contract |
Looks like the contracts are indeed created though:
Been going at it for a while... |
Related Hopefully this will be fixed by ethereum/aleth#1120 |
ooh hash -> bool, makes sense. thanks for the info. |
should be fixed in latest cpp-ethereum develop, please check ;) |
works for me. pushed 20 contracts or so. |
its returning an address again, but the contracts still dont get mined. |
Weird. It works for me. Log dump from webstorm javascript console:
Also listed contracts from eth cli and i find them there. Could it be your contracts has old visibility specifiers in them, like |
new ethereum.js versions will not return a value for |
closing this for now, feel free to continue discussion / ask questions |
Executing the below in the JS console:
var source = "" +
"contract test {\n" +
" function multiply(uint a) returns(uint d) {\n" +
" return a * 7;\n" +
" }\n" +
"}\n";
var compiled = web3.eth.solidity(source);
var address = web3.eth.transact({code: compiled});
console.log(address);
Produces:
Error: NETWORK_ERR: XMLHttpRequest Exception 101
code: 101
constructor: XMLHttpRequestExceptionConstructor
line: 1063
message: "NETWORK_ERR: XMLHttpRequest Exception 101"
name: "NETWORK_ERR"
stack: "send@[native code]↵send↵send↵↵eval code↵eval@[native code]↵evaluate@[native code]↵_evaluateOn↵_evaluateAndWrap↵evaluate"
proto: XMLHttpRequestExceptionPrototype
This function is also causing a lot of problems within the GUI
The text was updated successfully, but these errors were encountered: