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

feat(api): Make Web3 API server work with pruned data #838

Merged

Conversation

slowli
Copy link
Contributor

@slowli slowli commented Jan 8, 2024

What ❔

Modifies the Web3 API server so that it works with pruned node data during snapshot recovery.

Why ❔

Part of preparations of EN code to support snapshot recovery.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.
  • Spellcheck has been run via cargo spellcheck --cfg=./spellcheck/era.cfg --code 1.

@slowli slowli marked this pull request as ready for review January 10, 2024 12:30
@slowli slowli requested review from popzxc and tomg10 January 10, 2024 12:30
core/lib/types/src/api/mod.rs Outdated Show resolved Hide resolved
core/lib/zksync_core/src/utils/mod.rs Outdated Show resolved Hide resolved
core/lib/zksync_core/src/api_server/web3/state.rs Outdated Show resolved Hide resolved
core/lib/zksync_core/src/utils/mod.rs Outdated Show resolved Hide resolved
@slowli slowli added this pull request to the merge queue Jan 18, 2024
Merged via the queue into main with commit 0b7cd0b Jan 18, 2024
34 checks passed
@slowli slowli deleted the aov-pla-704-snapshot-recovery-make-web3-api-work-with-pruned-data branch January 18, 2024 15:31
@slowli slowli mentioned this pull request Jan 18, 2024
5 tasks
github-merge-queue bot pushed a commit that referenced this pull request Jan 19, 2024
🤖 I have created a release *beep* *boop*
---


##
[20.0.0](core-v19.2.0...core-v20.0.0)
(2024-01-19)


### ⚠ BREAKING CHANGES

* **vm:** fee model updates + 1.4.1
([#791](#791))

### Features

* **api:** Consider State keeper fee model input in the API
([#901](#901))
([3211687](3211687))
* **api:** Make Web3 API server work with pruned data
([#838](#838))
([0b7cd0b](0b7cd0b))
* **vm:** fee model updates + 1.4.1
([#791](#791))
([3564aff](3564aff))


### Bug Fixes

* addresses broken links in preparation for ci link check
([#869](#869))
([a78d03c](a78d03c))
* Incorrect exposing of log indexes
([#896](#896))
([12974fc](12974fc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
github-merge-queue bot pushed a commit that referenced this pull request Jan 29, 2024
🤖 I have created a release *beep* *boop*
---


##
[11.0.0](prover-v10.1.0...prover-v11.0.0)
(2024-01-29)


### ⚠ BREAKING CHANGES

* **vm:** fee model updates + 1.4.1
([#791](#791))

### Features

* **api:** Make Web3 API server work with pruned data
([#838](#838))
([0b7cd0b](0b7cd0b))
* consensus component config for main node and external node
([#881](#881))
([1aed8de](1aed8de))
* **en:** Restore state keeper storage from snapshot
([#885](#885))
([a9553b5](a9553b5))
* fee model updates + 1.4.1 stage upgrade
([#897](#897))
([fa48c13](fa48c13))
* protobuf-generated json configs for the main node (BFT-371)
([#458](#458))
([f938314](f938314))
* Remove zkevm_test_harness public reexport from zksync_types
([#929](#929))
([dd1a35e](dd1a35e))
* **state-keeper:** circuits seal criterion
([#729](#729))
([c4a86bb](c4a86bb))
* **vm:** fee model updates + 1.4.1
([#791](#791))
([3564aff](3564aff))


### Bug Fixes

* address issue with spellchecker not checking against prover workspace
([#855](#855))
([4f55926](4f55926))
* addresses broken links in preparation for ci link check
([#869](#869))
([a78d03c](a78d03c))
* **prover:** Update shivini
([#915](#915))
([f141a00](f141a00))
* **witness-generator:** Update era-zkevm_test_harness
([#912](#912))
([c03c2e3](c03c2e3))
* **witness-generator:** Update zkevm_test_harness
([#930](#930))
([16fdcff](16fdcff))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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

2 participants