by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Eric Badiere
    @ebadiere
    @thodges-gh Finally sorted out my issue. I confused ORACLE_CONTRACT_ADDRESS with ACCOUNT_ADDRESS, even though it's mentioned in the docs. The real issue must be my multi-tasking. I am not seeing much activity here lately. Is that normal?
    Bu1137
    @Bu1137
    There are phases, I'd say.
    reterik
    @reterik
    I have a chainlink node running alongside geth and I cannot figure out how to send an erc20 token to another account the curl command looks like this and returns body=FAILED TO READ BODY
    'curl -b cookiefile -H "Content-Type: application/json" -d '{raw: "0x0",tx: {gas: "0x0", gasPrice: "0x0", hash: "0x0", input: "0x0", nonce: "0x5c7", r: "0x0", s: "0x0", to: "0x0", v: "0x0", value: "0x0"}}' http://localhost:8545/v2/transactions/0x0
    curl -b cookiefile -H "Content-Type: application/json" -d '{raw: "0x0",tx: {gas: "0x0", gasPrice: "0x0", hash: "0x0", input: "0x0", nonce: "0x5c7", r: "0x0", s: "0x0", to: "0x0", v: "0x0", value: "0x0"}}' http://localhost:6688/v2/transactions/0x0
    reterik
    @reterik
    any other attempt returns 401 error not authorized, how do I set the API login information? Do I have to apply for it?
    harshafyniti
    @harshafyniti

    I have a chainlink node and a quorum local node running, I could create a job and had successful job executions that hit sample API for 0.4. solidity version contracts, however as I used 0.5 version solidity chainlink contracts , the chainlink-node fails to parse the tx logs

    {"level":"debug","ts":1577514531.1691422,"caller":"services/subscription.go:121","msg":"Log for runlog initiator for job 3d1f8a27c58f4b7092f73263dce60e20","txHash":"0x935b98d505449bc3e59f6ce3a7345798ecb497b20435f7362b4930cf49db8020","logIndex":3,"blockNumber":157,"job":"3d1f8a27c58f4b7092f73263dce60e20"}
    {"level":"debug","ts":1577514531.169242,"caller":"models/log_events.go:201","msg":"Received log from block #157 for address 0xd0f15393c56ABBA0a420F1E77a9E555c05Ab4a51","job":"3d1f8a27c58f4b7092f73263dce60e20","log":157,"initiator":{"id":4,"jobSpecId":"3d1f8a27c58f4b7092f73263dce60e20","type":"runlog","CreatedAt":"2019-12-28T05:21:46.805919648Z","params":{"time":null,"address":"0xd0f15393c56abba0a420f1e77a9e555c05ab4a51"}},"topic0":"0xd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c65","topic1":"0x3364316638613237633538663462373039326637333236336463653630653230"}
    {"level":"error","ts":1577514531.1694016,"caller":"services/subscription.go:152","msg":"Error parsing CBOR: Unable to coerce key uint64 0 to a string","job":"3d1f8a27c58f4b7092f73263dce60e20","log":157,"initiator":{"id":4,"jobSpecId":"3d1f8a27c58f4b7092f73263dce60e20","type":"runlog","CreatedAt":"2019-12-28T05:21:46.805919648Z","params":{"time":null,"address":"0xd0f15393c56abba0a420f1e77a9e555c05ab4a51"}},"topic0":"0xd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c65","topic1":"0x3364316638613237633538663462373039326637333236336463653630653230","stacktrace":"chainlink/core/logger.Errorw\n\t/chainlink/core/logger/logger.go:119\nchainlink/core/services.ReceiveLogRequest\n\t/chainlink/core/services/subscription.go:152\nchainlink/core/services.InitiatorSubscription.dispatchLog\n\t/chainlink/core/services/subscription.go:129\nchainlink/core/services.ManagedSubscription.listenToLogs\n\t/chainlink/core/services/subscription.go:252"}
    {"level":"debug","ts":1577514778.353693,"caller":"services/run_queue.go:56","msg":"Run queue statistics","runs_executed":0,"runs_queued":0,"worker_count":0}

    only one forum found, who also faced the same issue
    https://www.gitmemory.com/ngyam (search for cbor in this)
    I cannot work with 0.4 version contracts as all our contracts are 0.5, been stuck with this for a week, any help is appreciated. thanks in advance

    Jaehoon Shim
    @pensivej

    Hello, I'm trying to deploy a TestConsumer contract to Ganache via Remix but I get this error:

    Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
    "message" must be a nonempty string.

    It deploys on Ropsten without any problems. Would there be a difference between Ropsten network and Ganache? I've also set my hardfork version to byzantium
    The code I'm trying to compile is this https://raw.githubusercontent.com/smartcontractkit/chainlink/master/examples/testnet/contracts/TestnetConsumer.sol

    fourohfournotfound
    @fourohfournotfound
    @thodges-gh how do nodes get added to the reference contract?
    Andrew Coutts
    @acoutts
    Hi - I just created a bitcoin adapter for Chainlink. So far it supports querying the current block number but I will soon implement other functionality like querying transactions and addresses. https://github.com/acoutts/chainlink-bitcoin-adapter
    Thomas
    @thodges-gh
    Good work! Let's move technical discussion to our Discord, here: https://discord.gg/aSK4zew
    You'll be able to reach more node operators and developers there.
    Иван
    @34x4p08
    It seems Ropsten' ETH/USD Aggregator contract has been redeployed at 7th of Jan. So, the services using old version at 0x0Be00A19538Fac4BE07AC360C69378B870c412BF should update the aggregator address to 0x8468b2bDCE073A157E560AA4D9CcF6dB1DB98507. Also naming of variables has changed, now the price is stored in 'latestAnswer' variable, not in 'currentAnswer'.
    But actually it updates very slowly, last update has been performed about 30 hours ago. Is it possible to speed up updating?
    Can we expect redeployment of Mainnet contract?
    Theo Turner
    @theoturner
    Hi folks, am I right in understanding that buildChainlinkRequest()/sendChainlinkRequest() implements a callback, so computation of my Solidity contract will not proceed until the job has been fulfilled?

    e.g. if I take the requestEthereumPrice() example in the docs, and do this:

    requestEthereumPrice();
    uint256 x = currentPrice;
    requestEthereumPrice();
    uint256 y = currentPrice;

    will x and y have different values (assuming the price changes in the time between requests)?

    Bryce Blilie
    @bluemagma612
    Hi everyone, I dont see my LINK balance ever increasing even tho I have successful job runs. Will it change?
    harrumphharrumph
    @harrumphharrumph
    The LINK is going to the contract and currently is not visible on the node operator console.
    The Discord is more active for node operators if you want to join us there.
    Denis Gavrilin
    @DenisGavrilin

    Hello Guys.
    I'm trying to use 'Sleep' adapter but requests executes immediately without deley.

      //ROPSTEN
      address _oracle = 0xA3Ce768F041d136E8d57fD24372E5fB510b797ec;
      bytes32 _jobId = "00364325dafb410bbdadd7d79e69eab5";
    
      function _requestSobr(uint delay) private {
        Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector);
        req.addUint("until", now + delay);
        req.add("get", "https://api.loanscan.io/v1/reference-rates/current/Sobr?tokenSymbol=DAI");
        req.add("path", "DAI");
        req.addInt("times", 100000000);
        sendChainlinkRequestTo(_oracle, req, LINK);
      }

    I found an accepted bug, does it works today or am I doing something wrong?

    chainlinkbridge
    @chainlinkbridge

    [slack] <matterbridge> DenisGavrilin@lobby: Hello Guys.
    I'm trying to use 'Sleep' adapter but requests executes immediately without deley.

      //ROPSTEN
      address _oracle = 0xA3Ce768F041d136E8d57fD24372E5fB510b797ec;
      bytes32 _jobId = "00364325dafb410bbdadd7d79e69eab5";
    
      function _requestSobr(uint delay) private {
        Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector);
        req.addUint("until", now + delay);
        req.add("get", "https://api.loanscan.io/v1/reference-rates/current/Sobr?tokenSymbol=DAI");
        req.add("path", "DAI");
        req.addInt("times", 100000000);
        sendChainlinkRequestTo(_oracle, req, LINK);
      }

    I found an accepted bug, does it works today or am I doing something wrong?

    RickGriff
    @RickGriff

    Hi all. I'm looking at implementing an ETH:USD price feed in my Ethereum dApp via the Chainlink Aggregator template.

    I hear Chainlink prices are updated every 10 minutes. Are oracles synchronized with their price updates, or do they update on their own schedules? I'd like to ideally minimise gas and only request a new price when oracles have updated their data.

    prographo
    @prographo
    I have some very basic question to determine if I am in the right place. I am looking for decentralised Oracles to feed USD/BTC prices to a smart contract. Does chainlink work with many blockchains or just Ethereum? The prices need to be every second.
    SplendidX
    @SplendidX
    How do I get the 0.5.0 solidity version of the Chainlink contracts from NPM? thanks
    Sigil.Link
    @sigildotlink
    Verified the truffle box is working with 0.5.0 contracts. There appears to be an issue with my "fund-contract.js". I will have a look at this later.
    Sneha Agarwalla
    @snag0
    Hello guys, I'm trying to use the 'Sleep' adapter, but the requests are executing without delay. Can someone please help me out with this?
    Benedikt Berger
    @bergben
    Hey guys! Two quick questions:
    1 - are there any research grants available for Chainlink?
    2 - are there any in-depth docs available other than whitepaper, official docs and codebase? Especially about the aggregating process on-chain and/or external adapters. Is there a way to get in touch with someone from inside Chainlink to discuss further details - I'm doing research in that area. Would also be great to know which parts of the whitepaper are still valid - e.g. there is a part about Chainlink's goal to combine Trusted Execution Environment in this aggregation process.
    Ayhan Rashidov
    @aihanrashidov
    Hello. I've managed to get LINK tokens for my testnet account but how to get such tokens on a mainnet account?
    Patrick McCorry
    @stonecoldpat
    hey hey. i'm trying to use the tutorial for ropsten, but when I put in the jobid "897479ba429445e4a89be90cfcd52a51", it complains that it isnt a bytes32

    for this function:
    function requestEthereumPrice(address _oracle, bytes32 _jobId, uint256 _payment)

    Has anyone ran into this before ?

    (ill put it in the discord too)
    fangzhen
    @lifangzhen
    where can i find RopstenConsumer.sol?
    seetharaman gr
    @grsind19
    ChainLink oracle service is failing in Quorum privateFor Transactions. Won't it support it?
    seetharaman gr
    @grsind19
    Is there anyway Chainlink smart contract deployed for Quorum private smart contracts
    ?
    Drav78
    @Drav78
    Hi guys. Can someone help me? i am trying to run chainlink node for first time and i get this error: " unable to initialize ORM: PQ: syntax error at or near "NOT error runing migrations"
    acavus
    @acavus

    Hi Guys,

    I use Chainlink to request data and then save it in a local variable. This variable is then assigned to an array. Unfortunately the data assignment to the array is not synchronous, because I get the result from Chainlink a bit later.
    What can I do so that only when I receive the data from Chainlik, is it assigned to the array?

    Gam
    @LuckyX2
    Hi team. Might be worth adding to the docs that for the "DATABASE_URL=postgresql://$USERNAME:$PASSWORD@$SERVER:$PORT/$DATABASE" line to connect to the db, it should have "?sslmode=disabled" at the end (no space) for anyone running a local docker postgres image.
    Otherwise there will be a "unable to lock ORM: pq: SSL is not enabled on the server" error
    Gam
    @LuckyX2
    Additionally the docs say to set ETH_CHAIN_ID to 3 but my geth image defaulted to 0. Something to be aware of/make note of.
    Gam
    @LuckyX2
    On ropsten btw, I realize the IDs will be different between networks. My ropsten was 0. Started with:
    "docker run --name eth -p 8546:8546 -v ~/.geth-ropsten:/geth -it \
    ethereum/client-go --testnet --ws --ipcdisable \
    --wsaddr 0.0.0.0 --wsorigins="*" --datadir /geth"