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

Migrate data trie fix #5849

Merged
merged 11 commits into from Jan 25, 2024
Merged

Migrate data trie fix #5849

merged 11 commits into from Jan 25, 2024

Conversation

BeniaminDrasovean
Copy link
Contributor

Reasoning behind the pull request

Proposed changes

Testing procedure

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@BeniaminDrasovean BeniaminDrasovean changed the base branch from master to update-master-rc-sirius-patch-2-2023.01.17 January 18, 2024 11:17
Copy link

codecov bot commented Jan 18, 2024

Codecov Report

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

Comparison is base (4cea6b5) 80.19% compared to head (8fb567d) 80.18%.

Files Patch % Lines
state/trackableDataTrie/trackableDataTrie.go 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##           rc/sirius-patch-2    #5849      +/-   ##
=====================================================
- Coverage              80.19%   80.18%   -0.02%     
=====================================================
  Files                    709      709              
  Lines                  94128    94131       +3     
=====================================================
- Hits                   75490    75482       -8     
- Misses                 13292    13300       +8     
- Partials                5346     5349       +3     

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

AdoAdoAdo
AdoAdoAdo previously approved these changes Jan 18, 2024
go.mod Outdated
@@ -20,7 +20,7 @@ require (
github.com/multiversx/mx-chain-logger-go v1.0.13
github.com/multiversx/mx-chain-scenario-go v1.2.1
github.com/multiversx/mx-chain-storage-go v1.0.14
github.com/multiversx/mx-chain-vm-common-go v1.5.10
github.com/multiversx/mx-chain-vm-common-go v1.5.11-0.20240118090210-c70b5a1381ed
Copy link
Contributor

Choose a reason for hiding this comment

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

let's not forget about the proper release

dataEntry := dirtyData{
value: leafData.Value,
value: val,
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

state/accountsDB_test.go Show resolved Hide resolved
Base automatically changed from update-master-rc-sirius-patch-2-2023.01.17 to rc/sirius-patch-2 January 22, 2024 10:02
@iulianpascalau iulianpascalau dismissed AdoAdoAdo’s stale review January 22, 2024 10:02

The base branch was changed.

@@ -258,7 +258,7 @@
AutoBalanceDataTriesEnableEpoch = 1

# MigrateDataTrieEnableEpoch represents the epoch when the data tries migration is enabled
MigrateDataTrieEnableEpoch = 999999
MigrateDataTrieEnableEpoch = 1
Copy link
Contributor

Choose a reason for hiding this comment

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

put this on epoch 2? Until we release this RC branch, the flags should be >1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

go.mod Outdated
github.com/multiversx/mx-chain-vm-v1_2-go v1.2.64
github.com/multiversx/mx-chain-vm-v1_3-go v1.3.65
github.com/multiversx/mx-chain-vm-v1_4-go v1.4.92
github.com/multiversx/mx-chain-vm-common-go v1.5.11-0.20240122101533-cc1288fd297e
Copy link
Contributor

Choose a reason for hiding this comment

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

proper releases

AdoAdoAdo
AdoAdoAdo previously approved these changes Jan 23, 2024
@iulianpascalau iulianpascalau merged commit 86575d4 into rc/sirius-patch-2 Jan 25, 2024
8 of 10 checks passed
@iulianpascalau iulianpascalau deleted the migrate-data-trie-fix branch January 25, 2024 15:22
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.

None yet

4 participants