Closed DemiMarie closed 5 years ago
@afck How should we test it? What about using #101?
Yes, but possibly #101 will have to be extended to test both cases.
We also need to test the case where a node submits a block, even though they are not a validator.
I'm going to test this after I make some high priority tasks (describing the contracts in README, Whitepaper, and commenting contracts' code to help auditors understand the contracts easily - I think it may take 1-2 weeks).
I squashed, rebased and added another commit.
Can I start to test this with posdao-test-setup
or there are some fixes waiting to be done?
Part of this is already in #129. We still need to figure out how to re-enable and fix the part that's commented out in there; but probably this PR should be closed in favor of #129.
We still need to figure out how to re-enable and fix the part that's commented out in there
Do you mean this? https://github.com/poanetwork/parity-ethereum/blob/74fea45aef174a16d31c0e879216fdcd53c07cef/ethcore/src/engines/validator_set/safe_contract.rs#L344-L362
Yes, exactly. But I think I already have a solution. Will push it to #129.
Done in #129.
This is #98, reopened.