update onchain oracle
This commit is contained in:
parent
5c28cc6025
commit
c24202608e
@ -44,7 +44,7 @@ const poa: OffChainOracle = {
|
||||
const chainlink: OnChainOracle = {
|
||||
name: 'chainlink',
|
||||
callData: '0x50d25bcd',
|
||||
contract: '0xA417221ef64b1549575C977764E651c9FAB50141',
|
||||
contract: '0x169E633A2D1E6c10dD91238Ba11c4A708dfEF37C',
|
||||
denominator: '1000000000'
|
||||
};
|
||||
|
||||
|
@ -51,7 +51,6 @@ describe('fetchGasPricesOffChain', function () {
|
||||
describe('fetchGasPricesOnChain', function () {
|
||||
it('should work', async function () {
|
||||
const gas: number = await oracle.fetchGasPricesOnChain();
|
||||
|
||||
gas.should.be.a('number');
|
||||
gas.should.be.above(1);
|
||||
gas.should.not.be.equal(0);
|
||||
|
Loading…
Reference in New Issue
Block a user