Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Thomas
    @thodges-gh
    It'll log in the console output.
    Eric Badiere
    @ebadiere
    Here is my console output:
    ericbadiere@Erics-MacBook-Pro-3 .chainlink-ropsten % cd ~/.chainlink-ropsten && docker run -p 6688:6688 -v ~/.chainlink-ropsten:/chainlink -it --env-file=.env smartcontract/chainlink local n
    2019-11-27T03:39:41Z [INFO] Starting Chainlink Node 0.6.9 at commit 0f41bad0bba11d65a5ff45cdf6f82f5fdde9d494 cmd/local_client.go:26
    2019-11-27T03:39:41Z [INFO] SGX enclave NOT loaded cmd/enclave.go:11
    2019-11-27T03:39:41Z [INFO] This version of chainlink was not built with support for SGX tasks cmd/enclave.go:12
    2019-11-27T03:39:41Z [INFO] Locking postgres for exclusive access with indefinite timeout orm/orm.go:63
    2019-11-27T03:39:41Z [FATAL] Unable to initialize ORM: unable to lock ORM: the following errors occurred:
    The only thing I can think of the $PORT
    but it's defined in the .env
    Thomas
    @thodges-gh
    What is in the .env file?
    Eric Badiere
    @ebadiere
    USERNAME=postgres
    PASSWORD=password
    PORT=5432
    SERVER=127.0.0.1
    DATABASE=chainlink
    DATABASE_TIMEOUT=0
    DATABASE_URL=postgresql://$USERNAME:$PASSWORD@$SERVER:$PORT/$DATABASE
    ~
    Thomas
    @thodges-gh
    Oh, you need to change the $ values in the DATABASE_URL value to the actual values, not define them above.
    Eric Badiere
    @ebadiere
    oh shoot
    okay thanks
    Thomas
    @thodges-gh
    No problem. It'd be cool if that worked with Docker, though.
    Eric Badiere
    @ebadiere
    Hello again, I am trying to set up the ATestnetConsumer.sol contract and run it per the docs: https://docs.chain.link/docs/fulfilling-requests
    I added the job, I copy/pasted the URL from the solidity function requestEthereumLastMarket, and pasted it in a new browser tab and sure enough, crypto compare returns the price in USD
    contract is deployed and funded using remix and metamask
    when I run that function using my oracle and job ID it returns a price of 0 wei
    I then hit the currentPrice tab to run that function and it confirms 0 wei
    Thomas
    @thodges-gh
    @ebadiere What is your requesting transaction?
    Thomas
    @thodges-gh
    Did you send it to 0x3De19A3ee2dd348E7045733D9b01c373CFf9dbD3 as your oracle contract?
    Eric Badiere
    @ebadiere
    yes
    Thomas
    @thodges-gh
    Okay, that's not a contract address. You need to send requests to the contract address of the oracle contract that you deployed.
    Eric Badiere
    @ebadiere
    shoot
    0x3De19A3ee2dd348E7045733D9b01c373CFf9dbD3 is listed in the configuration as
    ACCOUNT_ADDRESS
    oh wait
    okay
    So the address of the Oracle.sol at the beginning of the process described?
    Thomas
    @thodges-gh
    I don't understand what you're asking, sorry.
    The Fulfilling Requests guide has you deploy an oracle contract. You'll use that contract's address to send requests to.
    Eric Badiere
    @ebadiere
    okay I am trying to understand what "the oracle contract you . deployed" is
    yes
    so
    Section titled "Deploy your own Oracle contract"
    I deployed that oracle contract and ran the setFulfillmentPermission function
    passing it my oracle account address and the bol true
    I just now used that oracle contract address to run the requestEthereumLastMarket and got sero again
    zero
    Thomas
    @thodges-gh
    Did your node pick up the request?
    Eric Badiere
    @ebadiere
    okay so how or where do I look for that?
    There are no transaction created yet
    No jobs have been run yet
    Thomas
    @thodges-gh
    Your job ID d5837ac643ea47a78a246bf76802d41d didn't execute at all?
    You'll also need to fund your node's account 0x3De19A3ee2dd348E7045733D9b01c373CFf9dbD3 with ETH.
    Is your Ethereum client synced?
    Eric Badiere
    @ebadiere
    okay I disn't do that
    hmm, I am using an external provider for the node. I thought it owuld be the full node that would need to have the blockchain synced
    Thomas
    @thodges-gh
    Okay that's fine.
    Eric Badiere
    @ebadiere
    I am using Fiews.io
    and metamask to send