Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 16 21:09
    aelmanaa edited #105
  • Jun 16 21:09
    aelmanaa edited #105
  • Jun 16 09:54
    aelmanaa opened #105
  • Jun 15 10:08
    nft1126 commented #100
  • Jun 15 10:02
    lhoenig commented #100
  • Jun 15 09:58
    nft1126 commented #100
  • Jun 08 15:07
    lhoenig commented #100
  • Jun 08 14:52
    nft1126 commented #100
  • Jun 08 14:34
    lhoenig commented #100
  • Jun 08 14:34
    lhoenig commented #100
  • Jun 08 14:13
    nft1126 commented #100
  • May 13 21:53
    lhoenig commented #100
  • May 13 18:37
    citizen-stig commented #99
  • May 12 14:11
    lhoenig commented #100
  • Apr 02 13:07
    cTatu commented #103
  • Mar 11 09:31
    gskapka commented #78
  • Feb 12 13:08
    ytrezq commented #78
  • Feb 12 02:41
    ytrezq opened #104
  • Feb 09 05:47
    kroos47 commented #103
  • Feb 04 09:55
    kroos47 commented #103
Alex Waggoner
@alexwagg
Hello oraclize team, is the gas price ALWAYS set to 20 gwei unless changed using setCustomGasPrice from the calling contract?
Thank you for the help!
Karen
@thekscar
I just got my first Oracle to work with Ethereum!! 🎉🎊💃🏻
Oraclize Support
@oraclize-support
@splut it should be more appropriately referred to as a rebate, which may lessen your gas used amount, but will never net you a positive sum. In this case, yes, Oraclize is technically being affected by the rebate, as it's the one doing the call.
@alexwagg that is the default under normal network conditions, we have elected to increase it at times to 40 gwei or so, when network congestion has gotten really bad. We are implementing some better systems so we don't have to do this, and leave the responsibility completely up to users within their smart contracts, to ensure correct gas prices for the current network conditions.
@kds0718 awesome, glad you're giving us a try and hope we do well :)
Alchemist Ethorseteam
@0xa1ch3mist_twitter
@rffl can you provide more details about that library ?
Jitendra Chittoda
@jchittoda
@oraclize-support From where I can take latest version of Oraclize solidity API ?
Where is the above file ?
prashn64
@prashn64
@oraclize-support did native header support ever get added to solidity so we can use it in oracalize? I heard it was a few weeks out back in April.
Oraclize Support
@oraclize-support
@prashn64 not yet as part of the URL datasource, but it can be trivially done via the computation datasource (by doing the request with custom headers from within the execution script)
Jitendra Chittoda
@jchittoda
Is that the latest one ?
Oraclize Support
@oraclize-support
@jchittoda 0.5 targets solidity 0.4.8+ , so yes you can use that one!
Jitendra Chittoda
@jchittoda
Yes, its version in the code is ^0.4.18
We are also using the same version of code, so that would be good
Thanks we will use the 0.5 code
Also I have a suggestion, where should I give it ??
Oraclize Support
@oraclize-support
@jchittoda sorry I mean 0.4.18+ indeed. You can give it here, open an issue on github or send us an email ( info@oraclize.it )
Jitendra Chittoda
@jchittoda
@oraclize-support Thanks I have opened an issue oraclize/ethereum-api#35
Shubham Singh
@imshubhamsingh

can anybody tell me why this contact is not workin ```pragma solidity ^0.4.11;
import "github.com/oraclize/ethereum-api/oraclizeAPI.sol";

contract ExampleContract is usingOraclize {

string public EURGBP;
event LogPriceUpdated(string price);
event LogNewOraclizeQuery(string description);

function ExampleContract() payable {
    updatePrice();
}

function __callback(bytes32 myid, string result) {
    if (msg.sender != oraclize_cbAddress()) throw;
    EURGBP = result;
    LogPriceUpdated(result);
}

function updatePrice() payable {
    if (oraclize_getPrice("URL") > this.balance) {
        LogNewOraclizeQuery("Oraclize query was NOT sent, please add some ETH to cover for the query fee");
    } else {
        LogNewOraclizeQuery("Oraclize query was sent, standing by for the answer..");
        oraclize_query("URL", "json(http://api.fixer.io/latest?symbols=USD,GBP).rates.GBP");
    }
}

}```

