fix: bscgas property
This commit is contained in:
parent
bb58318b6f
commit
a508e41652
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gas-price-oracle",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"description": "Gas Price Oracle library for Ethereum dApps.",
|
||||
"main": "lib/index.js",
|
||||
"homepage": "https://github.com/peppersec/gas-price-oracle",
|
||||
|
@ -3,7 +3,7 @@ import { OffChainOracle, OffChainOracles, OnChainOracles } from '../types';
|
||||
const bscgas: OffChainOracle = {
|
||||
name: 'bscgas',
|
||||
url: 'https://bscgas.info/gas',
|
||||
instantPropertyName: 'imediate',
|
||||
instantPropertyName: 'instant',
|
||||
fastPropertyName: 'fast',
|
||||
standardPropertyName: 'standard',
|
||||
lowPropertyName: 'slow',
|
||||
|
@ -207,9 +207,6 @@ describe('fetchMedianGasPriceOffChain', function () {
|
||||
|
||||
describe('askOracle', function () {
|
||||
it('all oracles should answer', async function () {
|
||||
// TODO: remove after fix POA
|
||||
delete offChainOracles['poa'];
|
||||
|
||||
for (const o of Object.values(offChainOracles) as Array<OffChainOracle>) {
|
||||
try {
|
||||
const gas: GasPrice = await oracle.askOracle(o);
|
||||
|
Loading…
Reference in New Issue
Block a user