-
Notifications
You must be signed in to change notification settings - Fork 49
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
Allow configuration of blockchain's interpreter runtime #476
Allow configuration of blockchain's interpreter runtime #476
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #476 +/- ##
==========================================
+ Coverage 55.00% 55.03% +0.03%
==========================================
Files 28 28
Lines 3620 3632 +12
==========================================
+ Hits 1991 1999 +8
- Misses 1470 1474 +4
Partials 159 159
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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.
Nice!
I also came across a bug, which I have fixed here: cd45777 |
cd45777
to
5566481
Compare
Is the injection via |
…ader We also rename Blockchain's newFVMContextFromHeader() to setFVMContextFromHeader()
We also update Blockchain.GetSourceFile() to use the Blockchain.NewScriptEnvironment() method.
e15a79d
to
3be569a
Compare
@janezpodhostnik Very good point 👏 |
Work towards: onflow/cadence-tools#210
Description
Also expose a public method for creating script environments based on blockchain's ledger state.
These utility functions facilitate the usage of emulator's blockchain, as a library for 3rd party tools (e.g.
cadence-tools/test
).For contributor use:
master
branchFiles changed
in the GitHub PR explorer