packages/automation-witness-server/src/Witnesses/getEthereumGasWitness.ts
Function getEthereumGasWitness
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
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 },