-
Notifications
You must be signed in to change notification settings - Fork 138
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
Sync Stable Cadence feature branch #2755
Sync Stable Cadence feature branch #2755
Conversation
This matcher function asserts that the result of an executed operation, such as scripts and transactions, resulted in an error that contains a given sub-string.
…vements Cadence testing framework improvements
Currently, error message can include invalid UTF-8 when it shows content of actualPrefix (user input). This commit hex encodes actualPrefix in the error message.
…utf8-in-error-message Hex encode user input in error to avoid invalid UTF-8
Introduce `filter` in Fixed/Variable sized Array types
Update randomness runtime interface method
…lity Add a utility method to the `Test.Blockchain` struct for moving the blockchain time
…kward Allow `moveTime` function to accept negative time deltas for going backwards in time
Add test for inner container mutation while iterating outer
…to sema type to get type ID
This method is used to create a new emulator backend, each time a developer calls Test.newEmulatorBlockchain(). Up to this point, one and the same emulator backend was used, which meant that there was no way to reset state.
…backend Add the `NewEmulatorBackend` method on `TestFramework` interface
…nterface-static-types
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:feature/stable-cadence commit 4b99c6f Collapsed results for better readability
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## feature/stable-cadence #2755 +/- ##
==========================================================
+ Coverage 79.26% 79.33% +0.07%
==========================================================
Files 337 337
Lines 80392 80822 +430
==========================================================
+ Hits 63719 64117 +398
- Misses 14375 14397 +22
- Partials 2298 2308 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Conflict resolution:
➡️ https://gist.github.com/turbolent/404b8cf11ce921b965424d426ecea6a7
Quite a few conflicts, and I had to add some code. Noteworthy:
Type
#2750 introducedStaticType.ID
, so I had to addinterpreter.IntersectionStaticType.ID
, andinterpreter.Authorization.ID
forinterpreter.ReferenceStaticType.ID
:https://gist.github.com/turbolent/404b8cf11ce921b965424d426ecea6a7#file-2931c18a49ea94c087f2a92e8304ce053ed4563c-diff-L756-L770
ReferenceType
type constructor is already defined, the removed code https://gist.github.com/turbolent/404b8cf11ce921b965424d426ecea6a7#file-2931c18a49ea94c087f2a92e8304ce053ed4563c-diff-L673 was not necessarymaster
branchFiles changed
in the Github PR explorer