-
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
Update Stable Cadence feature branch #5472
Update Stable Cadence feature branch #5472
Conversation
This commit also added --allow-partial-state-from-payload-file flag to execution-state-extract program. User needs to specify this flag allow partial payload file as input (e.g. not all accounts) in order to prevent accidental use of partial state during real migration. The primary use case for payload file is for development, testing, and debugging of migrations because it allows migrating a subset of payloads instead of all payloads.
[Access] Sort events returned from index in tx index order
…ling Improve account migration error handling
[Access] Sort events returned from index in tx index order - backport
Add version, partial state indicator, and checksum to payload file (intermediate migration file)
…ress-zero-for-deployment [Flow EVM] return empty string when deployed address is empty
…hash-nonce [Flow EVM] make EVM address' code/codeHash/nonce accessible
flagAllowPartialStateFromPayloads bool | ||
flagLogVerboseValidationError bool | ||
flagStagedContractsFile string |
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.
Conflict resolution 1 - kept both flags
cause := context.Cause(ctx) | ||
if cause != nil { | ||
err = cause | ||
} | ||
|
||
return nil, fmt.Errorf("failed to migrate payload: %w", err) |
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.
conflict resolution
assert.Equal(t, evt.Type().ID(), "evm.TransactionExecuted") | ||
|
||
location, qualifiedIdentifier, err := cdcCommon.DecodeTypeID(nil, "evm.BlockExecuted") | ||
location, qualifiedIdentifier, err := cdcCommon.DecodeTypeID(nil, "evm.TransactionExecuted") |
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.
Conflict resolution
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/stable-cadence #5472 +/- ##
==========================================================
+ Coverage 56.14% 56.22% +0.08%
==========================================================
Files 1039 1039
Lines 101079 101283 +204
==========================================================
+ Hits 56752 56948 +196
- Misses 40019 40020 +1
- Partials 4308 4315 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Updates the stable cadence branch with the latest changes of the master. Resolved conflicts are flagged with comments.