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

Private contract state extension #1030

Merged
merged 1,530 commits into from
Jul 11, 2020
Merged

Private contract state extension #1030

merged 1,530 commits into from
Jul 11, 2020

Conversation

vsmk98
Copy link
Contributor

@vsmk98 vsmk98 commented Jul 6, 2020

Once a private contract is deployed, it is only available on the nodes where it was initially deployed. Any nodes which are not part of initial contract deployment or new nodes joining the network will not have access to private contract. This PR addresses this issue and allows contract state to be extended to nodes that were not part of original contract deployment.

amalraj.manigmail.com and others added 30 commits November 19, 2019 18:10
currently performed.
Move package-wide type and variable definitions into own file for
clearer viewing.
to the Raft service. This means we no longer need to wait for it to be
provided by the node, and can make the construction of the extension
service more synchronous.
bindings. This acts as a mediator between the API code and the generated
code, to only expose and simplify the interactions.

Move the loading of existing management contracts into constructor
instead of initialiser.
transactions for the extension.

Remove last direct use of creating a contract instance.
manage its own dependencies and make the code more testable.
Update API to show whether a particular node has voted on a contract or
not.
@vsmk98 vsmk98 requested review from trung and jpmsam July 6, 2020 13:31
@vsmk98 vsmk98 changed the title State extension Private contract state extension Jul 6, 2020
Copy link
Contributor

@trung trung left a comment

Choose a reason for hiding this comment

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

LGTM

@jpmsam jpmsam merged commit a6dc426 into master Jul 11, 2020
@antonydenyer antonydenyer deleted the state-extension branch January 20, 2022 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants