- Aug 07, 2020
-
-
Bastian Köcher authored
* Revalidate transactions only on latest best block We should revalidate transactions only on the latest best block and not on any arbitrary block. The revalidation before failed when there were multiple blocks on the height given to the revalidation function, but no block was imported as best block. * Update test-utils/runtime/transaction-pool/src/lib.rs Co-authored-by: Jaco Greeff <[email protected]> * Fix tests * Only process best blocks in the transaction pool Co-authored-by: Jaco Greeff <[email protected]>
-
Cecile Tonglet authored
-
- Aug 06, 2020
-
-
André Silva authored
* grandpa: fix enacting forced changes with no delay * grandpa: fix formatting
-
Joshy Orndorff authored
* dealias pallets * Restore accidentally deleted code blocks
-
Cecile Tonglet authored
* Initial commit Forked at: 7df97aba Parent branch: origin/master * WIP Forked at: 7df97aba Parent branch: origin/master * WIP Forked at: 7df97aba Parent branch: origin/master * WIP Forked at: 7df97aba Parent branch: origin/master * WIP Forked at: 7df97aba Parent branch: origin/master * WIP Forked at: 7df97aba Parent branch: origin/master * WIP Forked at: 7df97aba Parent branch: origin/master * changelog * Remove Box * Make future nicer * Revert "Make future nicer" This reverts commit 49fb8fb6f245c3ca2c384468df14b34f34616736. * Simplify * Additional check * Simplify more Co-authored-by: Bastian Köcher <[email protected]>
-
Joshy Orndorff authored
* de-alias frame_system in node template * Fix line length * Fix chainspec
-
Pierre Krieger authored
* Delay network startup to after complete initialization * Update client/service/src/builder.rs Co-authored-by: Ashley <[email protected]> Co-authored-by: Ashley <[email protected]>
-
Hamza Tokuchi authored
* Pulled RPC from node and populated the node-template's RPC builder with one example implementation * surpress build errror * dead_code * Fixed module usage, removed copyright, removed rpc builder for light client + some comments * added a comment for rpc extension * Update bin/node-template/node/src/rpc.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update rpc.rs * fix spacing * more space to tabs * more space to tabs * Documenation nitpick * Documentation nitpick * Documentation nitpick * Documentation nitpick * Documentation nitpick * pre-format * Updated transaction payment API implemented for node template * fix space and commented code * fix long line Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Dan Forbes <[email protected]>
-
André Silva authored
* grandpa: never overwrite current rounds voter state * grandpa: add test for voter state overwrite
-
- Aug 05, 2020
-
-
Pierre Krieger authored
* Fix legacy substream fallback not working * Make it nicer
-
André Silva authored
-
Shawn Tabrizi authored
* Successful `note_imminent_preimage` is free * update docs * Add test for duplicate preimage
-
thiolliere authored
* remove generation of instance trait, no breaking change * doc * doc * Update frame/support/src/traits.rs Co-authored-by: Bastian Köcher <[email protected]> * Update frame/support/procedural/src/storage/instance_trait.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Shawn Tabrizi authored
-
Pierre Krieger authored
-
ddorgan authored
* Use dns hostnames for flaming fir bootnodes * Remove newline
-
- Aug 04, 2020
-
-
thiolliere authored
* democracy use of weightinfo * fix some doc and benchs * todo generate from parity machine * factorize and add license * use final weights * add slightly more sensible default weight * refactor * rename benchmark to avoid confusion * just make remove_other_vote benchmark being the worst case of the extrinsic
-
Shaopeng Wang authored
-
- Aug 03, 2020
-
-
Alex Siman authored
-
Pierre Krieger authored
-
Ashley authored
-
Kian Paimani authored
* Add integrity test for slash defer duration * Wrap in externalities * Update frame/staking/src/lib.rs
-
Shawn Tabrizi authored
Improve Benchmark Writer: Remove Unused Components, Remove Multiply by Zero, Files Split by Pallet (#6785) * initial improvements * better file management, ignore unused components * Output warning when components unused * update comment * Write even when base weight is zero * remove unwrap where possible * Dont sort components to dedup * undo delete * improve clarity of unused components * remove unused dep * Update Process.json
-
Alexander Theißen authored
* seal: Rework ext_transfer, ext_instantiate, ext_call error handling * Deny calling plain accounts (must use transfer now) * Return proper module error rather than ad-hoc strings * Return the correct error codes from call,instantiate (documentation was wrong) * Make ext_transfer fallible again to make it consistent with ext_call * seal: Improve error messages on memory access failures * seal: Convert contract trapped to module error * seal: Add additional tests for transfer, call, instantiate These tests verify that those functions return the error types which are declared in its docs. * Make it more pronounced that to_execution_result handles trap_reason * Improve ReturnCode docs * Fix whitespace issues in wat files * Improve ReturnCode doc * Improve ErrorOrigin doc and variant naming * Improve docs on ExecResult and ExecError * Encode u32 sentinel value as hex * with_nested_context no longer accepts an Option for trie * Fix successful typo * Rename InvalidContractCalled to NotCallable
-
Max Inden authored
The `sub_libp2p_kademlia_query_duration` metric only has the dimension `type` not `protocol`.
-
dependabot[bot] authored
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bastian Köcher authored
The transaction payment runtime api used its own extrinsic generic parameter. This is wrong, because this resulted in using always the native extrinsic. If there was a runtime upgrade that changed the extrinsic in some way, it would result in the api breaking. The correct way is to use the `Extrinsic` from the `Block` parameter. This is on the node side the opaque extrinsic and on the runtime side the real extrinsic.
-
Max Inden authored
Expose duration of DHT put and get request as a Prometheus histogram.
-
- Jul 31, 2020
-
-
Pierre Krieger authored
* Don't close inbound notifications substreams immediately * Fix not closing in return to node A closing
-
Bastian Köcher authored
We need to order the delta before calculating the storage root, because the order is important if the storage root is calculated using a storage proof. The problem is arises when the delta is different than at the time the storage root was recorded, because we may require a different node that is not part of the proof and so, the storage root can not be calculated. The problem is solved by always order the delta to use the same order when calculating the storage root while recording the stroage proof and when calculating the storage root using the storage proof. To prevent this bug in future again, a regression test is added. Fixes: https://github.com/paritytech/cumulus/issues/146
-
Wei Tang authored
* Allow blacklisting blocks from being finalized again after block revert * Use BlockRules for storing unfinalized and add have_state_at in revert * Move finalization_check in finalize_block upward * Directly mark finalization blacklist as badblocks * Remove obselete comment
-
thiolliere authored
-
- Jul 30, 2020
-
-
Cecile Tonglet authored
* Initial commit Forked at: 5060324b Parent branch: origin/master * Fix graceful shutdown skipped if future ends with error * apply suggestion
-
Shawn Tabrizi authored
* Update balance benchmarks * Update weight functions * Remove user component * make componentless * Add support for `#[extra]` tag on benchmarks * Update balances completely * Apply suggestions from code review Co-authored-by: Alexander Theißen <[email protected]> * Fix some tests * Maybe fix to test. Need approval from @tomusdrw this is okay * Make test better * keep weights conservative * Update macro for merge master * Add headers * Apply suggestions from code review Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Alexander Theißen <[email protected]> Co-authored-by: Alexander Popiak <[email protected]>
-
Wei Tang authored
* BabeWorker -> BabeSlotWorker * SlotWorker::notify_slot: similar to claim_slot, but called no matter authoring * Wrap the future with a new struct BabeWorker * Add type definition slot_notification_sinks * Function slot_notification_streams for the receiver side * Get a handle of slot_notification_sinks in BabeSlotWorker * Implement notify_slot * Switch to use bounded mpsc * Do not drop the sink when channel is full Only skip sending the message and emit a warning, because it is recoverable. * Fix future type bounds * Add must_use and sink type alias
-
Bastian Köcher authored
-
Wei Tang authored
* pallet-evm: add builtin support for the four basic Ethereum precompiles * linear_cost -> ensure_linear_cost to directly return OutOfGas error
-
Garrett MacDonald authored
-
Pierre Krieger authored
-
Ashley authored
* Add DefaultQueue * Add DefaultImportQueue to the top level of sp-consensus
-