lukso-network / lukso-orchestrator

Orchestrating the dance of vanguard and pandora.
Apache License 2.0
6 stars 7 forks source link

New db structure and trigger reorg from orchestrator #99

Open atif-konasl opened 2 years ago

atif-konasl commented 2 years ago

Motivation

Removing slot key and introducing stepId concept because slot can be missed and it does not consecutive. As well as orchestrator should support multi shard verification, so new db structure is needed.

blazejkrzak commented 2 years ago

tests are failing

codecov-commenter commented 2 years ago

Codecov Report

Merging #99 (e1736fe) into develop (1907dd8) will increase coverage by 3.25%. The diff coverage is 16.30%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #99      +/-   ##
===========================================
+ Coverage    34.85%   38.11%   +3.25%     
===========================================
  Files           17       15       -2     
  Lines         1027      816     -211     
===========================================
- Hits           358      311      -47     
+ Misses         650      489     -161     
+ Partials        19       16       -3     
Impacted Files Coverage Δ
orchestrator/rpc/api/api_backend.go 0.00% <0.00%> (ø)
orchestrator/rpc/api/backend_service_mock.go 0.00% <0.00%> (ø)
orchestrator/utils/multi_shard.go 55.55% <55.55%> (ø)
orchestrator/rpc/api/events/api.go
orchestrator/rpc/api/events/event_api.go
orchestrator/rpc/api/events/handler.go

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1907dd8...e1736fe. Read the comment docs.