Closed hwwhww closed 6 years ago
This PR is part of the evolution of stateless client #31
Updated validator_manager_contract
validator_manager_contract
get_eligible_proposer
sample
Added the easiest part of stateless_collator.py. collator.py will be replaced with more PRs.
stateless_collator.py
collator.py
get_collations_with_score
get_collations_with_scores_in_range
CREATE_COLLATION
According to the above code and design, updated doc.md.
doc.md
pytest sharding/tests
sharding/tests/test_stateless_collator.py
test_validator_manager.py
test_validator_manager_utils.py
Description
This PR is part of the evolution of stateless client #31
Updated
validator_manager_contract
get_eligible_proposer
function for replacingsample
functionAdded the easiest part of
stateless_collator.py
.collator.py
will be replaced with more PRs.get_collations_with_score
functionget_collations_with_scores_in_range
functionCREATE_COLLATION
According to the above code and design, updated
doc.md
.How to test
sharding/tests/test_stateless_collator.py
,test_validator_manager.py
, andtest_validator_manager_utils.py
.Cute Animal Picture