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

Remove State Sync execution step #964

Conversation

vcastellm
Copy link
Contributor

@vcastellm vcastellm commented Nov 25, 2022

Description

Do not execute State Syncs internally from the client

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes

E2E tests are not expected to pass until merging sub-sequent PRs

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have updated the official documentation
  • I have added sufficient documentation in code

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

* Add the RPC endpoint to obtain StateSync Proofs
* Rootchain data to gitignore
* Return the state sync along with proof
* Better params for cluster script
* E2E test executing state syncs
* Fix tests that rely on bundle execution
* Remove commitment execution related stuff
@codecov
Copy link

codecov bot commented Nov 29, 2022

Codecov Report

Merging #964 (17a9cbd) into feature/v3-parity (26663db) will increase coverage by 1.36%.
The diff coverage is 82.35%.

@@                  Coverage Diff                  @@
##           feature/v3-parity     #964      +/-   ##
=====================================================
+ Coverage              53.92%   55.28%   +1.36%     
=====================================================
  Files                    163      167       +4     
  Lines                  21556    22365     +809     
=====================================================
+ Hits                   11623    12365     +742     
- Misses                  8989     9022      +33     
- Partials                 944      978      +34     
Impacted Files Coverage Δ
consensus/polybft/fsm.go 73.97% <ø> (+2.91%) ⬆️
consensus/polybft/state.go 72.63% <ø> (-0.50%) ⬇️
consensus/polybft/consensus_runtime.go 62.76% <80.00%> (+8.69%) ⬆️
jsonrpc/bridge_endpoint.go 100.00% <100.00%> (ø)
consensus/polybft/validator_set.go 70.68% <0.00%> (-29.32%) ⬇️
network/server_discovery.go 74.53% <0.00%> (-7.46%) ⬇️
jsonrpc/eth_endpoint.go 68.14% <0.00%> (-1.85%) ⬇️
consensus/polybft/extra.go 86.29% <0.00%> (-0.36%) ⬇️
state/executor.go 3.36% <0.00%> (-0.29%) ⬇️
jsonrpc/jsonrpc.go 25.53% <0.00%> (ø)
... and 13 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@vcastellm vcastellm merged commit 07ce7e6 into feature/v3-parity Nov 29, 2022
@vcastellm vcastellm deleted the EVM-215-remove-the-state-sync-execution-stage-in-polybft branch November 29, 2022 08:53
@github-actions github-actions bot locked and limited conversation to collaborators Nov 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants