Skip to content

Commit

Permalink
Merge pull request #897 from XYOracleNetwork/feature/deprecate-ethgas…
Browse files Browse the repository at this point in the history
…station-witness

Deprecate Gas Witness
  • Loading branch information
JoelBCarter authored Jul 27, 2023
2 parents 02f0dcc + 0cfd621 commit 1d70a28
Show file tree
Hide file tree
Showing 23 changed files with 2 additions and 449 deletions.
1 change: 0 additions & 1 deletion packages/automation-witness-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"@xyo-network/etherchain-ethereum-gas-v2-plugin": "workspace:~",
"@xyo-network/ethers-ethereum-gas-plugin": "workspace:~",
"@xyo-network/etherscan-ethereum-gas-plugin": "workspace:~",
"@xyo-network/ethgasstation-ethereum-gas-plugin": "workspace:~",
"@xyo-network/gas-price-payload-plugin": "workspace:~",
"@xyo-network/gas-price-plugin": "workspace:~",
"@xyo-network/http-bridge": "workspace:~",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { EthereumGasBlocknativeWitness, EthereumGasBlocknativeWitnessConfigSchem
import { EtherchainEthereumGasWitnessV2, EthereumGasEtherchainV2WitnessConfigSchema } from '@xyo-network/etherchain-ethereum-gas-v2-plugin'
import { EthereumGasEthersWitness, EthereumGasEthersWitnessConfigSchema } from '@xyo-network/ethers-ethereum-gas-plugin'
import { EthereumGasEtherscanWitness, EthereumGasEtherscanWitnessConfigSchema } from '@xyo-network/etherscan-ethereum-gas-plugin'
import { EthereumGasEthgasstationWitness, EthereumGasEthgasstationWitnessConfigSchema } from '@xyo-network/ethgasstation-ethereum-gas-plugin'
import { WitnessInstance } from '@xyo-network/witness'

import { getAccount, WalletPaths } from '../Account'
Expand Down Expand Up @@ -31,12 +30,6 @@ export const getEthereumGasWitness: WitnessProvider<Provider> = async (provider
},
provider,
}),
await EthereumGasEthgasstationWitness.create({
account: await getAccount(WalletPaths.EthereumGas.Witness.Ethgasstation),
config: {
schema: EthereumGasEthgasstationWitnessConfigSchema,
},
}),
]
if (canUseEtherscanProvider()) {
const apiKey = getEtherscanProviderConfig()
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1d70a28

Please sign in to comment.