2b1d148ceb
* Add randomness contract support to Authority Round. Changes have been cherry-picked from poanetwork's aura-pos branch. Most of the work has been done by @mbr. * Address review comments for randomness contract. Co-Authored-By: David <dvdplm@gmail.com> * Rename revealSecret to revealNumber * Update Randomness contract bytecode * Use H256, rename secret to random number. * Use get_commit_and_cipher * Clean up Miner::prepare_block. * Remove is_reveal_phase call. * Add more comments, require randomness contract map. * Simplify run_randomness_phase * Address review comments. * Remove Client::transact_contract. |
||
---|---|---|
.. | ||
contracts | ||
ethereum | ||
tx_permission_tests | ||
wasm-tests@0edbf860ff | ||
authority_round_block_reward_contract.json | ||
authority_round_empty_steps.json | ||
authority_round_randomness_contract.json | ||
authority_round.json | ||
constructor.json | ||
instant_seal.json | ||
null_morden_with_finality.json | ||
null_morden_with_reward.json | ||
null_morden.json | ||
null.json | ||
spec_backward_compability.json | ||
validator_contract.json | ||
validator_multi.json | ||
validator_safe_contract.json |