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

Update stable cadence feature branch #5290

Merged
merged 340 commits into from
Jan 25, 2024

Conversation

turbolent
Copy link
Member

@turbolent turbolent commented Jan 25, 2024

#5285 + #5289 by @SupunS and @joshuahannan + some more updates and fixes.

Uses onflow/flow-emulator#552 for integration tests

Tarak Ben Youssef and others added 30 commits December 12, 2023 15:42
This change replaces hash-based validation of Cadence values
in order to prepare for atree inlining to be incorporated
into the migration program.

Also added validate flag to enable validation during migration
since enabling validation can increase duration of migration.
Added flag --log-verbose-validation-error to enable logging of entire
Cadence values on validation error during atree migration.
This is a temporary (and inefficient) workaround to check number
of fields in Cadence CompositeValue.

In the future, CompositeValue.FieldCount() will be added to
Cadence, so that function can be used to improve this workaround.
…e-value-validation

Replace hash-based validation of migrated Cadence values to use `Equal()`
# Conflicts:
#	fvm/evm/types/events.go
@codecov-commenter
Copy link

codecov-commenter commented Jan 25, 2024

Codecov Report

Attention: 223 lines in your changes are missing coverage. Please review.

Comparison is base (5304857) 55.62% compared to head (ae016e6) 49.85%.

Files Patch % Lines
...dule/metrics/gossipsub_rpc_validation_inspector.go 0.00% 199 Missing ⚠️
module/metrics/noop.go 0.00% 18 Missing ⚠️
module/metrics/execution.go 0.00% 5 Missing ⚠️
module/epochs/qc_client.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##           feature/stable-cadence    #5290      +/-   ##
==========================================================
- Coverage                   55.62%   49.85%   -5.78%     
==========================================================
  Files                         995      190     -805     
  Lines                       95196    17043   -78153     
==========================================================
- Hits                        52954     8497   -44457     
+ Misses                      38264     7955   -30309     
+ Partials                     3978      591    -3387     
Flag Coverage Δ
unittests 49.85% <0.44%> (-5.78%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@SupunS SupunS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 👏

@turbolent
Copy link
Member Author

Lots of unit tests are still failing, because the new required Burner contract isn't getting deployed during bootstrapping. @joshuahannan once we know if it's integrated or not, I can add it (or not)

@turbolent turbolent requested review from dsainati1 and a team January 25, 2024 21:26
@turbolent turbolent merged commit a6e8ebc into feature/stable-cadence Jan 25, 2024
50 of 51 checks passed
@turbolent turbolent deleted the bastian/stable-cadence-update branch January 25, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.