Zilliqa / scilla

Scilla - A Smart Contract Intermediate Level Language
https://scilla-lang.org
GNU General Public License v3.0
241 stars 77 forks source link

Remote read immutables #1220

Open jjcnn opened 1 year ago

jjcnn commented 1 year ago

This PR implements remote reads of contract parameters.

Coupled with https://github.com/Zilliqa/Zilliqa/pull/3337. The two PRs cannot work separatedly, and must be tested and released together.

Fixes #1035.

jjcnn commented 1 year ago

I am marking this ready for review, though the listed issues are still outstanding.

@jubnzv: Some of these issues relate to the utilities you have written, so there's a good chance you'll be able to deal with them. They can be handled in a separate PR, though.

Open issues:

LevelDB migration:

Design decisions that may need to be kept in mind:

jjcnn commented 1 year ago

Please remember that this PR should not be merged until https://github.com/Zilliqa/Zilliqa/pull/3337 is also ready to be merged.

jubnzv commented 1 year ago

To summarize the remaining tasks:

I suggest to consider the Cashflow module as deprecated, because it is not used, and it already has some unimplemented features. For example, it doesn't support procedures with return types.

At the moment I think it will be a good idea to push all the new changes in this branch, without creating separate PRs, since we don't have reviewers for Scilla.