Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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);
|
||||
|
||||
Reference in New Issue
Block a user