-
Notifications
You must be signed in to change notification settings - Fork 179
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] Script execution engine interface changes #4668
[Access] Script execution engine interface changes #4668
Conversation
…ger as it doesn't need it
FVM Benchstat comparisonThis branch with compared with the base branch onflow:master commit 5f9c8a0 The command Collapsed results for better readability
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #4668 +/- ##
==========================================
- Coverage 56.25% 54.55% -1.70%
==========================================
Files 653 917 +264
Lines 64699 85898 +21199
==========================================
+ Hits 36396 46862 +10466
- Misses 25362 35439 +10077
- Partials 2941 3597 +656
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
"github.com/onflow/flow-go/model/flow" | ||
"github.com/onflow/flow-go/state/protocol" | ||
) | ||
|
||
// ScriptExecutionState is a subset of the `state.ExecutionState` interface purposed to only access the state | ||
// used for script execution and not mutate the execution state of the blockchain. | ||
type ScriptExecutionState interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the ScriptExecutionState
should go here . And since it's a subset of ReadOnlyExecutionState
, we could make ReadOnlyExecutionState
extends from ScriptExecutionState
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this was automatically merged. Here's another PR that makes those changes. #4685
Closes: #4666
This PR makes sure the types used by the script execution engine are optimized so this can be reused on the access node for script execution.