Skip to content

Commit

Permalink
Update TIP-133.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danijelthales authored Mar 16, 2023
1 parent 82a1133 commit db7dd99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TIPs/TIP-133.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Due to delays and cost inefficiencies of using Chainlink Node infrastructure, I
## Motivation

Overtime is currently using Chainlink nodes to create markets, update odds and resolve markets. Market creation and resolving are performed only once per market/game, and thus are not a huge cost driver, however, updating odds can take place tens if not hundred of times per market, and can thus drive significant costs.
I estimate that we currently spend 5-10 ETH per chain to run Overtime oracle update.
I estimate that we currently spend 5-10 ETH per chain to run Overtime oracle updates.
Due to these costs, we make compromises on how frequent we ask for latest odds and have thresholds of e.g. only updating the odds when they are changed more than 5% from last written odds to contracts. As our total margin is sometimes less than 5%, this obviously isn't the perfect solution, and the goal is to keep reducing that threshold.

Additionally, each update of odds is delayed at least 15 seconds, which is the minimal time it takes a CL node to respond to a on-demand request. When multiple games need updates simultaniously and calls pile up, the delay can be much larger. This allows for potential frontrunning opportunities.
Expand Down

0 comments on commit db7dd99

Please sign in to comment.