- Jun 12, 2020
-
-
Alexander Theißen authored
* Deprecate FunctionOf and remove users * Remove unused import
-
- Jun 10, 2020
-
-
Sergey Pepyakin authored
* Make NumberOrHex a common primitive. * Update primitives/rpc/src/number.rs Co-authored-by: Nikolay Volf <[email protected]> Co-authored-by: Nikolay Volf <[email protected]>
-
- Jun 08, 2020
-
-
Benjamin Kampmann authored
-
Hernando Castano authored
* Bump jsonrpc pubsub, core, http, and ws Right now these are the packages which _need_ to be updated so I can just the latest `jsonrpc-pubsub` code. Once a release it cut upstream the rest of the dependencies should be updated as well. * Use jsonrpc-pubsub's SubscriptionManager This places sc-rpc-api::Subscriptions * Bump jsonrpc-core outside of sc-rpc-* * Update client/rpc tests Right now one of the `author` tests is failing, I need to think a bit about how best to fix it. * Remove Subscriptions manager There's no need for this implementation since we're using the one from `jsonrpc-pubsub` now * Fix author RPC test This test used to check for a numerial subscription ID, whereas now it uses a string based ID which is the default provided by `jsonrpc-pubsub`'s subscription manager. * Remove unused NumericIdProvider * Add missing bracket Removed one too many with that last one, lol * Bump `jsonrpc` to v14.2 There's an exception though. `jsonrpc-derive` cannot be bumped past v14.0.5 just yet since it has a dependency on `quote` pinned to v1.0.1. This means that at the moment it won't build on Substrate since it's using v1.0.3. * Track `jsonrpc-derive` master branch * Bump `quote` version to v1.0.6 * Bump `jsonrpc-derive` to v14.2.1 This includes support for `quote` v1.0.6 * Use exact version for jsonrpc crates Doing this to make sure any updates in jsonrpc don't accidently trickle down to Polkadot. Co-authored-by: André Silva <[email protected]>
-
- Jun 04, 2020
-
-
André Silva authored
This reverts commit ea1eb4e5.
-
Hernando Castano authored
* Bump jsonrpc pubsub, core, http, and ws Right now these are the packages which _need_ to be updated so I can just the latest `jsonrpc-pubsub` code. Once a release it cut upstream the rest of the dependencies should be updated as well. * Use jsonrpc-pubsub's SubscriptionManager This places sc-rpc-api::Subscriptions * Bump jsonrpc-core outside of sc-rpc-* * Update client/rpc tests Right now one of the `author` tests is failing, I need to think a bit about how best to fix it. * Remove Subscriptions manager There's no need for this implementation since we're using the one from `jsonrpc-pubsub` now * Fix author RPC test This test used to check for a numerial subscription ID, whereas now it uses a string based ID which is the default provided by `jsonrpc-pubsub`'s subscription manager. * Remove unused NumericIdProvider * Add missing bracket Removed one too many with that last one, lol * Bump `jsonrpc` to v14.2 There's an exception though. `jsonrpc-derive` cannot be bumped past v14.0.5 just yet since it has a dependency on `quote` pinned to v1.0.1. This means that at the moment it won't build on Substrate since it's using v1.0.3. * Track `jsonrpc-derive` master branch * Bump `quote` version to v1.0.6 * Bump `jsonrpc-derive` to v14.2.1 This includes support for `quote` v1.0.6
-
- May 28, 2020
-
-
Sergey Pepyakin authored
* Don't store the storage size offset in the contract itself. * Clean the AccountDb code a bit * Use `storage_size: 0` when creating AliveContractInfo * Count empty storage items. * Update frame/contracts/src/account_db.rs Co-authored-by: Nikolay Volf <[email protected]> * Use more clear wording. Co-authored-by: Alexander Theißen <[email protected]> * Change the order of decrement and increment for storage size Co-authored-by: Nikolay Volf <[email protected]> Co-authored-by: Alexander Theißen <[email protected]>
-
- May 26, 2020
-
-
Benjamin Kampmann authored
-
- May 25, 2020
-
-
Benjamin Kampmann authored
-
Sergey Pepyakin authored
-
- May 21, 2020
-
-
Demi Obenour authored
* Add notes about safe uses of twox * Update frame/grandpa/src/lib.rs Co-authored-by: Nikolay Volf <[email protected]> * Update frame/elections/src/lib.rs * Apply suggestions from code review Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Nikolay Volf <[email protected]>
-
Alexander Theißen authored
* Emit a PaymentParameters event once per block This contains per-block paramaters need to calculate fees off-chain. * Add WeightToFee trait * Add documentation to polynomial types * Ignore pseudo code snippet for doc tests * Use `Mul` implementation of Perbill * Add tests for WeightToFeePolynomial * Revert "Emit a PaymentParameters event once per block" This reverts commit 6c4763baff3d8179676a3c1660fe7063fd56a8ca. Co-authored-by: Gavin Wood <[email protected]>
-
- May 20, 2020
-
-
Tomasz Drwięga authored
* Only check single extrinsics weight limit in validate_transaction. * Add missing parameter to all pallets. * Add tests, fix default configuration. * Bump spec version. * Use AvailableBlockRation to calculate MaxExtrinsicWeight
-
- May 16, 2020
-
-
Benjamin Kampmann authored
-
- May 15, 2020
-
-
Benjamin Kampmann authored
-
Benjamin Kampmann authored
-
- May 05, 2020
-
-
Benjamin Kampmann authored
-
Benjamin Kampmann authored
-
- Apr 28, 2020
-
-
Benjamin Kampmann authored
* remove unnecessary re-export * enable unleash * Revert "enable unleash" This reverts commit 30f11d7befea904d5e9c8c117a1b79eb3e184150. * Revert "remove unnecessary re-export" This reverts commit 74229f99587d1e17985b5e7f656f70d32b0e9ebe. * fix missing std def * Revert "Revert "enable unleash"" This reverts commit 323fb913c38c8f1ac7424dd22e5f918ff6a0b596. * Revert "Revert "Revert "enable unleash""" This reverts commit 3f199674ae024edc32a2ab7ce3a15013d2b285a1.
-
- Apr 25, 2020
-
-
Shawn Tabrizi authored
* Introduce `BlockExectionWeight` and `ExtrinsicBaseWeight` * Add new traits everywhere * Missed one update * fix tests * Update `check_weight` logic * introduce `max_extrinsic_weight` function * fix + add tests * format nits * remove println * make test a bit more clear * Remove minimum weight * newlines left over from find/replace * Fix test, improve clarity * Fix executor tests * Extrinsic base weight same as old `MINIMUM_WEIGHT` * fix example test * Expose constants * Add test for full block with operational and normal * Initiate test environment with `BlockExecutionWeight` weight * format nit * Update frame/system/src/lib.rs Co-Authored-By: Kian Paimani <[email protected]> * Replace `TransactionBaseFee` with `ExtrinsicBaseWeight` (#5761) * Replace `TransactionBaseFee` with `ExtrinsicBaseFee` * Fix stuff * Fix and make tests better * Forgot to update this test * Fix priority number in test * Remove minimum weight from merge * Fix weight in contracts * remove `TransactionBaseFee` from contract tests * Let `register_extra_weight_unchecked` go past `MaximumBlockWeight` * address feedback Co-authored-by: Kian Paimani <[email protected]>
-
- Apr 24, 2020
-
-
Alexander Theißen authored
Co-Authored-By: Tomasz Drwięga <[email protected]> Co-Authored-By: Sergei Pepyakin <[email protected]>
-
- Apr 22, 2020
-
-
Kian Paimani authored
* enum Pays for PaysFee * Fix doc test * Update bin/node/executor/tests/basic.rs * Update bin/node/executor/tests/basic.rs
-
Kian Paimani authored
* Migrate away from SimpleDispatchInfo * Fix imports * Better doc * Update lib.rs Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Apr 20, 2020
-
-
cheme authored
Co-Authored-By: thiolliere <[email protected]>
-
- Apr 16, 2020
-
-
Shawn Tabrizi authored
Co-Authored-By: Kian Paimani <[email protected]>
-
- Apr 15, 2020
-
-
Benjamin Kampmann authored
-
- Apr 14, 2020
-
-
Benjamin Kampmann authored
* bumping version * cargo update * adding changelog
-
- Apr 08, 2020
-
-
Stanislav Tkach authored
* Move contracts wasm test code into separate files * Move crypto_hashes into a separate file * Load wasm code at runtime * Move wasm files * Fix wasm formatting * Update crypto_hashes file
-
Alexander Theißen authored
* Refactor SignedExtension * Move DispatchInfo Associated type to Dispatchable * Bound Call: Dispatchable * Pass PostDispatchInfo to post_dispatch * Pass DispatchInfo by reference to avoid clones * Whitespace fix Co-Authored-By: Tomasz Drwięga <[email protected]> * Style changes from code review Co-Authored-By: Kian Paimani <[email protected]> * Only decalre in test mod to remove warning * Deduplicate Call definition * Bound frame_system::trait::Call by Dispatchable * Introduce DispatchInfoOf type alias * Whitespace fix from review Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Mar 31, 2020
-
-
Nikolay Volf authored
-
Shawn Tabrizi authored
* Don't populate runtime events in genesis * typo * Change to block zero * Fix vesting tests * Update frame/system/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update frame/system/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Add test * Fix test * Fix contract tests * Fix phragmen tests * Fix Generic Assets Tests * Fix offences tests * Fix im-online * fix recovery * Fix utility tests * Shorter * Use ext Co-authored-by: Bastian Köcher <[email protected]>
-
- Mar 30, 2020
-
-
pscott authored
* Add docs.rs metadata to all cargo.toml files * Remove docs.rs metada in substrate's cargo.toml
-
- Mar 28, 2020
-
-
Bastian Köcher authored
-
- Mar 26, 2020
-
-
Kian Paimani authored
* Disallow default weight * Fix build and test * Fix tests * Fix another beloved ui test. * fix beloved trybuild tests * fix treasury? * Final test fix * Fix build * Fix another one * Fix * More doctest fix
-
Alexander Theißen authored
* contracts: Remove OnKilledAccount implementation Contracts now longer rely on this callback to tell them when they are removed. Instead, they can only self destruct using `ext_terminate`. * Fix account removal test * Fix account storage removal
-
- Mar 25, 2020
-
-
Sergey Pepyakin authored
-
- Mar 24, 2020
-
-
Benjamin Kampmann authored
* bump pre-version * Changelog alpha.4->alpha.5 * repo + homepage to sp-consensus-vrf * Add default rocksdb feature to `frame-benchmarking-cli` (#5367) * Add default rocksdb feature * Update Cargo.toml Co-authored-by: Shawn Tabrizi <[email protected]>
-
Alexander Theißen authored
-
- Mar 21, 2020
-
-
Stanislav Tkach authored
-
- Mar 20, 2020
-
-
Bastian Köcher authored
* Adds new event phase `Initialization` Every event that was deposited inside of `on_initialize` was assigned to the `ApplyExtrinsic(0)` phase which wasn't correct. This pr introduces a new phase `Initialization`. This is the new phase while initializing a block. After initialization we switch to `ApplyExtrinsic(N)` and at the end to `Finalization` as before. * Set `ExecutionPhase` in `initialize` * Increment `spec_version`
-