update onchain oracle

This commit is contained in:
Roman Storm 2020-08-11 17:36:37 -07:00
parent 5c28cc6025
commit c24202608e
No known key found for this signature in database
GPG Key ID: 522F2A785F34E71F
2 changed files with 1 additions and 2 deletions

@ -44,7 +44,7 @@ const poa: OffChainOracle = {
const chainlink: OnChainOracle = { const chainlink: OnChainOracle = {
name: 'chainlink', name: 'chainlink',
callData: '0x50d25bcd', callData: '0x50d25bcd',
contract: '0xA417221ef64b1549575C977764E651c9FAB50141', contract: '0x169E633A2D1E6c10dD91238Ba11c4A708dfEF37C',
denominator: '1000000000' denominator: '1000000000'
}; };

@ -51,7 +51,6 @@ describe('fetchGasPricesOffChain', function () {
describe('fetchGasPricesOnChain', function () { describe('fetchGasPricesOnChain', function () {
it('should work', async function () { it('should work', async function () {
const gas: number = await oracle.fetchGasPricesOnChain(); const gas: number = await oracle.fetchGasPricesOnChain();
gas.should.be.a('number'); gas.should.be.a('number');
gas.should.be.above(1); gas.should.be.above(1);
gas.should.not.be.equal(0); gas.should.not.be.equal(0);