Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract map storage & Scilla IPC #1743

Merged
merged 155 commits into from Sep 5, 2019
Merged

Contract map storage & Scilla IPC #1743

merged 155 commits into from Sep 5, 2019

Conversation

kaikawaliu
Copy link
Contributor

@kaikawaliu kaikawaliu commented Jul 30, 2019

Description

This PR introduced a new contract storage method for the need of large map updating in contract. At meantime, a new way of interaction between scilla binaries from blockchain perspective via IPC communication.
Breaking change happens for the account and contract storage related data structure and JSON API contract states.

Backward Compatibility

  • This is not a breaking change
  • This is a breaking change

Review Suggestion

Status

Implementation

  • ready for review

Integration Test (Core Team)

  • local machine test
  • small-scale cloud test

kaikawaliu and others added 30 commits June 14, 2019 17:09
of the server in https://github.com/Zilliqa/ipc-experiment.

The unit tests have been disabled and need to be added thoroughly later.
Copy link
Contributor

@Gnnng Gnnng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider changing the base scilla image in Dockerfiles to v0.4.0-alpha.0

constants.xml Outdated Show resolved Hide resolved
@kaikawaliu kaikawaliu added Ready Ready for review and removed in-progress labels Sep 5, 2019
@codecov-io
Copy link

codecov-io commented Sep 5, 2019

Codecov Report

Merging #1743 into master will decrease coverage by 2.29%.
The diff coverage is 40.64%.

@@            Coverage Diff            @@
##           master    #1743     +/-   ##
=========================================
- Coverage   33.75%   31.45%   -2.3%     
=========================================
  Files         274      278      +4     
  Lines       33750    36435   +2685     
=========================================
+ Hits        11391    11460     +69     
- Misses      22359    24975   +2616
Impacted Files Coverage Δ
src/libServer/StatusServer.cpp 0% <ø> (ø) ⬆️
src/libData/AccountData/AccountStoreSC.h 100% <ø> (ø) ⬆️
src/libPersistence/ContractStorage.h 0% <ø> (-100%) ⬇️
src/common/Constants.h 100% <ø> (ø) ⬆️
src/libData/AccountData/TransactionReceipt.h 87.5% <ø> (ø) ⬆️
src/libData/AccountData/AccountStore.h 87.5% <ø> (-12.5%) ⬇️
src/libPersistence/Retriever.cpp 0% <0%> (ø) ⬆️
src/libData/AccountData/Account.cpp 15.07% <0%> (-71.73%) ⬇️
...c/libDirectoryService/FinalBlockPostProcessing.cpp 0% <0%> (ø) ⬆️
src/libPersistence/BlockStorage.cpp 25.96% <0%> (-1.52%) ⬇️
... and 56 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d5cf552...178038c. Read the comment docs.

Core automation moved this from PRs needing review to PRs approved - ready to merge! Sep 5, 2019
@ansnunez ansnunez merged commit cba609c into master Sep 5, 2019
Core automation moved this from PRs approved - ready to merge! to PRs done (merged) Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready Ready for review
Projects
Core
  
PRs done (merged)
Development

Successfully merging this pull request may close these issues.

None yet

10 participants