Giter Site home page Giter Site logo

Comments (13)

D-Nice avatar D-Nice commented on August 23, 2024

You can literally just remove/comment out this line to avoid it https://github.com/oraclize/ethereum-bridge/blob/master/bridge.js#L2

We will recheck compatibility between versions, and update the version check, the compatibility check is way too strict at the moment, and I think it should work with node 8, but it's untested yet.

from ethereum-bridge.

parunach avatar parunach commented on August 23, 2024

I did that and got

{"message":"Error: Account ","stack":"Error: Error: Account \n at deployOraclize (/Users/abc/code/blockchain/ethereum-bridge/bridge.js:525:16)\n at /Users/abc/code/blockchain/ethereum-bridge/bridge.js:425:33\n at /Users/abc/code/blockchain/ethereum-bridge/bridge.js:506:14\n at Request._callback (/Users/abc/code/blockchain/ethereum-bridge/lib/bridge-http.js:24:14)\n at Request.self.callback (/Users/abc/code/blockchain/ethereum-bridge/node_modules/request/request.js:188:22)\n at emitTwo (events.js:125:13)\n at Request.emit (events.js:213:7)\n at Request. (/Users/abc/code/blockchain/ethereum-bridge/node_modules/request/request.js:1171:10)\n at emitOne (events.js:115:13)\n at Request.emit (events.js:210:7)\n at IncomingMessage. (/Users/abc/code/blockchain/ethereum-bridge/node_modules/request/request.js:1091:12)\n at Object.onceWrapper (events.js:312:19)\n at emitNone (events.js:110:20)\n at IncomingMessage.emit (events.js:207:7)\n
at endReadableNT (_stream_readable.js:1045:12)\n at _combinedTickCallback (internal/process/next_tick.js:102:11)"}

Exiting...

from ethereum-bridge.

D-Nice avatar D-Nice commented on August 23, 2024

Deployed just fine for me, on node v8.1.4, running with testrpc v4.0.1 and the latest ethereum-bridge (with that versionCheck line commented out).

What are you running it with, are you sure the account is unlocked?

from ethereum-bridge.

parunach avatar parunach commented on August 23, 2024

Yes, I am running account unlocked. If it was locked, it should not crash, but complain and exit.

However, I am not running node v8.1.4, I am running v8.0.0. If you wish, I can update the node.

from ethereum-bridge.

D-Nice avatar D-Nice commented on August 23, 2024

I am giving it a try with 8.0.0 now. In regards to using node, I highly recommend you couple it with nvm (node version manager) for your OS, so you can easily switch between different node versions due to these potential compatibility issues.

from ethereum-bridge.

D-Nice avatar D-Nice commented on August 23, 2024

Works fine with 8.0.0 as well. How are you trying to run the bridge, with a testnet or a privatenet, and are you using testrpc?

from ethereum-bridge.

parunach avatar parunach commented on August 23, 2024

I am running it with a privatenet. I use

geth --datadir ~/data/privateEthereum/cl1 --networkid 1234 --rpcport 8042 --rpcaddr 127.0.0.1 --port 30303 --rpc --rpcapi="db,eth,net,web3,personal,web3" --maxpeers 3 --nat "any" --nodiscover --rpccorsdomain "*" --mine --minerthreads=1 --unlock 0 --password passwordFile console

and then calling the bridge with the simple command

node bridge -H localhost:8042 -a 0

Is there a mistake in this?

from ethereum-bridge.

D-Nice avatar D-Nice commented on August 23, 2024

It looks correct, but the bridge's error output indicates it can't see that account as existing on the node at all. I've recreated this on testrpc by specifying the bridge to use an account outside the account range. Are you able to interact with account[0] via the geth console, such as send transactions?

from ethereum-bridge.

parunach avatar parunach commented on August 23, 2024

Let me recheck everything, I might have some error.

I am able to interact with the account in the console

from ethereum-bridge.

parunach avatar parunach commented on August 23, 2024

BTW, if the account is locked, can it not complain that it is locked and exit? That way a user can understand the problem and correct the running.

from ethereum-bridge.

D-Nice avatar D-Nice commented on August 23, 2024

It does in fact

[2017-07-20T15:33:20.954Z] INFO deploying the oraclize connector contract...
Error: Error: Error: could not unlock signer account

from ethereum-bridge.

parunach avatar parunach commented on August 23, 2024

I was able to get in, a mistake. However, I did not know that private blockchains require payment too. I assumed that only public ones required payment.

[2017-07-20T16:28:35.080Z] WARN 0xd408cd1161cd8015f1eaf360f4935a24e72dae2e doesn't have enough funds to cover transaction costs, please send at least 0.05 ETH

from ethereum-bridge.

D-Nice avatar D-Nice commented on August 23, 2024

Glad to hear you're in. Yes, privatenets require payment still, even with privatenet ether, to simulate the mainnet environment as closely as possible!

from ethereum-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.