poanetwork / posdao-contracts

Smart contracts for POSDAO (Proof of Stake Decentralized Autonomous Organization consensus), a DPOS consensus implemented in Solidity and running within EVM with swappable BFT consensus
Other
105 stars 49 forks source link

Fixed ValidatorSetHbbft Unit Tests #53

Closed dforsten closed 4 years ago

dforsten commented 4 years ago

A couple of the unit tests were failing due to missing contract function call arguments.

Used the "--mnemonic" option in test.sh to be able to use the validators' public keys in unit tests and supplied the validators' public keys and IP addresses to relevant contract function calls.