Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • tezos tezos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,213
    • Issues 1,213
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 184
    • Merge requests 184
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tezos
  • tezostezos
  • Merge requests
  • !3722

Move the preapply RPC's backend to the validator process

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged vbot requested to merge nomadic-labs/tezos:vbot@preapply-in-rw into master Oct 26, 2021
  • Overview 21
  • Commits 2
  • Pipelines 8
  • Changes 37

Context

This MR moves the preapply to the validator process. This MR also contains necessary refactoring that harmonizes the Block_validation API. This allows the shell to cache the preapplication result in order to only commit when validating the same block. The resulting effect is that it divides by (roughly) 2 the time spent preapplying then validating a same block. In particular, this is the case for migration blocks that are baked by the node. This is necessary for Hangzhou's migration which will be highly time consuming.

Edited Oct 27, 2021 by vbot
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: vbot@preapply-in-rw