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

chore: ignore some fields in the parameters structure of the config.json #5535

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

simlecode
Copy link
Collaborator

@simlecode simlecode commented Dec 5, 2022

关联的Issues (Related Issues)

close #5491

改动 (Proposed Changes)

配置文件

config.jsonparameters只保留networkType字段,其余字段将会被移除

"parameters": {
        "networkType": 1
},

日志

启动时增加日志输出:

network params: &{DevNet:false NetworkType:1 AddressNetwork:0 GenesisNetworkVersion:0 ConsensusMinerMinPower:10995116277760 MinVerifiedDealSize:1048576 ReplaceProofTypes:[3 4] BlockDelay:30 DrandSchedule:map[0:5 51000:1] ForkUpgradeParam:0xc00019e2c0 PreCommitChallengeDelay:150 PropagationDelaySecs:10}
upgrade params: &{UpgradeSmokeHeight:51000 UpgradeBreezeHeight:41280 UpgradeIgnitionHeight:94000 UpgradeLiftoffHeight:148888 UpgradeAssemblyHeight:138720 UpgradeRefuelHeight:130800 UpgradeTapeHeight:140760 UpgradeKumquatHeight:170000 UpgradePriceListOopsHeight:0 BreezeGasTampingDuration:120 UpgradeCalicoHeight:265200 UpgradePersianHeight:272400 UpgradeOrangeHeight:336458 UpgradeClausHeight:343200 UpgradeTrustHeight:550321 UpgradeNorwegianHeight:665280 UpgradeTurboHeight:712320 UpgradeHyperdriveHeight:892800 UpgradeChocolateHeight:1231620 UpgradeOhSnapHeight:1594680 UpgradeSkyrHeight:1960320 UpgradeSharkHeight:2383680}

附注 (Additional Info)

自查清单 (Checklist)

在你认为本 PR 满足被审阅的标准之前,需要确保 / Before you mark the PR ready for review, please make sure that:

  • 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
  • 具有清晰明确的commit message / All commits have a clear commit message.
  • 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
  • 存在兼容性问题(接口, 配置,数据,灰度),如果存在需要进行文档说明 / This PR has compatibility issues (API, Configuration, Data, GrayRelease), if so, need to be documented.
  • 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
  • 通过必要的检查项 / All checks are green

@simlecode simlecode self-assigned this Dec 5, 2022
@simlecode simlecode requested a review from diwufeiwen December 6, 2022 01:35
Copy link
Contributor

@diwufeiwen diwufeiwen left a comment

Choose a reason for hiding this comment

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

LGTM

@diwufeiwen diwufeiwen merged commit c7bbc3c into master Dec 6, 2022
@diwufeiwen diwufeiwen deleted the chore/ignore-field branch December 6, 2022 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[venus] 不常用配置社区建议
2 participants