linea-monorepo icon indicating copy to clipboard operation
linea-monorepo copied to clipboard

coordinator: adds config v2 sample

Open fluentcrafter opened this issue 7 months ago • 1 comments

This PR implements issue(s) #922

Checklist

  • [ ] I wrote new tests for my new core changes.
  • [ ] I have successfully ran tests, style checker and build against my new changes locally.
  • [ ] I have informed the team of any breaking changes if there are any.

fluentcrafter avatar Apr 08 '25 15:04 fluentcrafter

Codecov Report

Attention: Patch coverage is 58.18936% with 605 lines in your changes missing coverage. Please review.

Project coverage is 65.92%. Comparing base (62b422b) to head (62c8b30). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../consensys/zkevm/coordinator/app/L1DependentApp.kt 0.00% 283 Missing :warning:
...a/coordinator/config/v2/toml/ConfigLoaderHelper.kt 50.64% 34 Missing and 4 partials :warning:
...nea/coordinator/config/v2/toml/SignerConfigToml.kt 54.68% 11 Missing and 18 partials :warning:
...kotlin/linea/coordinator/config/v2/SignerConfig.kt 40.00% 22 Missing and 2 partials :warning:
...lin/linea/coordinator/config/v2/toml/ProverToml.kt 61.29% 22 Missing and 2 partials :warning:
...ea/coordinator/config/v2/MessageAnchoringConfig.kt 57.14% 14 Missing and 7 partials :warning:
...nator/config/v2/toml/MessageAnchoringConfigToml.kt 78.08% 7 Missing and 9 partials :warning:
...kotlin/linea/coordinator/config/v2/ProverConfig.kt 0.00% 14 Missing :warning:
...act/l2/Web3JL2MessageServiceSmartContractClient.kt 0.00% 14 Missing :warning:
...ea/coordinator/config/v2/toml/decoders/Decoders.kt 55.55% 6 Missing and 6 partials :warning:
... and 31 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #853      +/-   ##
============================================
- Coverage     66.59%   65.92%   -0.67%     
- Complexity     1135     1172      +37     
============================================
  Files           324      354      +30     
  Lines         12994    13494     +500     
  Branches       1356     1361       +5     
============================================
+ Hits           8653     8896     +243     
- Misses         3780     4033     +253     
- Partials        561      565       +4     
Flag Coverage Δ
hardhat 98.51% <ø> (ø)
kotlin 63.47% <58.18%> (-0.62%) :arrow_down:
Files with missing lines Coverage Δ
...in/kotlin/linea/coordinator/config/v2/ApiConfig.kt 100.00% <100.00%> (ø)
.../linea/coordinator/config/v2/toml/ApiConfigToml.kt 100.00% <100.00%> (ø)
...n/linea/coordinator/config/v2/toml/DatabaseToml.kt 100.00% <100.00%> (ø)
...n/linea/coordinator/config/v2/toml/DefaultsToml.kt 100.00% <100.00%> (ø)
...nea/coordinator/config/v2/toml/StateManagerToml.kt 100.00% <100.00%> (ø)
...nator/config/v2/toml/Type2StateProofManagerToml.kt 100.00% <100.00%> (ø)
...sensys/zkevm/coordinator/app/CoordinatorAppMain.kt 0.00% <ø> (ø)
...n/net/consensys/zkevm/ethereum/ContractsManager.kt 61.53% <100.00%> (+0.75%) :arrow_up:
...n/src/main/kotlin/linea/kotlin/StringExtensions.kt 100.00% <100.00%> (ø)
...faces/src/main/kotlin/linea/ethapi/EthApiClient.kt 50.00% <ø> (ø)
... and 41 more

... and 5 files with indirect coverage changes

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov-commenter avatar Apr 08 '25 15:04 codecov-commenter