Skip to content

Merge commits from qa into master#618

Merged
cffls merged 214 commits into
0xPolygon:masterfrom
cffls:master
Dec 6, 2022
Merged

Merge commits from qa into master#618
cffls merged 214 commits into
0xPolygon:masterfrom
cffls:master

Conversation

@cffls
Copy link
Copy Markdown
Contributor

@cffls cffls commented Dec 6, 2022

Description

Merge commits from qa into master.

Changes

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

Checklist

  • I have added at least 2 reviewer or the whole pos-v1 team
  • I have added sufficient documentation in code
  • I will be resolving comments - if any - by pushing each fix in a separate commit and linking the commit hash in the comment reply

Cross repository changes

  • This PR requires changes to heimdall
    • In case link the PR here:
  • This PR requires changes to matic-cli
    • In case link the PR here:

Testing

  • I have added unit tests
  • I have added tests to CI
  • I have tested this code manually on local environment
  • I have tested this code manually on remote devnet using express-cli
  • I have tested this code manually on mumbai
  • I have created new e2e tests into express-cli

Manual tests

Please complete this section with the steps you performed if you ran manual tests for this functionality, otherwise delete it

Additional comments

Please post additional comments in this section if you have them, otherwise delete it

temaniarpit27 and others added 30 commits January 12, 2022 13:00
* Bump Go version to v1.18.1
This will create a static build using Go native networking stack.

Checked and it works stable for all archs and distros.
* Protobuf tooling fix and upgrade

* Paths for protobuf files has changed, reflect that in Makefile
* Fix the tooling to make it work in macos
* Update protoc version and regenarate files.

* Regen proto
* Build and run the new CLI
djpolygon and others added 22 commits November 23, 2022 09:07
…ckaging

Adding in Mumbai/Mainnet precursor deb packaging for tests to use dur…
* metrics: handle  based config path

* internal/cli/server: add more context to logs

* use space separated flag and value in bor.service
* fixed static-nodes related buf (os independent)

* taking static-nodes as input if default not present
* internal/cli/server: use geth's default for txpool.pricelimit and add comments

* builder/files: update config.toml for mainnet

* packaging/templates: update defaults for mainnet and mumbai

* internal/cli/server: skip overriding cache

* packaging/templates: update cache value for mainnet

* packaging/templates: update gcmode for archive mumbai node
…. Added conditional check for directory structure, this is in prep for v0.3.1, as this will create a failure on upgrade path in package due to file exist
…xPolygon#607)

* added a toml configuration file with comments describing each flag

* internal/cli/server: update flag description

* docs/cli: update example config and description of flags

* docs: update new-cli docs

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
…anup

Cleanup for the packager to use git tag in the package profile naming…
Added ancient datadir flag and toml field
…ld config.toml (0xPolygon#612)

* added HTTPTimeouts, and TrieTimeout flag in new tol, from old toml

* added RAW fields for these time.Duration flags

* updated the conversion script to support these extra 4 flags

* removed hcl and json config tests as we are only supporting toml config files

* updated toml files with cache.timeout field

* updated toml files with jsonrpc.timeouts field

* tests/bor: expect a call for latest checkpoint

* tests/bor: expect a call for latest checkpoint

* packaging/templates: update cache values for archive nodes

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
@cffls cffls requested review from a team, pratikspatil024 and temaniarpit27 December 6, 2022 05:02
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Base: 56.90% // Head: 56.92% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (57075d0) compared to base (783f93b).
Patch coverage: 35.36% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #618      +/-   ##
==========================================
+ Coverage   56.90%   56.92%   +0.01%     
==========================================
  Files         578      598      +20     
  Lines       68312    69243     +931     
==========================================
+ Hits        38873    39415     +542     
- Misses      26100    26473     +373     
- Partials     3339     3355      +16     
Impacted Files Coverage Δ
consensus/bor/api.go 0.00% <0.00%> (ø)
consensus/bor/bor.go 7.72% <0.00%> (+1.56%) ⬆️
consensus/bor/errors.go 0.00% <ø> (ø)
consensus/bor/genesis_contract_mock.go 0.00% <0.00%> (ø)
consensus/bor/merkle.go 0.00% <0.00%> (ø)
consensus/bor/snapshot.go 14.77% <0.00%> (+0.94%) ⬆️
consensus/bor/span_mock.go 0.00% <0.00%> (ø)
consensus/bor/validators_getter_mock.go 0.00% <0.00%> (ø)
core/blockchain_reader.go 43.44% <0.00%> (-3.23%) ⬇️
core/chain_makers.go 68.21% <0.00%> (-1.87%) ⬇️
... and 120 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@cffls cffls requested a review from a team December 6, 2022 05:32
@cffls cffls merged commit 9656c6c into 0xPolygon:master Dec 6, 2022
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.