Skip to content

Commit

Permalink
Tasks: Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Facu Spagnuolo <[email protected]>
  • Loading branch information
PatricioHenderson and facuspagnuolo authored Oct 24, 2023
1 parent c9de5cc commit 1050f1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ type TaskConfig @entity{
task: Task!
nextBalanceConnector: String!
previousBalanceConnector: String!
gasLimits: GasLimits!
gasLimits: GasLimits
timeLockDelay: BigInt!
timeLockExecutionPeriod: BigInt!
timeLockExpiration: BigInt!
Expand Down
1 change: 1 addition & 0 deletions src/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ export function loadOrCreateGasLimits(gasPriceLimitsId: string): GasLimits {
gasLimits.priorityFeeLimit = BigInt.zero()
gasLimits.txCostLimitPct = BigInt.zero()
gasLimits.txCostLimit = BigInt.zero()
gasLimits.save()
}

return gasLimits
Expand Down

0 comments on commit 1050f1f

Please sign in to comment.