- May 15, 2020
-
-
gabriel klawitter authored
-
- May 14, 2020
-
-
Demi Obenour authored
* Add ‘transaction_version’ to the signed transaction This allows hardware wallets to know which transactions they can safely sign. To reduce transaction size, I reduced it to a ‘u8’ from a ‘u32’. Fixes #5951. * Restore transaction_version to a u32 * Fix comments `transaction_version` is not part of a tx, but is still signed. Co-authored-by: Bastian Köcher <[email protected]> * Fix the test suite I had forgotten to change the production of transactions in the test code. * Fix benchmarks * Improve docs for `CheckTxVersion` in `frame_system` Co-authored-by: André Silva <[email protected]> * Remove spurious cast Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Pierre Krieger authored
-
Alexander Popiak authored
-
Bastian Köcher authored
-
s3krit authored
-
- May 13, 2020
-
-
André Silva authored
-
Demi Obenour authored
* Fix escaping of the wasm file path * Add separate methods for escaped paths
-
Bastian Köcher authored
* Improve `BadProof` docs * Update primitives/runtime/src/transaction_validity.rs Co-authored-by: joe petrowski <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
emostov authored
* transition treasury to configurable moduleids * make election module id configurable * convert runtime and pallet to accept module id config elections-phragmen * add ModuleId to evm pallet * change society pallet to configurable module id * delete commented out module_id * fix merge residual compile errors * setup initial mock structure * establish privelleged function test * save progress * first pass new_test_ext * test sudo to make sure it error when non-root * add set keys tests * fix unused result from set_key call * remove unused imports warnings * pre master merge * Expose BlockHashCount on system metadata constants (#5960) * squash * fix whitespace * spelling and whitespace * a single pesky space * add logger module to mock * add logger dispatch to privlleged function * sub logger in for dummy functions * create first of several event tests * first pass at test coverage for events * comment house keeping * spell check * Expose BlockHashCount on system metadata constants (#5960) * establish privelleged function test * save progress * first pass new_test_ext * test sudo to make sure it error when non-root * add set keys tests * fix unused result from set_key call * remove unused imports warnings * pre master merge * squash * fix whitespace * spelling and whitespace * a single pesky space * add logger module to mock * add logger dispatch to privlleged function * sub logger in for dummy functions * create first of several event tests * first pass at test coverage for events * comment house keeping * implement last_seen_account storage item, event, and, logger function * create vec account log and use in tests * allow weight to be passed into account log * refactor all log dispatchables * save progress * complete initial transition to refactored logger * cleaning * fix merge residual compile errors setup initial mock structure establish privelleged function test save progress first pass new_test_ext test sudo to make sure it error when non-root add set keys tests fix unused result from set_key call parent 5151bd784545ededa6153052a93fcc309f7b3885 author zeke <[email protected]> 1589076740 -0700 committer zeke <[email protected]> 1589350443 -0700 parent 5151bd784545ededa6153052a93fcc309f7b3885 author zeke <[email protected]> 1589076740 -0700 committer zeke <[email protected]> 1589350442 -0700 remove unused imports warnings fix unused result from set_key call remove unused imports warnings pre master merge Expose BlockHashCount on system metadata constants (#5960) squash fix whitespace spelling and whitespace a single pesky space add logger module to mock add logger dispatch to privlleged function sub logger in for dummy functions create first of several event tests first pass at test coverage for events comment house keeping pre master merge Expose BlockHashCount on system metadata constants (#5960) Expose BlockHashCount on system metadata constants (#5960) fix whitespace spell check implement last_seen_account storage item, event, and, logger function create vec account log and use in tests allow weight to be passed into account log refactor all log dispatchables save progress complete initial transition to refactored logger cleaning * clean up * cleaning * condense non_privileged logs into 1 fn * Apply suggestions from code review Co-authored-by: Jaco Greeff <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Nikolay Volf authored
-
Pierre Krieger authored
* Fix state mismatch in behaviour.rs * Add TODO
-
Rakan Alhneiti authored
* Tabify code * Implement CryptoTypePublicPair in app_crypto * Cleanup redundancy * Introduce to_public_crypto_pair to Public trait * Implement method for test
-
Bastian Köcher authored
Instead of resetting `SIGPIPE` to the system default handler, we now handle a clap error manually and ignore any error when writing to `stdout`/`stderr`. In this way, the node does not silently stops when it encounters a `SIGPIPE` in normal mode and we still support piping of the cli output.
-
Jon Häggblad authored
* grandpa: fix clippy lints about identity conversions * grandpa: fix clippy lints about unwrap_or_default * grandpa: fix clippy lints about explicit return * grandpa: fix clippy lints about unnecessary intermediary * grandpa: fix clippy lints about to_string * grandpa: fix clippy lints about unused imports * grandpa: fix clippy lints about increments * grandpa: fix clippy lints about unnecessary matches * grandpa: fix clippy lints about struct arguments * Fix clippy::redundant_clone * Fix clippy::clone_on_copy * Fix clippy::or_fun_call * Fix clippy::identity_conversion
-
Pierre Krieger authored
* Add mitigation for the state inconsistency issue * Add logging
-
Rakan Alhneiti authored
-
Bastian Köcher authored
-
Igor Żuk authored
-
Alexander Theißen authored
* Run script in strict mode * Add proper seperator between revision and file * Fix copy paste error * Do not repeat limit number in error text * Fix bad revision error * Do not mask pipe errors * Fix typo * Remove unnecessary ... syntax * Do not fetch all commits of master * Fetching one commit is enough
-
joe petrowski authored
* change BlockHashCount param * fix test and lock
-
- May 12, 2020
-
-
Bastian Köcher authored
Instead of informing the telemetry about each block that is finalized, we only need to send the last finalized block. This removes log spam on initial sync.
-
Paweł Nguyen authored
* Fix minor typos on im-online documentation * Update frame/im-online/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Pierre Krieger authored
-
Max Inden authored
Substrate was previously running both a chain specific Kademlia DHT as well as the `/ipfs/kad/1.0.0` Kademlia DHT for backwards compatibility. (See 4db45a85 for details.) With the end of the transition period this commit removes the former only leaving the latter and thus preventing the discovery of incompatible nodes via Kademlia.
-
Pierre Krieger authored
* Spawn the network worker with spawn_blocking * Some comment adjustments * Fix shutdown not working
-
Pierre Krieger authored
-
Svyatoslav Nikolsky authored
-
André Silva authored
* babe: fix formatting * babe: re-use same epoch data in epoch_authorship rpc method
-
Ashley authored
-
André Silva authored
* primitives: move reporting key type to common key types * session: remove useless methods on MembershipProof * grandpa: remove std special-casing when checking signatures * grandpa: add some more docs * grandpa: use proper error types rather than strings
-
André Silva authored
-
Max Inden authored
An `UntilImported` stream wraps a `Stream` of incoming messages and waits for blocks those messages are based on before passing the messages on. The above `Stream` of incoming messages implements `Unpin`, thus there is no need to use `pin_project` on the `UntilImported` struct. Instead one only has to add the `Unpin` trait bound on the `I` trait parameter.
-
Shawn Tabrizi authored
* Split operational and normal weight * Update other parts of the code * relatively minor changes to add/fix behavior * Limit reported block weight for fee adjustment * fix test * explicit match * Move common logic out * Update frame/system/src/lib.rs Co-authored-by: Gavin Wood <[email protected]> * API improvement @bkchr Co-authored-by: Gavin Wood <[email protected]>
-
Bastian Köcher authored
* Optimize `decode_len` Instead of reading the full storage value into the runtime, we only read at maximum `5bytes` from the storage into the runtime. Furthermore this drops any handling with regards to set default values in `decl_storage!`. If the value does not exists or the decoding of the length fails, it will return `None`. To prevent people from messing stuff up, this feature relies on the `StorageDecodeLength` trait that is sealed by `frame-support` (aka only implementable inside this crate). * Some clean ups * Update frame/support/src/storage/mod.rs Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Alexander Popiak <[email protected]>
-
Pierre Krieger authored
* Allow passing multiple --log CLI options * Comment typo
-
- May 11, 2020
-
-
Bastian Köcher authored
* Update initialize tests for latest rust stable * Update more tests * AHHH * Fix `runtime-interface` test * ------------------------______________---------------------- * ...
-
Jimmy Chu authored
* Minor update on example-offchain-worker code and comment Signed-off-by: Jimmy Chu <[email protected]> * Update frame/system/src/offchain.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Pierre Krieger authored
* Small fix to block response completion reporting * while -> if
-
Rakan Alhneiti authored
* Add crypto identifier to RuntimeAppPublic * Update primitives/application-crypto/src/traits.rs Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-