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

Temporarily disable p2p id checks (for public testnet upgrade) #2468

Closed
wants to merge 1 commit into from

Conversation

peterjgilbert
Copy link
Contributor

@peterjgilbert peterjgilbert commented Dec 12, 2019

Related to #2428. For compatibility with dumps from networks running pre-#2424 versions of oasis-node, we need to accept 0-valued p2p ids.

@peterjgilbert peterjgilbert force-pushed the peterjgilbert/test/disable_p2p_checks branch from 2d7acfd to 97afd9b Compare December 12, 2019 16:40
@codecov
Copy link

codecov bot commented Dec 12, 2019

Codecov Report

Merging #2468 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2468      +/-   ##
=========================================
- Coverage   67.52%   67.5%   -0.02%     
=========================================
  Files         307     307              
  Lines       30100   30091       -9     
=========================================
- Hits        20324   20312      -12     
- Misses       7299    7301       +2     
- Partials     2477    2478       +1
Impacted Files Coverage Δ
go/registry/tests/tester.go 86.88% <ø> (-0.15%) ⬇️
go/registry/api/api.go 40.14% <0%> (-1.84%) ⬇️
go/roothash/api/commitment/pool.go 69.43% <0%> (-1.49%) ⬇️
go/worker/common/committee/group.go 81.57% <0%> (-0.76%) ⬇️
go/consensus/tendermint/tendermint.go 64.62% <0%> (-0.62%) ⬇️
go/storage/mkvs/urkel/db/leveldb/leveldb.go 81.38% <0%> (-0.5%) ⬇️
go/storage/mkvs/urkel/db/badger/badger.go 72.17% <0%> (-0.21%) ⬇️
go/worker/registration/worker.go 65.91% <0%> (+0.32%) ⬆️
go/worker/merge/committee/node.go 76.48% <0%> (+0.49%) ⬆️
go/storage/client/client.go 73.85% <0%> (+0.5%) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1117444...af6600b. Read the comment docs.

@peterjgilbert peterjgilbert changed the title (do not merge) temporarily disable p2p id checks Temporarily disable p2p id checks (for public testnet upgrade) Dec 12, 2019
@peterjgilbert peterjgilbert force-pushed the peterjgilbert/test/disable_p2p_checks branch from 97afd9b to af6600b Compare December 16, 2019 02:05
@Yawning
Copy link
Contributor

Yawning commented Dec 16, 2019

I'm moderately opposed to this out of principle, but if migration is required then I suppose there's no other option. Can you make an issue to revert the removal of the checks so that we do not forget?

Copy link
Contributor

@Yawning Yawning left a comment

Choose a reason for hiding this comment

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

I guess this is fine. Make sure to file an issue to revert this before merging please.

@peterjgilbert
Copy link
Contributor Author

I guess this is fine. Make sure to file an issue to revert this before merging please.

No need to merge this one. We will do the testnet redeploy from branch oasis-testnet-p2-2019-12-17.

@tjanez tjanez deleted the peterjgilbert/test/disable_p2p_checks branch February 26, 2020 09:39
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