- Aug 10, 2020
-
-
Xiliang Chen authored
Update lib.rs
-
Bryan Chen authored
-
Bryan Chen authored
-
André Silva authored
-
RRTTI authored
- Include on `Assign_curator`, `accept_curator` and `unassign_curator` on Bounties Protocol Section - Include curator fee and curator deposit definitions on Terminology - Update intro.
-
Alexander Theißen authored
* seal: Change prefix "ext_" to "seal_" for contract callable functions The word Ext is a overloaded term in the context of substrate. It usually is a trait which abstracts away access to external resources usually in order to mock them away for the purpose of tests. The contract module has its own `Ext` trait in addition the the substrate `Ext` which makes things even more confusing. In order to differentiate the contract callable functions more clearly from this `Ext` concept we rename them to use the "seal_" prefix instead. This should change no behaviour at all. This is a pure renaming commit. * seal: Rename import module from "env" to "seal0" * seal: Fixup integration test * seal: Add more tests for new import module names
-
Kian Paimani authored
-
Bryan Chen authored
-
Bryan Chen authored
-
Hernando Castano authored
* Rough skeleton for what I think the RPC should look like * Create channel for sending justifications Sends finalized header and justification from Grandpa to the client. This lays the groundwork for hooking into the RPC module. * WIP: Add subscribers for justifications to Grandpa Adds the Sender end of a channel into Grandpa, through which notifications about block finality events can be sent. * WIP: Add a struct for managing subscriptions Slightly different approach from the last commit, but same basic idea. Still a rough sketch, very much doesn't compile yet. * Make naming more clear and lock data in Arc * Rough idea of what RPC would look like * Remove code from previous approach * Missed some things * Update client/rpc-api/src/chain/mod.rs Co-Authored-By:
Tomasz Drwięga <tomusdrw@users.noreply.github.com> * Update client/rpc-api/src/chain/mod.rs Co-Authored-By:
Tomasz Drwięga <tomusdrw@users.noreply.github.com> * Split justification subscription into sender and receiver halves * Replace RwLock with a Mutex * Add sample usage from the Service's point of view * Remove code that referred to "chain_" RPC * Use the Justification sender/receivers from Grandpa LinkHalf * Add some PubSub boilerplate * Add guiding comments * TMP: comment out to fix compilation * Return MetaIoHandler from PubSubHandler in create_full * Uncomment pubsub methods in rpc handler (fails to build) * node/rpc: make Metadata concrete in create_full to fix compilation * node: pass in SubscriptionManger to grandpa rpc handler * grandpa-rpc: use SubscriptionManger to add subscriber * grandpa-rpc: attempt at setting up the justification stream (fails to build) * grandpa-rpc: fix compilation of connecting stream to sink * grandpa-rpc: implement unsubscribe * grandpa-rpc: update older tests * grandpa-rpc: add full prefix to avoid confusing rust-analyzer * grandpa-rpc: add test for pubsub not available * grandpa-rpc: tidy up leftover code * grandpa-rpc: add test for sub and unsub of justifications * grandpa-rpc: minor stylistic changes * grandpa-rpc: split unit test * grandpa-rpc: minor stylistic changes in test * grandpa-rpc: skip returning future when cancelling * grandpa-rpc: reuse testing executor from sc-rpc * grandpa-rpc: don't need to use PubSubHandler in tests * node-rpc: use MetaIoHandler rather than PubSubHandler * grandpa: log if getting header failed * grandpa: move justification channel creation into factory function * grandpa: make the justification sender optional * grandpa: fix compilation warnings * grandpa: move justification notification types to new file * grandpa-rpc: move JustificationNotification to grandpa-rpc * grandpa-rpc: move JustificationNotification to its own file * grandpa: rename justification channel pairs * grandpa: rename notifier types * grandpa: pass justification as GrandpaJustification to the rpc module * Move Metadata to sc-rpc-api * grandpa-rpc: remove unsed error code * grandpa: fix bug for checking if channel is closed before sendind * grandpa-rpc: unit test for sending justifications * grandpa-rpc: update comments for the pubsub test * grandpa-rpc: update pubsub tests with more steps * grandpa-rpc: fix pubsub test * grandpa-rpc: minor indendation * grandpa-rpc: decode instead of encode in test * grandpa: fix review comments * grandpa: remove unused serde dependency Co-authored-by:
Tomasz Drwięga <tomusdrw@users.noreply.github.com> Co-authored-by:
Jon Häggblad <jon.haggblad@gmail.com> Co-authored-by:
Tomasz Drwięga <tomasz@parity.io>
-
Joshy Orndorff authored
* Update dependency. * Update readme docs * update python webserver command
-
- Aug 09, 2020
-
-
Bryan Chen authored
-
Bryan Chen authored
-
- Aug 08, 2020
-
-
Wei Tang authored
-
- Aug 07, 2020
-
-
Cecile Tonglet authored
* Initial commit Forked at: 74804b56 Parent branch: origin/master * WIP Forked at: 74804b56 Parent branch: origin/master
-
Bryan Chen authored
-
Bryan Chen authored
-
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 <jacogr@gmail.com> * Fix tests * Only process best blocks in the transaction pool Co-authored-by:
Jaco Greeff <jacogr@gmail.com>
-
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: 19c1d902 Parent branch: origin/master * WIP Forked at: 19c1d902 Parent branch: origin/master * WIP Forked at: 19c1d902 Parent branch: origin/master * WIP Forked at: 19c1d902 Parent branch: origin/master * WIP Forked at: 19c1d902 Parent branch: origin/master * WIP Forked at: 19c1d902 Parent branch: origin/master * WIP Forked at: 19c1d902 Parent branch: origin/master * changelog * Remove Box * Make future nicer * Revert "Make future nicer" This reverts commit 49fb8fb6 . * Simplify * Additional check * Simplify more Co-authored-by:
Bastian Köcher <git@kchr.de>
-
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 <ashley.ruglys@gmail.com> Co-authored-by:
Ashley <ashley.ruglys@gmail.com>
-
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 <shawntabrizi@gmail.com> * 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 <shawntabrizi@gmail.com> Co-authored-by:
Dan Forbes <dan@danforbes.dev>
-
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 <bkchr@users.noreply.github.com> * Update frame/support/procedural/src/storage/instance_trait.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
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
-
Bryan Chen authored
-
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
-