Skip to content

1.7.3#2042

Merged
gastonponti merged 9 commits intorelease/1.7.xfrom
1.7.3
Mar 13, 2023
Merged

1.7.3#2042
gastonponti merged 9 commits intorelease/1.7.xfrom
1.7.3

Conversation

@palango
Copy link
Copy Markdown
Collaborator

@palango palango commented Mar 10, 2023

Description

Branch for the next patch release:

Changes included:

piersy and others added 6 commits March 10, 2023 15:58
Prior to this change the RoundStateDB was never closed. This could
result in leaked goroutines from its internal leveldb instance.

This change caused the TestStartStopValidators e2e test to fail because
changing the rsdb open to be in the startup code, slowed down the start
method for core this caused the gossiping of the manually added peers
(done in the test after starting each previously stopped node )to happen
after the validator peer handler had removed all the peers resulting in
gossiping certs to no one. Thus leaving the network in a disconnected
state.

The fix was really hacky, but just to wait 250ms after starting a node
and hoping that the validator peer handler will have removed nodes by
that point and then add the peers and then wait a little for them to be
registered and then finally gossip to them.

Co-authored-by: Paul Lange <palango@users.noreply.github.com>
* update celo-bls-go version to fix issue #2005

* fix go.sum

* go mod tidy
* tracer: Add regression test for #2002

* tracer: Fix gas price calculations (#2002)

Fix the tracing module to correctly use the base fee when calculating
gas prices.

* tracer: Only pass fee currency into `getBaseFee`

* tracer: PR review

* tests: Move contract code to testutils
The GraphQL-Endpoint did not properly handle post-EIP1559 gas fees. To
get the correct results based on the respective baseFee, we have to take
a look at the used feeCurrency.

To get at least some test coverage for this, I added one EIP-1559
transaction to the test data. This is still far from a thorough coverage
of all relevant cases (different feeCurrency, the base fee is 0 in the
test, so bugs for proper values might be hidden).
@piersy
Copy link
Copy Markdown
Contributor

piersy commented Mar 10, 2023

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

coverage: 47.8% of statements across all listed packages
coverage:  53.1% of statements in consensus/istanbul
coverage:  42.9% of statements in consensus/istanbul/announce
coverage:  56.0% 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:  55.6% of statements in consensus/istanbul/core
coverage:  50.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: 32f854e81e

gastonponti and others added 2 commits March 10, 2023 16:29
Description
Update the branch that we use to track the last deployed core contracts on Mainnet

Other changes
Fix mycelo to handle all the changes. Add GrandaMento contract that was added before but we missed
@palango palango requested review from gastonponti and hbandura March 10, 2023 16:22
@palango palango marked this pull request as ready for review March 10, 2023 16:22
@palango palango requested a review from a team as a code owner March 10, 2023 16:22
@palango
Copy link
Copy Markdown
Collaborator Author

palango commented Mar 10, 2023

iOS CI is broken as was removed upstream.

@gastonponti
Copy link
Copy Markdown
Contributor

All tests are passing. The ios build was removed as part of a PR that was not cherrypicked for this release.

@gastonponti gastonponti merged commit 6efea76 into release/1.7.x Mar 13, 2023
@gastonponti gastonponti deleted the 1.7.3 branch March 13, 2023 14:14
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.

6 participants