UMAprotocol / protocol

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

feat: add tenderly types and api call #4684

Closed daywiss closed 5 months ago

daywiss commented 5 months ago

Motivation

We are adding a serverless call to tenderly for osnap simulations. We are building on thet boilerplate added recently.

Summary

This adds in the actual backend call to tenderly when taking an oSnap space ( which includes proposed transactions ) and converting it into a simulation call to tenderly. This does not do any state updates yet, we will add that in and test in next PR. The result of this is a simulation ID which can be linked to on the frontend and if the sim failed or not.

Testing

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

linear[bot] commented 5 months ago

UMA-2164 build serverless call for tenderly