8000 Tags · fw6/nearcore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: fw6/nearcore

Tags

shardnet

Toggle shardnet's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
test: introduce ValidatorSchedule to specify COPs for KeyValue runtim…

…e conveniently (near#7256)

With cops, we now need to somehow configure `setup_mock_all_validators` to also specify cops. It *could* be done by adding just another argument, but I'd rather avoid that. Instead, what I suggest is bunching up all related configs into a single builder object, `ValidatorSchedule`, and use that as a universal tool to configure validators for KeyValueRuntime. 

Note that this PR doesn't change `setup_mock_all_validators` -- that's going to be a bigger diff, so I want to land that separately.

I might also merge this with `EpochValidatorSet`, the structs handle similar data, but, at this stage, `EpochValidatorSet` is implementation detail, while `ValidatorSchedule` is the API for authors of tests. 

Can be reviewed per commit.

1.28.0

Toggle 1.28.0's commit message
Prepare 1.28.0 release

1.28.0-rc.3

Toggle 1.28.0-rc.3's commit message
Prepare 1.28.0-rc.3

1.28.0-rc.2

Toggle 1.28.0-rc.2's commit message
Prepare 1.28.0-rc.2 release

1.28.0-rc.1

Toggle 1.28.0-rc.1's commit message
Prepare 1.28.0-rc.1 release

0