Skip to content
  1. Feb 17, 2020
    • Shawn Tabrizi's avatar
      Utility/Recovery passthrough always pays a fee. (#4953) · 0049a93a
      Shawn Tabrizi authored
      * Utility passthrough always pays a fee.
      
      * Use `FunctionOf` instead of Passthrough
      
      * Update recovery passthrough
      0049a93a
    • Pierre Krieger's avatar
      Fix potential panics related to time (#4951) · d67994c5
      Pierre Krieger authored
      * Fix potential peerset panic at initialization
      
      * Also fix legacy_proto/behaviour.rs
      d67994c5
    • h4x3rotab's avatar
      e21bb380
    • Web3 Philosopher's avatar
      Adds babe rpc support (#4729) · 5567d18b
      Web3 Philosopher authored
      
      
      * babe_epochAuthorship
      remove test-helpers from sp-keyring, bump spec_version, impl_version
      
      * bump Cargo.lock
      
      * add BabeRPC to node-rpc
      
      * rename to BabeApi, remove err_derive
      
      * pass &ServiceBuilder to with_rpc_extensions callback
      
      * sc-consensus-babe-rpc
      
      * Update client/consensus/babe/src/lib.rs
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * Better docs, code style chanegs
      
      Co-Authored-By: default avatarAndré Silva <[email protected]>
      
      * new line at the end of Cargo.toml
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarAndré Silva <[email protected]>
      5567d18b
    • Shawn Tabrizi's avatar
      Add passthrough weight to Sudo (#4946) · ab47ee22
      Shawn Tabrizi authored
      * Add passthrough weight to Sudo
      
      * Bump spec version
      
      * Passthrough `pays_fee`
      
      * Sudo always pays fee
      
      * Use `FunctionOf`
      
      * Add support for closure in dispatch classification
      
      * Update docs
      ab47ee22
    • Shawn Tabrizi's avatar
      Fix various spelling errors (#4940) · c7a14db7
      Shawn Tabrizi authored
      
      
      * meaningfull -> meaningful
      
      * initialise -> initialize
      
      * tokans -> tokens
      
      * incentivise -> incentivize
      
      * lenght -> length
      
      * incentivisation -> incentivization
      
      * doesnt't -> doesn't
      
      * overwriten -> overwritten
      
      * lifecycle -> life cycle
      
      * lifecycle -> life cycle
      
      * usefull -> useful
      
      * noone -> no one
      
      * spaming -> spamming
      
      * defered -> deferred
      
      * hieght -> height
      
      * sumation -> summation
      
      * ingore -> ignore
      
      * registed -> registered
      
      * Auxialary -> Auxiliary
      
      * loggin -> logging
      
      * independance -> independence
      
      * trailling -> trailing
      
      * responsability -> responsibility
      
      * trunkated -> truncated
      
      * Weither -> Whether
      
      * informations -> information
      
      * Runtume -> Runtime
      
      * choosen -> chosen
      
      * delcataion -> declaration
      
      * Unchekced -> Unchecked
      
      * defintion -> definition
      
      * scrach -> scratch
      
      * imput -> input
      
      * transfered -> transferred
      
      * endownment -> endowment
      
      * Determinator -> Determiner
      
      * relevent -> relevant
      
      * emited -> emitted
      
      * acocunt -> account
      
      * proprotional -> proportional
      
      * instantiaion -> instantiation
      
      * commited -> committed
      
      * tombstonedead -> tombstone
      
      * uwnrap -> unwrap
      
      * acount -> account
      
      * specialised -> specialized
      
      * existant -> existent
      
      * requried -> required
      
      * Anull -> Annul
      
      * AUTHORITES -> AUTHORITIES
      
      * underyling -> underlying
      
      * recognisable -> recognizable
      
      * Capitalise -> Capitalize
      
      * reportfor -> report for
      
      * hearbeat -> heartbeat
      
      * onlineness -> being online
      
      * creater -> creator
      
      * Bytearray -> Byte array
      
      * Despoit -> Deposit
      
      * substratced -> subtracted
      
      * Curent -> Current
      
      * imbalanes -> imbalances
      
      * countfown -> countdown
      
      * inexisting -> inexistent
      
      * additionaly -> additionally
      
      * substracted -> subtracted
      
      * auxilary -> auxiliary
      
      * parital -> partial
      
      * in't -> isn't
      
      * compatability -> compatibility
      
      * infomation -> information
      
      * etected -> detected
      
      * extrinsiscs -> extrinsics
      
      * reprensentation -> representation
      
      * coonfiguration -> configuration
      
      * primtives -> primitives
      
      * miscelanious -> miscellaneous
      
      * VERISON -> VERSION
      
      * endcoded -> encoded
      
      * Genrates -> Generates
      
      * miliseconds -> milliseconds
      
      * occured -> occurred
      
      * trully -> truely
      
      * truely -> truly
      
      * conjuction -> conjunction
      
      * encouters -> encounters
      
      * customised -> customized
      
      * deterministicly -> deterministically
      
      * finalisation -> finalization
      
      * pluggable -> plugable
      
      * wakeup -> wake-up
      
      * interemdiate -> intermediate
      
      * intepreting -> interpreting
      
      * finalzied -> finalized
      
      * throgh -> through
      
      * extinsic -> extrinsic
      
      * convient -> convenient
      
      * allocater -> allocator
      
      * propagateable -> propagatable
      
      * succesfuly -> successfully
      
      * finalising -> finalizing
      
      * publically -> publicly
      
      * phrasee -> phrase
      
      * substration -> substractions
      
      * substractions -> subtractions
      
      * neccessarily -> necessarily
      
      * Inlucde -> Include
      
      * unefficient -> inefficient
      
      * thay -> they
      
      * funtion -> function
      
      * datastructures -> data structures
      
      * infromation -> information
      
      * propagatable -> propagable
      
      * ecountered -> encountered
      
      * recognise -> recognize
      
      * intergration -> integration
      
      * lastet -> latest
      
      * datatypes -> data types
      
      * datatype -> data type
      
      * Strongarming -> Strong Arming
      
      * avaible -> available
      
      * Commiting -> Committing
      
      * Retreiving -> Retrieving
      
      * shoud -> should
      
      * canonicaliziation -> canonicalization
      
      * comitted -> committed
      
      * clonable -> cloneable
      
      * Uknown -> Unknown
      
      * reponse -> response
      
      * arbitary -> arbitrary
      
      * Capapbilities -> Capabilities
      
      * responsbile -> responsible
      
      * initialisation -> initialization
      
      * cames -> came
      
      * intemediate -> intermediate
      
      * reqeust -> request
      
      * intance -> instance
      
      * explcitly -> explicitly
      
      * neighor -> neighbor
      
      * reolving -> resolving
      
      * untill -> until
      
      * Validte -> Validate
      
      * deserailize -> deserialize
      
      * literaly -> literally
      
      * preceeding -> preceding
      
      * abpve -> above
      
      * chcecked -> checked
      
      * numbet -> number
      
      * Unknow -> Unknown
      
      * halfs -> halves
      
      * gossup -> gossip
      
      * givent -> given
      
      * immediatelly -> immediately
      
      * slicable -> sliceable
      
      * conensus -> consensus
      
      * Mimicks -> Mimics
      
      * acccept -> accept
      
      * serialise -> serialize
      
      * exstrinsics -> extrinsics
      
      * panicks -> panics
      
      * maintaince -> maintenance
      
      * repeatidely -> repeatedly
      
      * anecstor -> ancestor
      
      * becasue -> because
      
      * processer -> processor
      
      * Prunning -> Pruning
      
      * insterested -> interested
      
      * unuseful -> not useful
      
      * yeided -> yielded
      
      * descendfing -> descending
      
      * corresponts -> corresponds
      
      * survivew -> survive
      
      * keps -> keeps
      
      * ligh -> light
      
      * prerequisities -> prerequisites
      
      * positiion -> position
      
      * depedency -> dependency
      
      * extrinisic -> extrinsic
      
      * atomicaly -> atomically
      
      * staticly -> statically
      
      * resul -> result
      
      * timestamb -> timestamp
      
      * Utilites -> Utilities
      
      * ammount -> amount
      
      * pocess -> process
      
      * exteral -> external
      
      * Update client/finality-grandpa/src/tests.rs
      
      * Update primitives/io/src/lib.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update primitives/blockchain/src/lib.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update frame/support/src/weights.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update bin/node/cli/tests/common.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update client/api/src/execution_extensions.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update client/cli/src/params.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update client/executor/common/src/sandbox.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update client/api/src/execution_extensions.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update client/finality-grandpa/src/communication/mod.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update client/state-db/src/pruning.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update frame/contracts/src/tests.rs
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update client/api/src/execution_extensions.rs
      
      * bump impl
      
      * timestamb -> timestamp
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      c7a14db7
    • Nikolay Volf's avatar
      Revalidation queue for transaction pool (#4781) · 86ab0cb4
      Nikolay Volf authored
      
      
      * Revalidation queeue.
      
      * add docs and license
      
      * move test
      
      * refactor worker to async/await
      
      * address review
      
      * fix warnings
      
      * update Cargo.lock
      
      * move background task to service
      
      * use tomusdrw loop
      
      * naming
      
      * return From::from
      
      * add doc comment
      
      * add more doc comments
      
      * fix merge bug
      
      * add doc comment for test function
      
      * Update client/transaction-pool/src/testing/pool.rs
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * more review fixes
      
      * refactor to allow service keep background tasks from isntantiated subsystems
      
      * use const delay
      
      * fix fallout
      
      * remove fallout
      
      * remove already moved test
      
      * fix doc test
      
      * add valid_at helper
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      86ab0cb4
    • Nikolay Volf's avatar
      Database & keyring generation for benchmarks optimised (#4945) · 590142b9
      Nikolay Volf authored
      
      
      * reorganize and optimize
      
      * Update bin/node/testing/benches/import.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update bin/node/testing/benches/import.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update bin/node/testing/benches/import.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * review suggestions
      
      * fix build
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      590142b9
    • Nikolay Volf's avatar
      Update import benchmark parameters (#4941) · 09a06015
      Nikolay Volf authored
      * update benchmark arguments
      
      * even more samples since it is fast now
      09a06015
    • Pierre Krieger's avatar
      Update libp2p to 0.16 (#4928) · 13cba8da
      Pierre Krieger authored
      * Update libp2p to 0.16
      
      * Actually update to libp2p 0.16 🤦
      
      * Fix missed updates
      
      * Fix peerset tests
      13cba8da
    • Arkadiy Paronyan's avatar
      Fix import queue thread pool shutdown (#4929) · c8fa6518
      Arkadiy Paronyan authored
      * Fix import queue thread pool shutdown
      
      * Make sure runtime is disposed before telemetry
      
      * Close channel istead of sending a message
      
      * Fixed test
      c8fa6518
    • Wei Tang's avatar
      Refactor BlockImportParams to be non_exhaustive (#4936) · c7b09b64
      Wei Tang authored
      * Refactor BlockImportParams to be non_exhaustive
      
      * Fix cargo check compile
      c7b09b64
  2. Feb 15, 2020
  3. Feb 14, 2020
    • Bastian Köcher's avatar
      Adds `with_pair!` macro to application-crypto (#4885) · 91989cab
      Bastian Köcher authored
      * Adds `with_pair!` macro to application-crypto
      
      This macro will "generate" the given code only when the crypto pair is
      available. So, when either the `std` or the `full_crypto` feature is
      enabled.
      
      * Fix example
      91989cab
    • Web3 Philosopher's avatar
      Adds fork-awareness and finalization notifications to transaction pool watchers. (#4740) · d3a3e288
      Web3 Philosopher authored
      
      
      * adds finalization support to sc-transaction-pool using MaintainedTransactionPool for finalization events
      
      * adds TransactionStatus::Retracted, notify watchers of retracted blocks, finalized now finalizes, transactions for current finalized -> last finalized block
      
      * adds last_finalized to ChainApi, use generic BlockT for ChainEvent
      
      * fix tests
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * tests
      
      * fix tests, docs, lazily dedupe pruned hashes
      
      * fix tests, Cargo.lock
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * remove tree_route, last_finalized from ChainApi, add block hash to Finalization and Retracted events
      
      * prune finality watchers
      
      * fix tests
      
      * remove HeaderBackend bound from FullChainApi
      
      * code style nits, terminate stream in finality_timeout
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      d3a3e288
    • Alexander Theißen's avatar
      Allow to distinguish out of gas from other traps (#4883) · b999911b
      Alexander Theißen authored
      * contracts: Allow to distinguish out of gas from other traps
      
      When a contract encounters a runtime error a wasm trap is
      triggered and the execution is halted. Currently, no matter
      what was the cause for the trap it is always reported as:
      DispatchError::Other("contract trapped during execution").
      
      However, the trap that is triggered if a contract exhausts
      its gas budget is particulary interesting. Therefore we add
      a seperate error message for this cause:
      DispatchError::Other("ran out of gas during contract execution").
      
      A test is added hat executes a contract that never terminates.
      Therefore it always exhausts is gas budget.
      
      * fixup! contracts: Allow to distinguish out of gas from other traps
      
      Remove overlong lines.
      
      * fixup! contracts: Allow to distinguish out of gas from other traps
      
      Rename Contract to Contracts
      b999911b
    • Gavin Wood's avatar
      Composite accounts (#4820) · 5b7512e2
      Gavin Wood authored
      
      
      * Basic account composition.
      
      * Add try_mutate_exists
      
      * De-duplicate
      
      * Refactor away the UpdateBalanceOutcome
      
      * Expunge final UpdateBalanceOutcome refs
      
      * Refactor transfer
      
      * Refactor reservable currency stuff.
      
      * Test with the alternative setup.
      
      * Fixes
      
      * Test with both setups.
      
      * Fixes
      
      * Fix
      
      * Fix macros
      
      * Make indices opt-in
      
      * Remove CreationFee, and make indices opt-in.
      
      * Fix construct_runtime
      
      * Fix last few bits
      
      * Fix tests
      
      * Update trait impls
      
      * Don't hardcode the system event
      
      * Make tests build and fix some stuff.
      
      * Pointlessly bump runtime version
      
      * Fix benchmark
      
      * Another fix
      
      * Whitespace
      
      * Make indices module economically safe
      
      * Migrations for indices.
      
      * Fix
      
      * Whilespace
      
      * Trim defunct migrations
      
      * Remove unused storage item
      
      * More contains_key fixes
      
      * Docs.
      
      * Bump runtime
      
      * Remove unneeded code
      
      * Fix test
      
      * Fix test
      
      * Update frame/balances/src/lib.rs
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * Fix ED logic
      
      * Repatriate reserved logic
      
      * Typo
      
      * Fix typo
      
      * Update frame/system/src/lib.rs
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * Update frame/system/src/lib.rs
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * Last few fixes
      
      * Another fix
      
      * Build fix
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarJaco Greeff <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      5b7512e2
    • Bastian Köcher's avatar
      Adds a test to ensure that we clear the heap between calls into runtime (#4903) · d3fa8c91
      Bastian Köcher authored
      * Adds a test to ensure that we clear the heap between calls into runtime
      
      The tests shows that we currently not clearing the heap in wasmtime.
      For now we don't run the test for wasmtime.
      
      * Fix compilation
      d3fa8c91
  4. Feb 13, 2020
    • Wei Tang's avatar
      pallet-evm: refactor duplicate code in call/create/create2 (#4922) · 78b5a062
      Wei Tang authored
      * pallet-evm: refactor duplicate code in call/create/create2
      
      * Bump runtime version
      78b5a062
    • Wei Tang's avatar
      pallet-evm: add support for transaction-level create2 (#4907) · 0f122445
      Wei Tang authored
      * pallet-evm: add support for transaction-level create2
      
      * Bump runtime version
      
      * Switch to FunctionOf for weights
      0f122445
    • Nikolay Volf's avatar
      6e31cd7a
    • Sergey Pepyakin's avatar
      executor: Migrate wasmtime backend to a high-level API (#4686) · 49af986a
      Sergey Pepyakin authored
      
      
      * Migrate wasmtime backend to wasmtime-api
      
      * Port to a newer version of wasmtime
      
      * Update to the latest changes.
      
      * Rejig the sandbox module a bit
      
      * Materialze
      
      * Fixes.
      
      * executor wasm_runtime fix
      
      * Refactor everything
      
      * More refactoring
      
      * Even more refactorings
      
      * More cleaning.
      
      * Update to the latest wasmtime
      
      * Reformat
      
      * Renames
      
      * Refactoring and comments.
      
      * Docs
      
      * Rename FunctionExecutor to host.
      
      * Imrpove docs.
      
      * fmt
      
      * Remove panic
      
      * Assert the number of arguments are equal between wasmtime and hostfunc.
      
      * Comment a possible panic if there is no corresponding value variant.
      
      * Check signature of the entrypoint.
      
      * Use git version of wasmtime
      
      * Refine and doc the sandbox code.
      
      * Comment RefCells.
      
      * Update wasmtime to the latest-ish master.
      
      This may solve a problem with segfaults.
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * Use full SHA1 hash of wasmtime commit.
      
      * Add a panic message.
      
      * Add some documentation
      
      * Update wasmtime version to include SIGSEGV fix
      
      * Update to crates.io version of wasmtime
      
      * Make it work.
      
      * Move the creation of memory into `InstanceWrapper::new`
      
      * Make `InstanceWrapper` !Send & !Sync
      
      * Avoid using `take_mut`
      
      * Update client/executor/wasmtime/Cargo.toml
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Limit maximum size of memory.
      
      * Rename `init_state` to `with_initialized_state`
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      49af986a
    • Kian Paimani's avatar
      Per-things trait. (#4904) · c871eaac
      Kian Paimani authored
      * Give perthigns the trait it always deserved.
      
      * Make staking and phragmen work with the new generic per_thing
      
      * Make everything work together 🔨
      
      * a bit of cleanup
      
      * Clean usage
      
      * Bump.
      
      * Fix name
      
      * fix grumbles
      
      * hopefully fix the ui test
      
      * Some grumbles
      
      * revamp traits again
      
      * Better naming again.
      c871eaac
    • Nikolay Volf's avatar
      Full block import benchmark (#4865) · e6454eb0
      Nikolay Volf authored
      
      
      * full block import benchmark
      
      * try rocksdb cache
      
      * add profiling helper
      
      * use random keyring instead of zero caching
      
      * update docs
      
      * add more io stats
      
      * remove last sentence
      
      * add ci job to see
      
      * Update primitives/keyring/src/sr25519.rs
      
      Co-Authored-By: default avatarMarcio Diaz <[email protected]>
      
      * switch to 100tx-block
      
      * remove ci script
      
      Co-authored-by: default avatarMarcio Diaz <[email protected]>
      e6454eb0
    • Bastian Köcher's avatar
      Fix chain-spec and make sure it does not breaks again (#4906) · 96862f83
      Bastian Köcher authored
      * Fix chain-spec and make sure it does not breaks again
      
      * REview feedback
      96862f83
  5. Feb 12, 2020
    • Nikolay Volf's avatar
      add sr25519 bench (#4905) · a84c05da
      Nikolay Volf authored
      a84c05da
    • Xiliang Chen's avatar
      serialize partial_fee into string (#4898) · 35b5cdd2
      Xiliang Chen authored
      * serialize partial_fee into string
      
      * implement deserialize
      
      * bump version
      35b5cdd2
    • asynchronous rob's avatar
      b3cf9794
    • Max Inden's avatar
      client/network-gossip: Integrate GossipEngine tasks into Future impl (#4767) · 3f3910cc
      Max Inden authored
      `GossipEngine` spawns two tasks, one for a periodic tick, one to forward
      messages from the network to subscribers. These tasks hold an `Arc` to a
      `GossipEngineInner`.
      
      To reduce the amount of shared ownership (locking) this patch integrates
      the two tasks into a `Future` implementation on the `GossipEngine`
      struct. This `Future` implementation can now be called from a single
      owner, e.g. the `finality-grandpa` `NetworkBridge`.
      
      As a side effect this removes the requirement on the `network-gossip`
      crate to spawn tasks and thereby removes the requirement on the
      `finality-grandpa` crate to spawn any tasks.
      
      This is part of a greater effort to reduce the number of owners of
      components within `finality-grandpa`, `network` and `network-gossip` as
      well as to reduce the amount of unbounded channels. For details see
      d9837d7d, 5f80929d and 597c0a6c.
      3f3910cc
    • Shawn Tabrizi's avatar
      Benchmark the Balances Pallet (#4879) · 13971fe2
      Shawn Tabrizi authored
      
      
      * Initial transfer bench
      
      * Add best case
      
      * Transfer keep alive
      
      * Set balance benchmarks
      
      * Bump impl
      
      * Fix text
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      13971fe2
    • Toralf Wittner's avatar
      network: Use "one shot" protocol handler. (#3520) · 51a45c5d
      Toralf Wittner authored
      * network: Use "one shot" protocol handler.
      
      Add two new `NetworkBehaviour`s, one handling remote block requests
      and another one to handle light client requests (both local and from
      remote). The change is motivated by the desire to use multiple
      substreams of a single connection for different protocols. To achieve
      this, libp2p's `OneShotHandler` is used as a protocol handler in each
      behaviour. It will open a fresh substream for the duration of the
      request and close it afterwards. For block requests, we currently only
      handle incoming requests from remote and tests are missing. For light
      client handling we support incoming requests from remote and also
      ported a substantial amount of functionality over from
      `light_dispatch.rs` (including several tests). However the result lacks
      in at least two aspects:
      
      (1) We require external updates w.r.t. the best block per peer and
      currently nothing updates this information.
      (2) We carry a lot of peer-related state around.
      
      Both aspects could be simplified by externalising peer selection and
      just requiring a specific peer ID where the request should be sent to.
      We still have to maintain some peer related state due to the way
      libp2p's swarm and network behaviour work (e.g. we must make sure to
      always issue `NetworkBehaviourAction::SendEvent`s to peers we are
      connected to, otherwise the actions die a silent death.
      
      Another change implemented here is the use of protocol buffers as the
      encoding for network messages. Certain individual fields of messages
      are still SCALE encoded. There has been some discussion about this
      in another PR (https://github.com/paritytech/substrate/pull/3452), so
      far without resolution.
      
      * Uncomment `Behaviour::light_client_request`.
      
      * Add license headers.
      51a45c5d
    • Shawn Tabrizi's avatar
      Do not allow zero Existential Deposit when using Balances (#4894) · 173644c8
      Shawn Tabrizi authored
      
      
      * Add non-zero ed check on Balances genesis
      
      * Update ED from 0 to 1
      
      * bump impl
      
      * bump spec
      
      * Found remove more ed = 0
      
      * Fix some contract tests
      
      * Use ctx.overlay.set_balance for contracts
      
      * Fix staking test
      
      * Remove obsolete logic
      
      * Allow death of payout account in society
      
      * Update frame/balances/src/lib.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Dont create genesis balances if balance is zero in transaction payment pallet
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarGavin Wood <[email protected]>
      173644c8
    • Toralf Wittner's avatar
      Add command-line flag to enable yamux flow control. (#4892) · 818c05bb
      Toralf Wittner authored
      * Add command-line flag to enable yamux flow control.
      
      We never enabled proper flow-control for yamux streams which may cause
      stream buffers to exceed their configured limit when the stream
      producer outpaces the stream consumer. By switching the window update
      mode to on-read, producers will only receive more sending credit when
      all data has been consumed from the stream buffer. Using this option
      creates backpressure on producers. However depending on the protocol
      there is a risk of deadlock, if both endpoints concurrently attempt to
      send more data than they have credit for and neither side reads before
      finishing their writes. To facilitate proper testing, this PR adds a
      command-line flag `use-yamux-flow-control`.
      
      * Replace comment with generic message.
      818c05bb
    • Marcio Diaz's avatar
      Benchmark Timestamp Pallet (#4891) · ae70b103
      Marcio Diaz authored
      * Add selected_benchmark! macro.
      
      * Use selected_benchmark! in Identity pallet.
      
      * Implement timestamp pallet benchmark.
      
      * Fix some nits.
      
      * Bump impl_version.
      ae70b103
  6. Feb 11, 2020