Validator set contracts for Kovan network.
This repo contains ValidatorSet
contract implementations
that are owned by an address. The owner of the validator set can manage the set by adding or
removing validators.
It also includes a relay set contract (RelaySet
) which relays calls to an inner validator set
contract and allows upgrading the relayed contract. It exposes an initiateChange
method for the
relayed contract to trigger an initiate change event in the relay, since the engine will be
listening to events from the relay.
There are two concrete contracts available:
OwnedSet
- for direct usage of an owned validator set contractRelayedOwnedSet
- meant to be used as the relayed contract of a relay validator set
This project uses the Truffle framework. To install the required dependencies run:
yarn install
To run the test suite:
yarn test