Polimec / polimec-node

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

🗑️ Scrap Async Instantiation #310

Closed JuaniRios closed 5 months ago

JuaniRios commented 5 months ago

What?

Why?

How?

JuaniRios commented 5 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

JuaniRios commented 5 months ago

Love every piece of code simplification! I was wondering about the whole RefCell setup. I can vaguely remember that it was needed for the Async feature with different execution environments? I was wondering if we could change this RefCell implementation now, as we do not require the std execution environment anymore? I might be completely mistaken, but just a general question.

RefCell is there for tests, since we need to setup the mock externalities manually. We use "std" because is needed in both tests and benchmark tests, but cannot be included in the wasm runtime