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

config param update #5828

Merged
merged 8 commits into from
Jan 30, 2024
Merged

Conversation

axenteoctavian
Copy link

Reasoning behind the pull request

  • MX-14985 task

Proposed changes

  • set IsPayableBySCEnableEpoch = 0

Testing procedure

  • running sovereign node

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?

Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8ce0176) 79.22% compared to head (26bc5f8) 79.18%.
Report is 1 commits behind head on feat/demo-refactor.

Additional details and impacted files
@@                  Coverage Diff                   @@
##           feat/demo-refactor    #5828      +/-   ##
======================================================
- Coverage               79.22%   79.18%   -0.05%     
======================================================
  Files                     772      772              
  Lines                   97282    97282              
======================================================
- Hits                    77072    77028      -44     
- Misses                  14733    14777      +44     
  Partials                 5477     5477              

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

sasurobert
sasurobert previously approved these changes Jan 15, 2024
@@ -158,7 +158,7 @@
FrontRunningProtectionEnableEpoch = 1

# IsPayableBySCEnableEpoch represents the epoch when a new flag isPayable by SC is enabled
IsPayableBySCEnableEpoch = 1
IsPayableBySCEnableEpoch = 0
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not enough.

We need more changes in this PR:

  • cmd/node/config/config.toml (we will discuss how to address this changes)
  • Add these changes:
  updateTOMLValue enableEpochs.toml "SCDeployEnableEpoch" 0
  updateTOMLValue enableEpochs.toml "BuiltInFunctionsEnableEpoch" 0
  updateTOMLValue enableEpochs.toml "ESDTEnableEpoch" 0

Copy link
Contributor

@mariusmihaic mariusmihaic left a comment

Choose a reason for hiding this comment

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

This config will not start without vm = 1.5.

  1. Please create the task we discussed about with over writable configs from prefs.toml for structs.
  2. In cmd/node/config/config.toml, for both WasmVMVersions entries, use only one entry with this value: { StartEpoch = 0, Version = "v1.5" },. Also, for both entries, add a TODO with the task id to refactor it with over writable configs once the above mentioned task is completed

@axenteoctavian axenteoctavian merged commit ff50782 into feat/demo-refactor Jan 30, 2024
6 of 7 checks passed
@axenteoctavian axenteoctavian deleted the MX-14985-sovereign-config-xday branch January 30, 2024 14:31
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.

4 participants