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

Add missing config and initial staking #1837

Merged
merged 8 commits into from
Dec 9, 2022
Merged

Add missing config and initial staking #1837

merged 8 commits into from
Dec 9, 2022

Conversation

iamrz1
Copy link
Contributor

@iamrz1 iamrz1 commented Nov 27, 2022

Fixes

#1700
#1707

Changes

Need to be mentioned in CHANGELOG.md?

Tests

Tasks to complete before merging PR:

  • Ensure system tests are passing. If not Run them manually to check for any regressions 📋
  • Do any new system tests need added to test this change? do any existing system tests need updated? If so create a PR at 0chain/system_test
  • Merge your system tests PR to master AFTER merging this PR

Associated PRs (Link as appropriate):

  • blobber:
  • gosdk:
  • system_test:
  • zboxcli:
  • zwalletcli:
  • Other: ...

@codecov-commenter
Copy link

codecov-commenter commented Nov 27, 2022

Codecov Report

Merging #1837 (462babb) into staging (01d2ccc) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           staging    #1837      +/-   ##
===========================================
- Coverage    26.86%   26.84%   -0.02%     
===========================================
  Files          356      356              
  Lines        59197    59257      +60     
===========================================
+ Hits         15904    15909       +5     
- Misses       41386    41439      +53     
- Partials      1907     1909       +2     
Flag Coverage Δ
Unit-Tests 26.84% <0.00%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
code/go/0chain.net/chaincore/chain/entity.go 9.72% <0.00%> (-0.48%) ⬇️
...ode/go/0chain.net/chaincore/state/initial_state.go 0.00% <ø> (ø)
...go/0chain.net/smartcontract/stakepool/stakepool.go 18.01% <0.00%> (-0.17%) ⬇️
...de/go/0chain.net/smartcontract/storagesc/config.go 10.90% <0.00%> (-0.06%) ⬇️
...ain.net/smartcontract/storagesc/config_settigns.go 54.76% <0.00%> (ø)
...de/go/0chain.net/smartcontract/vestingsc/config.go 58.42% <0.00%> (+1.57%) ⬆️
code/go/0chain.net/core/datastore/worker.go 100.00% <0.00%> (+2.73%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@iamrz1 iamrz1 force-pushed the 0chain-1755 branch 3 times, most recently from 5546fd8 to fcbf86a Compare November 28, 2022 07:57
code/go/0chain.net/chaincore/chain/entity.go Outdated Show resolved Hide resolved
code/go/0chain.net/chaincore/chain/entity.go Outdated Show resolved Hide resolved
code/go/0chain.net/chaincore/chain/entity.go Outdated Show resolved Hide resolved
code/go/0chain.net/smartcontract/stakepool/spenum/enums.go Outdated Show resolved Hide resolved
@iamrz1 iamrz1 requested a review from peterlimg December 2, 2022 11:26
Before we implemented code to stop genesis block re-entering, genesis block generationg code will be called everytime when node starts, so staking would aleady exist, and we need to continue instead of returning to cause panic.
* staging: (32 commits)
  fix: remove check for lfb
  fix: check for round/lfb before genesis setup
  make rm and wm hash different
  make rm and wm hash different
  make rm and wm hash different
  make rm and wm hash different
  merge PR1873
  fix
  fix wirtemarker tx hash
  touch
  touch
  lock network until all nodes are ready on miner fault tolerance test
  remove commented code
  lock network until all nodes are registered in fault tolerance test
  touch
  add type to fee reward
  remove debug line
  reduce bank data list length
  reduce bank data list length
  reduce bank data list length
  ...
@service-0chain
Copy link
Collaborator

Manual system tests [success] with the following config

config value
tests skipped TRUE
system-tests master
gosdk NOT OVERRIDDEN
zboxcli staging
zwalletcli staging
0chain 0chain-1755
blobber staging
authorizer staging
0box staging
0block staging
0dns staging
explorer master
0proxy staging
0search staging

@peterlimg peterlimg merged commit 445a16b into staging Dec 9, 2022
@peterlimg peterlimg deleted the 0chain-1755 branch December 9, 2022 23:27
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