XYOracleNetwork/clients

View on GitHub
packages/automation-witness-server/src/Witnesses/getEthereumGasWitness.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getEthereumGasWitness has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const getEthereumGasWitness: WitnessProvider<Provider> = async (provider = getProvider()): Promise<AttachableWitnessInstance[]> => {
  const witnesses: AttachableWitnessInstance[] = [
    await EthereumGasBlocknativeWitness.create({
      account: await getAccount(WalletPaths.EthereumGas.Witness.Blocknative),
      config: { schema: EthereumGasBlocknativeWitnessConfigSchema },

    There are no issues that match your filters.

    Category
    Status