-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(contract-distribution): Move sending contract accesses to Partia…
…lWitnessActor (#12389) Currently the contract accesses are sent by client actor and witness and contract deploys are sent by PartialWitnessActor. This PR addresses a TODO to also move the sending of contract accesses to PartialWitnessActor to gather all the logic in the same place. In this way, it is clearer the order of sending contract accesses, witness, and deployments, and all managed in the same function. We also get and pass the ordered chunk validators to different functions to send messages to the validators. TODO: Testing will likely be done in a follow-up PR, as I am still figuring out the best way to test it. Currently relying on the existing testloop tests for contract distribution.
- Loading branch information
1 parent
eea3d61
commit 38d7e05
Showing
3 changed files
with
85 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters