Add and modify instantiator functions to make the testing easier
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?
New file inside test folder "runtime_api.rs"
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
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