phoreproject / graphene

Phore Synapse working repository
MIT License
13 stars 6 forks source link

Relayer module #103

Closed meyer9 closed 4 years ago

meyer9 commented 4 years ago

State manager to hold state from shards including full vs. partial state.

meyer9 commented 4 years ago

Added basic specification. Now, going to work on implementing disk storage for state.

meyer9 commented 4 years ago

Fixed some bugs in the CSMT witness generation functions.

codecov-io commented 4 years ago

Codecov Report

Merging #103 into master will increase coverage by 0.91%. The diff coverage is 56.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   49.13%   50.04%   +0.91%     
==========================================
  Files          43       42       -1     
  Lines        4441     5405     +964     
==========================================
+ Hits         2182     2705     +523     
- Misses       1981     2322     +341     
- Partials      278      378     +100
Impacted Files Coverage Δ
shard/transfer/transfer_shard.go 100% <ø> (ø) :arrow_up:
shard/state/argument_context.go 7.93% <ø> (ø)
beacon/db/badger.go 0% <ø> (ø) :arrow_up:
beacon/db/memory.go 26.47% <ø> (ø) :arrow_up:
shard/state/state.go 43.83% <ø> (-16.46%) :arrow_down:
shard/state/manager.go 0% <ø> (ø)
shard/state/execution.go 77% <ø> (ø)
shard/state/interface.go 0% <ø> (ø)
shard/transfer/transfer_shard_code.go 16.66% <ø> (ø) :arrow_up:
beacon/mempool.go 0% <0%> (ø) :arrow_up:
... and 32 more

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 518f215...6414d0a. Read the comment docs.