Shubham Singh
@imshubhamsingh
@oraclize-support I've deployed the above contract on ropsten network, but the callback function from oracalize is not sending the response back to the contract.
Oraclize Support
@oraclize-support
@imshubhamsingh we have been experiencing some issues on ropsten recently, if you could try on a different test network this might help, in the meantime I will report this internally and we will investigate
Shubham Singh
@imshubhamsingh
@oraclize-support thanks for letting me know.
rffl
@rffl
things must be significantly delayed on ropsten. . .
eg. https://ropsten.etherscan.io/address/0xf6185c99b08d24130efa6b4d7139ff97b44b75d5#internaltx looks like the last 5 queries were done over the past 3 days, and 5 callbacks for this address just showed up now
Alex Waggoner
@alexwagg
@oraclize-support just a follow up to this: "@alexwagg that is the default under normal network conditions, we have elected to increase it at times to 40 gwei or so, when network congestion has gotten really bad. We are implementing some better systems so we don't have to do this, and leave the responsibility completely up to users within their smart contracts, to ensure correct gas prices for the current network conditions."
How do I recover what the default gas is set to?
Is there a way I can get the current default gas price (currently 20gwei)?
rffl
@rffl
@oraclize-support anyway we can get the outstanding ropsten transactions through? Looks like there hasn't been a callback in 1h 20 mins, and the backlog appears to have original requests around block 2538541 . . . so still about ~100 outstanding (last 12 hours or so)
Oraclize Support
@oraclize-support
@rffl I can confirm that we are experiencing issue on ropsten, unfortunately on testnets we cannot guarantee the same service reliability that we offer on mainnet. For now ropsten is experiencing slowdowns, we suggest to use kovan instead, we will give an update here when ropsten is back to normal! Thanks for your understanding
@alexwagg we will expose this very soon, in the meantime if you want to handle that yourself, you can leverage oraclize_setGasPrice and set your own
Đulijano Nola
@micronola_twitter
@oraclize-support I would like use Oraclize to call Twitter API method that return single status based on id (https://api.twitter.com/1.1/statuses/show/{id}.json). Method need oauth. Since it is a GET method I have to put access token from my TW app in header of the request. Is it possible to do it using URL data source? If not, how to do it in most elegant way :smile:
Oraclize Support
@oraclize-support
@micronola_twitter you can do it by using the computation datasource! Just craft your request in the way you like and run it :)
Đulijano Nola
@micronola_twitter
@oraclize-support thanks but I need simple solution that does not incude any additional party between smart contract and twitter API. One is enough two is too much. I'm going back to direct url with xpath and regex
Oraclize Support
@oraclize-support
@micronola_twitter as you wish, but thanks to authenticity proofs the delivery is authenticated and there is no need to trust the operator, so the open trustlines don't change
Karen
@thekscar
I'm trying to run the update() function on usingOraclize, my UI updates as expected with the correct value, but the transaction on Rinkeby says the transaction receipt status failed...super confused? How am I able to get the value if the transaction receipt failed?
Karen
@thekscar
Wait nevermind, I think I see what I did
Karen
@thekscar
Ok, actually still having issues. I can tell my update() function worked on creation because I am able to grab the data in the variable that it was stored. But now, if I call update() the transaction keeps failing on RInkeby - any ideas? It's like it's not initiating the _callback()
Karen
@thekscar
Ok, nevermind, figured it out again :)
Alex Waggoner
@alexwagg
@oraclize-support thank you for the help! Do you guys have some sort of mailing list so I can get notified of any updates to Oraclize?
aflorom
@aflorom
Hi! I want to use Oraclize for generating a random number but I am not sure how to use Oraclize in this case. I have seen some functions about generate random number in oraclize contract on github but I don´t know which is the exact function which returns the random number. Thank you guys!
Oraclize Support
@oraclize-support
@alexwagg you can follow us on Twitter for updates, our handle is @oraclizeit
aflorom
@aflorom
Thanks!!
And nowadays I have to use oraclizeAPI_0.4.sol. Is it correct?
Oraclize Support
@oraclize-support
@aflorom 0.5.0 can be used as well, that one is compatible with solc 0.4.18+