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

Remove minimum client version check #2026

Merged
merged 5 commits into from
May 17, 2023
Merged

Conversation

karlb
Copy link
Contributor

@karlb karlb commented Feb 28, 2023

Description

This is the code change to go along with CIP-53.

See also

Related issues

@akeyless-target-app
Copy link

akeyless-target-app bot commented Feb 28, 2023

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

coverage: 45.9% of statements across all listed packages
coverage:  52.4% of statements in consensus/istanbul
coverage:  41.4% of statements in consensus/istanbul/announce
coverage:  54.7% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  51.7% of statements in consensus/istanbul/core
coverage:  45.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.4% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random
CommentID: 11a575a7fe

@github-actions
Copy link

github-actions bot commented May 16, 2023

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

coverage: 48.2% of statements across all listed packages
coverage:  61.3% of statements in consensus/istanbul
coverage:  37.5% of statements in consensus/istanbul/announce
coverage:  54.2% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  61.3% of statements in consensus/istanbul/core
coverage:  45.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.4% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random

@github-actions
Copy link

github-actions bot commented May 16, 2023

5802 passed, 1 failed, 44 skipped

Test failures:
  TestCallTraceTransactionPrecompileTransfer: tracers
    api_test.go:734: trace mismatch:
have &{Type:CALL From:0x3480C2a78Bc1F86D4D25304AC7E0c9dEda44Cd9F To:0x00000000000000000000000000000000000000fd Input:0x0000000000000000000000005e55aa6ff942be646d81743cf500ef7cb7c46850000000000000000000000000cc0c527989b534774186b87f77bb8e29adb66ef700000000000000000000000000000000000000000000000000000000000003e8 Output:0x0000000000000000000000005e55aa6ff942be646d81743cf500ef7cb7c46850000000000000000000000000cc0c527989b534774186b87f77bb8e29adb66ef700000000000000000000000000000000000000000000000000000000000003e8 Gas:0x4e9c GasUsed:0x2328 Value:0x0 Error: Calls:[{Type:STATICCALL From:0x0000000000000000000000000000000000000000 To:0x000000000000000000000000000000000000ce10 Input:0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf Output:0x0000000000000000000000003480c2a78bc1f86d4d25304ac7e0c9deda44cd9f Gas:0x186a0 GasUsed:0x0 Value: Error: Calls:[{Type:DELEGATECALL From:0x000000000000000000000000000000000000ce10 To:0x000000000000000000000000000000000000CE11 Input:0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf Output:0x0000000000000000000000003480c2a78bc1f86d4d25304ac7e0c9deda44cd9f Gas:0x0 GasUsed:0x0 Value: Error: Calls:[]}]}]}
want &{Type:CALL From:0x3480C2a78Bc1F86D4D25304AC7E0c9dEda44Cd9F To:0x00000000000000000000000000000000000000fd Input:0x0000000000000000000000005e55aa6ff942be646d81743cf500ef7cb7c46850000000000000000000000000cc0c527989b534774186b87f77bb8e29adb66ef700000000000000000000000000000000000000000000000000000000000003e8 Output:0x0000000000000000000000005e55aa6ff942be646d81743cf500ef7cb7c46850000000000000000000000000cc0c527989b534774186b87f77bb8e29adb66ef700000000000000000000000000000000000000000000000000000000000003e8 Gas:0x4e90 GasUsed:0x2328 Value:0x0 Error: Calls:[{Type:STATICCALL From:0x0000000000000000000000000000000000000000 To:0x000000000000000000000000000000000000ce10 Input:0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf Output:0x0000000000000000000000003480c2a78bc1f86d4d25304ac7e0c9deda44cd9f Gas:0x186a0 GasUsed:0x0 Value: Error: Calls:[{Type:DELEGATECALL From:0x000000000000000000000000000000000000ce10 To:0x000000000000000000000000000000000000CE11 Input:0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf Output:0x0000000000000000000000003480c2a78bc1f86d4d25304ac7e0c9deda44cd9f Gas:0x0 GasUsed:0x0 Value: Error: Calls:[]}]}]}
This test report was produced by the test-summary action.  Made with ❤️ in Cambridge.

@codecov
Copy link

codecov bot commented May 16, 2023

Codecov Report

Patch coverage: 65.24% and project coverage change: +0.94 🎉

Comparison is base (71bdbcf) 54.30% compared to head (41ea45c) 55.25%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2026      +/-   ##
==========================================
+ Coverage   54.30%   55.25%   +0.94%     
==========================================
  Files         692      672      -20     
  Lines      115642   113386    -2256     
==========================================
- Hits        62795    62646     -149     
+ Misses      49014    46928    -2086     
+ Partials     3833     3812      -21     
Impacted Files Coverage Δ
cmd/devp2p/internal/ethtest/transaction.go 0.00% <0.00%> (ø)
cmd/geth/chaincmd.go 0.00% <0.00%> (ø)
cmd/geth/main.go 21.39% <ø> (+0.91%) ⬆️
cmd/geth/usage.go 10.90% <ø> (ø)
cmd/utils/flags.go 2.56% <0.00%> (ø)
consensus/istanbul/utils.go 47.10% <ø> (+1.13%) ⬆️
contracts/currency/currency.go 55.00% <ø> (ø)
contracts/election/election.go 25.00% <ø> (ø)
contracts/epoch_rewards/epoch_rewards.go 88.88% <ø> (ø)
contracts/freezer/freezer.go 70.00% <ø> (ø)
... and 34 more

... and 27 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

karlb added a commit to celo-org/celo-monorepo that referenced this pull request May 16, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
karlb added a commit to celo-org/celo-monorepo that referenced this pull request May 16, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
@karlb karlb force-pushed the karlb/remove-version-check branch from 054bedc to fd93af2 Compare May 16, 2023 14:01
@karlb karlb marked this pull request as ready for review May 16, 2023 14:48
@karlb karlb requested a review from palango May 16, 2023 14:48
Copy link
Contributor

@palango palango left a comment

Choose a reason for hiding this comment

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

LGTM

@karlb karlb force-pushed the karlb/remove-version-check branch from fd93af2 to 41ea45c Compare May 16, 2023 14:56
@karlb karlb enabled auto-merge (squash) May 16, 2023 14:57
@karlb karlb merged commit 8566b27 into master May 17, 2023
@karlb karlb deleted the karlb/remove-version-check branch May 17, 2023 07:48
palango pushed a commit to celo-org/celo-monorepo that referenced this pull request Jun 5, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
karlb added a commit to celo-org/celo-monorepo that referenced this pull request Jun 5, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
karlb added a commit to celo-org/celo-monorepo that referenced this pull request Jun 7, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
gastonponti pushed a commit to celo-org/celo-monorepo that referenced this pull request Jun 13, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
gastonponti pushed a commit to celo-org/celo-monorepo that referenced this pull request Jun 15, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
gastonponti pushed a commit to celo-org/celo-monorepo that referenced this pull request Jun 20, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
gastonponti pushed a commit to celo-org/celo-monorepo that referenced this pull request Jun 22, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
gastonponti pushed a commit to celo-org/celo-monorepo that referenced this pull request Jun 26, 2023
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
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