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

deploy: Fix witnesses for Balance and Container contract deployments #2695

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

cthulhu-rider
Copy link
Contributor

@cthulhu-rider cthulhu-rider commented Dec 20, 2023

tested with 1/4/7 node envs

Copy link

codecov bot commented Dec 20, 2023

Codecov Report

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

Comparison is base (5c66479) 28.48% compared to head (2469ea8) 28.45%.

Files Patch % Lines
pkg/morph/deploy/contracts.go 0.00% 36 Missing ⚠️
pkg/morph/deploy/deploy.go 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2695      +/-   ##
==========================================
- Coverage   28.48%   28.45%   -0.03%     
==========================================
  Files         413      413              
  Lines       31966    31997      +31     
==========================================
  Hits         9106     9106              
- Misses      22079    22110      +31     
  Partials      781      781              

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

@cthulhu-rider cthulhu-rider force-pushed the bugfix/deploy-balance-container branch from 673b21b to daa6344 Compare December 20, 2023 18:30
@cthulhu-rider cthulhu-rider marked this pull request as draft December 20, 2023 18:48
@cthulhu-rider cthulhu-rider force-pushed the bugfix/deploy-balance-container branch from daa6344 to 88ec5a3 Compare December 20, 2023 18:57
@cthulhu-rider cthulhu-rider marked this pull request as ready for review December 20, 2023 19:06
Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

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

The fix is OK, but we better improve the terminology at the same time, otherwise we'll leave some misconceptions in the code.

To deploy these contracts in `@v0.19.1` revision:
 - both must be witnessed by the Alphabet (2/3n+1) to call Netmap
 - Container must be also witnessed by the committee majority (n/2+1) to
  call NNS

Signed-off-by: Leonard Lyubich <[email protected]>
@cthulhu-rider cthulhu-rider force-pushed the bugfix/deploy-balance-container branch from 88ec5a3 to 2469ea8 Compare December 20, 2023 20:17
@roman-khimov roman-khimov merged commit 1cee657 into master Dec 21, 2023
7 of 10 checks passed
@roman-khimov roman-khimov deleted the bugfix/deploy-balance-container branch December 21, 2023 06:21
@roman-khimov roman-khimov added this to the v0.39.2 milestone Dec 21, 2023
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.

2 participants