UMAprotocol / protocol

UMA Protocol Running on Ethereum
https://uma.xyz
GNU Affero General Public License v3.0
361 stars 175 forks source link

feat: impose gas usage limit for automated osnap execution #4677

Closed Reinis-FRP closed 6 months ago

Reinis-FRP commented 6 months ago

Motivation

Manage gas consumption of oSnap execution bot.

Summary

Impose upper limit to gas usage (per proposal) when automatically executing oSnap proposals (defaults to 500k).

Testing

Check a box to describe how you tested these changes and list the steps for reviewers to test.

Issue(s)

Fixes https://linear.app/uma/issue/UMA-2094/add-gas-limit-to-osnap-transactions-that-we-execute

linear[bot] commented 6 months ago

UMA-2094 Add gas limit to oSnap transactions that we execute