Skip to content

[CIP-50] optional replay protection#1748

Merged
gastonponti merged 5 commits intomasterfrom
gastonponti/cip50-optional-replay-protection
Dec 7, 2021
Merged

[CIP-50] optional replay protection#1748
gastonponti merged 5 commits intomasterfrom
gastonponti/cip50-optional-replay-protection

Conversation

@gastonponti
Copy link
Copy Markdown
Contributor

Depends on #1695

Description

Implementation of the CIP 50, that makes the replay protection optional

Related issues

  • Fixes #[issue number here]

Backwards compatibility

No. Part of the Expresso hard fork

@piersy
Copy link
Copy Markdown
Contributor

piersy commented Nov 26, 2021

Coverage from tests in ./e2e_test/... for ./consensus/istanbul/... at commit 13cf632

coverage: 44.6% of statements across all listed packages
coverage:  54.1% of statements in consensus/istanbul
coverage:  44.8% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  43.3% of statements in consensus/istanbul/backend/internal/db
coverage:  24.1% of statements in consensus/istanbul/backend/internal/enodes
coverage:  22.4% of statements in consensus/istanbul/backend/internal/replica
coverage:  64.2% of statements in consensus/istanbul/core
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  75.3% of statements in consensus/istanbul/uptime
coverage: 100.0% of statements in consensus/istanbul/uptime/store
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random
CommentID: 09775b3d7b

@gastonponti gastonponti force-pushed the gastonponti/cip50-optional-replay-protection branch from 32ddca7 to 192e3c2 Compare December 2, 2021 22:22
Copy link
Copy Markdown
Contributor

@trianglesphere trianglesphere left a comment

Choose a reason for hiding this comment

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

Blockchain side LGTM. Will need to update CIP-35 e2e test.

Copy link
Copy Markdown
Contributor

@trianglesphere trianglesphere left a comment

Choose a reason for hiding this comment

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

Update around espresso name in tests

Comment thread core/tx_pool_test.go Outdated
Comment thread core/tx_pool_test.go Outdated
Comment thread core/tx_pool_test.go Outdated
Comment thread core/tx_pool_test.go Outdated
@trianglesphere trianglesphere marked this pull request as ready for review December 6, 2021 18:20
@trianglesphere trianglesphere requested review from a team, hbandura and nategraf as code owners December 6, 2021 18:20
@gastonponti gastonponti merged commit 8830ed5 into master Dec 7, 2021
@gastonponti gastonponti deleted the gastonponti/cip50-optional-replay-protection branch December 7, 2021 01:16
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.

3 participants