1. Feb 19, 2018
    • Marek Kotewicz's avatar
    • Lorenzo Manacorda's avatar
      spec: Validate required divisor fields are not 0 (#7933) · e630f647
      Lorenzo Manacorda authored
      * Add validate_non_zero function
      
      It's used to validate that a Spec's uint field used as a divisor is not zero.
      
      * Add deserialize_with to gas_limit_bound_divisor
      
      Prevents panics due to divide-by-zero on the gas_limit_bound_divisor
      field.
      
      * Add deserialize_with to difficulty_bound_divisor
      
      Prevents panics due to divide-by-zero on the difficulty_bound_divisor
      field.
      
      * Add validate_optional_non_zero function
      
      Used to validate Option<Uint> divisor fields.
      
      * Use deserialize_with on optional divisor fields.
      
      * Add #[serde(default)] attribute to divisor fields
      
      When using `#[serde(deserialize_with)]`, `#[serde(default)]` must be specified so that missing
      fields can be deserialized with the deserializer for `None`.
      e630f647
  2. Feb 18, 2018
  3. Feb 17, 2018
  4. Feb 16, 2018
  5. Feb 15, 2018
    • Svyatoslav Nikolsky's avatar
      SecretStore: threshold ECDSA PoC (#7615) · 37bfcb73
      Svyatoslav Nikolsky authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * SecretStore: ECDSA PoC
      
      * SecretStore: fixed ECDSA serialization + cleanup
      
      * removed unused param
      
      * removed unused method
      
      * removed debug unwrap
      
      * 1/x -> inv(x)
      
      * SecretStore: merged fixes from ECDSA session branch
      
      * once again  1/* -> inv(*)
      
      * fixed grumbles
      37bfcb73
    • Tomasz Drwięga's avatar
      Fix CSP for dapps that require eval. (#7867) · 226215ef
      Tomasz Drwięga authored
      * Add allowJsEval to manifest.
      
      * Enable 'unsafe-eval' if requested in manifest.
      226215ef
    • Afri Schoedon's avatar
      Fix gitlab (#7901) · 0a34ad50
      Afri Schoedon authored
      0a34ad50
    • Denis S. Soldatov aka General-Beck's avatar
      Gitlb snap master patch (#7900) · 3d803762
      Denis S. Soldatov aka General-Beck authored
      * fix snap build master
      
      add rhash
      
      * fix double line
      
      * remove filure from snap build stage
      3d803762
    • André Silva's avatar
      Aura: Broadcast empty step messages instead of creating empty blocks (#7605) · aab63c33
      André Silva authored and asynchronous rob's avatar asynchronous rob committed
      * aura: broadcast empty step message instead of sealing empty block
      
      * aura: add empty_step messages to seal
      
      * aura: include parent_hash in empty step message
      
      * aura: verify received empty step messages
      
      * aura: verify empty step messages in block
      
      * aura: fix dead lock on empty_steps
      
      * aura: fix EmptyStep Encodable
      
      * aura: take number of empty steps into account in chain score
      
      * aura: use empty step signers for finality
      
      * aura: add empty "empty step" messages to seal when reading from spec
      
      * aura: fix EmptyStep rlp encoding
      
      * aura: use Vec<u8> instead of Bytes
      
      * aura: fix block empty step verification
      
      * Update .gitlab-ci.yml
      
      fix lint
      
      * aura: fix accumulation of empty step signatures for finality
      
      * aura: include empty steps in seal signature
      
      * aura: configurable max number of empty steps
      
      * engine: pass block header to seal_fields method
      
      This is necessary to make the number of seal fields dynamic,
      e.g. activating a transition on a certain block number that changes
      the seal.
      
      * aura: add transition to enable empty step messages
      
      * aura: clear old empty step messages on verify_block_external
      
      * aura: ignore empty step messages from the future
      
      * aura: report skipped primaries when empty steps are not enabled
      
      * aura: fix tests
      
      * aura: report misbehavior
      
      * aura: add tests for rolling finality with multiple signatures
      
      * engine: fix validator set test
      
      In this test the block validation wasn't failing because the block was in the
      future (expected failure) but was instead failing because the author of the
      block isn't the expected authority. Since we added reporting of blocks produced
      by the wrong authority this test started failing.
      
      * aura: reward all the authors of empty step messages
      
      * aura: fix reward attribution for new blocks
      
      * aura: add tests for empty steps broadcasting and inclusion in blocks
      
      * aura: reduce size of empty step messages in seal
      
      * aura: add test for empty step inclusion in blocks
      
      * aura: add test for rewarding of empty steps
      
      * aura: add test for empty steps validation
      
      * aura: fix rlp encoding of sealed empty step
      
      * aura: fix grumbles
      aab63c33
  6. Feb 14, 2018
  7. Feb 13, 2018
  8. Feb 12, 2018
  9. Feb 09, 2018
    • Marek Kotewicz's avatar
      ethabi version 5 (#7723) · c060d958
      Marek Kotewicz authored
      * Refactor updater to use ethabi-derive
      
      * Grumble: do_call type alias
      
      * Empty commit to trigger test re-run
      
      * migration to ethabi-5.0
      
      * migration to ethabi-5.0 in progress
      
      * use ethabi_deriven to generate TransactAcl contract
      
      * use ethabi_deriven to generate Registry contract
      
      * hash-fetch uses ethabi_derive, removed retain cycle from updater, fixed #7720
      
      * node-filter crate uses ethabi_derive to generate peer_set contract interface
      
      * use LruCache in node-filter instead of HashMap
      
      * validator_set engine uses ethabi_derive
      
      * ethcore does not depend on native_contracts
      
      * miner does no depend on native_contracts
      
      * secret_store does not use native_contracts (in progress)
      
      * removed native-contracts
      
      * ethcore and updater does not depend on futures
      
      * updated ethereum-types
      
      * fixed all warnings caused by using new version of ethereum-types
      
      * updated ethabi_derive && ethabi_contract to get rid of warnings
      
      * removed another retain cycle in updater, fixed following minor version on update
      
      * moved contracts out of native_contracts res
      
      * updated ethabi_contract
      
      * fixed failing test
      
      * fixed failing test
      
      * there is no need to create two contracts of the same kind any more
      
      * simplify updater::ReleaseTrack conversion into u8 and add several tests for it
      
      * applied review suggestions
      
      * applied review suggestions
      c060d958
  10. Feb 08, 2018
  11. Feb 07, 2018