Polimec / polimec-node

Decentralized community-driven funding protocol for Web3
https://www.polimec.org/
GNU General Public License v3.0
12 stars 4 forks source link

😎 Runtime APIs #354

Closed JuaniRios closed 2 months ago

JuaniRios commented 2 months ago

What?

Why?

Complex querying and calculations are done better in Rust with the full on-chain data and types than in Javascript on the front-end

Testing?

Anything Else?

To get an overview of the main changes, check out runtime_api.rs on /src and on /tests folders, as well as the new tests.rs file on the instantiator, where I test the new functions.

The rest of the changed files should be more about reflecting the changes of the instantiator functions

JuaniRios commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JuaniRios and the rest of your teammates on Graphite Graphite