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

[Access] Add support for executing scripts across HCU boundaries on a single AN #6431

Open
1 task
peterargue opened this issue Sep 3, 2024 · 0 comments
Open
1 task

Comments

@peterargue
Copy link
Contributor

peterargue commented Sep 3, 2024

Problem Definition

From time to time, the version of cadence or FVM need to be upgraded to address security issues, or add new functionality. When this happens, all nodes interacting with execution state (Execution, verification and access nodes) perform what's call a "Height Coordinated Upgrade" to synchronize updating to the new version at the same block height. This ensures that transactions and scripts produce the same result on all nodes.

Currently, Access nodes can run a single version of cadence/FVM for use by script execution. This is fine for executing against the latest block, but poses problems for archival nodes that want to serve queries for previous blocks that cross HCU boundaries. The only way to address this today is to run a separate node for each range of blocks between HCUs, that's running the correct software versions, but this creates operational challenges.

Proposed Solution

Add support for executing script against different cadence/FVM versions on a single node.

Tasks

  1. Preserve S-Access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant