Skip to content

v0.3.1 mumbai candidate#603

Merged
temaniarpit27 merged 301 commits into
qafrom
arpit/v0.3.1-mumbai-candidate
Dec 13, 2022
Merged

v0.3.1 mumbai candidate#603
temaniarpit27 merged 301 commits into
qafrom
arpit/v0.3.1-mumbai-candidate

Conversation

@temaniarpit27
Copy link
Copy Markdown
Contributor

@temaniarpit27 temaniarpit27 commented Nov 29, 2022

Description

Please provide a detailed description of what was done in this PR

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 July 21, 2022 17:20
Remove 'edit' from github CI workflow
The validator set json loaded from database will have an empty map. This change will recompute the validator map based on validator set.
Fix "Signer 0x... is not a part of the producer set at block xxxx"
…date defaults (#457)

* updated simple.json and simple.hcl

* added annotations for developer and grpc block

* added toml tags and simple.toml file

* added support for toml config files

* updated simple files toml, hcl, json

* added config.toml in builder/files and updated bor.service

* add dumpconfig command in cli for exporting configs

* update docs

* updated .goreleaser.yml (POS-651)

* changed --config to -config

* added test config for tests and fixed lint errors

* made fields of type big.int and time.Duration private, removed merge from dumpconfig, setting up default values to the Raw fields in dumpconfig, and fixed one lint error

* fixed lint errors (strange)

* lint fix

* private no-more, using '-' in name tags to ignore

* updated name tags, made c.configFile as a stringFlag (only one config file supported) and updated the merge logic in command.go -> Run()

* fix: set method for big.Int flags, added a TODO

* handeled bigInt and timeDuration type, bug fix in config_legacy, lint fix

* updated flags, consistent across flags.go and config.go

* fixed config test and updated test hcl, json config files

* updated config legacy test

* added test to check values of cmd flags, restructured Run in command.go, linter fix

* fix linters

* lint again

* changed 2 flags and assert -> require

* changed the 2 flags back

* updated correct congig.toml path and made mainnet default

* updated config.toml with new flags

* added sample config (toml) file

* removed sample-config.toml and added it in docs/config.md

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
* skip test in sealer test for ethhash consensus

* add a todo and test skip reason
Add 'bor' user during package installation
fix fields transactionHash
Fix getTransactionReceiptsByBlock and TestGetTransactionReceiptsByBlock
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 4, 2022

Codecov Report

Base: 56.92% // Head: 56.76% // Decreases project coverage by -0.15% ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##               qa     #603      +/-   ##
==========================================
- Coverage   56.92%   56.76%   -0.16%     
==========================================
  Files         598      607       +9     
  Lines       69243    70338    +1095     
==========================================
+ Hits        39415    39928     +513     
- Misses      26473    26994     +521     
- Partials     3355     3416      +61     
Impacted Files Coverage Δ
accounts/abi/bind/auth.go 0.00% <0.00%> (ø)
consensus/bor/merkle.go 0.00% <ø> (ø)
consensus/bor/snapshot.go 14.60% <0.00%> (-0.17%) ⬇️
consensus/bor/span_mock.go 0.00% <0.00%> (ø)
consensus/clique/clique.go 40.35% <ø> (ø)
consensus/ethash/consensus.go 40.21% <ø> (+1.06%) ⬆️
consensus/ethash/sealer.go 80.09% <0.00%> (ø)
core/rawdb/bor_receipt.go 1.23% <ø> (ø)
core/state/statedb.go 55.96% <ø> (ø)
core/state_transition.go 89.10% <ø> (ø)
... and 101 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.

temaniarpit27 and others added 4 commits December 5, 2022 19:42
@temaniarpit27 temaniarpit27 marked this pull request as ready for review December 13, 2022 19:03
@temaniarpit27 temaniarpit27 requested a review from a team December 13, 2022 19:08
@JekaMas
Copy link
Copy Markdown
Contributor

JekaMas commented Dec 13, 2022

Co we can remove codeowners according to the license?

@temaniarpit27
Copy link
Copy Markdown
Contributor Author

Co we can remove codeowners according to the license?

basically people who have contributed to the code shouldn't review?

@temaniarpit27 temaniarpit27 merged commit b7f37c7 into qa Dec 13, 2022
@temaniarpit27 temaniarpit27 deleted the arpit/v0.3.1-mumbai-candidate branch December 13, 2022 19:13
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.