* Move authorities interface from Core to consensus
f
* notify all caches of block insert + create with up-to-date best_fin
* merged authorities_are_cached from light_grandpa_import2
* Add ProvideCache trait
* Create helper function for 'get_cache'
* Fix some formatting
* Bump impl version
* Resolve wasm conflicts
* Apply review comments
* Use try_for_each
* Move authorities interface from Core to consensus
f
* notify all caches of block insert + create with up-to-date best_fin
* merged authorities_are_cached from light_grandpa_import2
* Add ProvideCache trait
* Create helper function for 'get_cache'
* Fix some formatting
* Bump impl version
* Resolve wasm conflicts
* Apply review comments
* Use try_for_each
* Move authorities interface from Core to consensus
f
* notify all caches of block insert + create with up-to-date best_fin
* merged authorities_are_cached from light_grandpa_import2
* Add ProvideCache trait
* Create helper function for 'get_cache'
* Fix some formatting
* Bump impl version
* Resolve wasm conflicts
* Apply review comments
* Use try_for_each
* Increment impl_version
* Update lib.rs
* First draft of sudo module documentation
* add ignore tags to code blocks
* Suggested Updates
Still needs some more love with links
* Update lib.rs
* Add links to other modules
* Update lib.rs
* style
* missed parens
* First draft of extended balance type
* Test cleanup.
* Update staking docs.
* Add a good failing test case for quintill
* Bring back saturating.
* Some final fixes
* A few more.
* Update wasm; Bump spec;
* Re-bump.
* Custom lossy conversion from currency to vote
* remove print
* Fix reverse conversion issue.
* void. Re-trigger ci.
* Proxy voting in democracy
* Proxy voting for council elections
* Bump and build
* Kill proxy when account dead
* Rebuild wasm
* Fix democraxy delegation locking
* Update srml/council/src/seats.rs
Co-Authored-By: gavofyork <github@gavwood.com>
* Update to use mutate
* all the ise
* forgot a misspelling
* a few more replacements
* bump impl
* rollback and fixes
* bump impl again
* Add aliases for RPC
* Update on_demand.rs
* Add: documentation for srml_contract, per @sergeis comments. TODO: make concise and add usage example
* Fix: minor spelling and grammar
* Add: Revisions to the doc clarification from @Sergei on trx revert behavior
* Edit: added spacing btw function list for better readability
* Remove: usage create contract example todo later
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicolezhuis@gmail.com>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicolezhuis@gmail.com>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicolezhuis@gmail.com>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicolezhuis@gmail.com>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicolezhuis@gmail.com>
* Edit: explained max gas limit revert behavior in greater detail
* Edit: incorporated first round of PRs, mostly syntax/styling
* Edit: incorporated Sergeis mental model, terms, and added usage examples
* Fix: staking module is no longer closely related to contract. Balances now manages the reaping of accounts
* Minor cleanup of links/text that are not ready to be shown
* Update srml/contract/src/lib.rs
made more concise
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Minor edits from PR
* Explained contract creation in more detail, fixed PR suggestions
* Linted according to contri guidelines
* Created a notable scenarios section, unlisted public functions in lieu of a direct link to the module
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/tests.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* Update srml/contract/src/lib.rs
Co-Authored-By: nczhu <nicole@parity.io>
* minor commit after pr feedback
* s/codehash/code_hash for consistency
* factorization
* introduce GenericUnhashedStorage
* implement generator and storage
* impl double map in storage macro
* improve StorageDoubleMapXX methods
* remove storage from example and impl test
* remove old comments
* wasm compatible
* improve imports
* rename storages
* update runtime impl version
* make code less verbose
* impl hash config for second key in double map
hash available are all of Hashable trait
* use double map in decl_storage for contract
* fix double map config issue
* add hasher into metadata
* update impl version and build wasm
* doc
* add attrs
* update metadata version
* update runtime version
* fix unused storage
* Timestamp period should be expressed as expected period
* Fix test
* Ensure value never illegal
* Rename
* Remove println
* Add default
* Comment
* Fix, bump and rebuild wasm
* Fix test
* Add TODOs
* Configure only minimum_period.
* Fix
* Update srml/timestamp/src/lib.rs
Co-Authored-By: gavofyork <github@gavwood.com>
* Update srml/timestamp/src/lib.rs
Co-Authored-By: gavofyork <github@gavwood.com>
* Introduce `ReservableCurrency`
* Update Docs for `ReservableCurrency`
* Update Tests
* Bump spec and rebuild wasm
* Extra: Add a note to `slash()`
Discussion in Riot clarified the behavior of `slash()` and `can_slash()`. Trying to sneak clarifying comments about it into this PR
* Update lib.rs
* Don't drop the periods!
CC @shawntabrizi
* improve decl_storage instance doc
* use decl_event doc accordignly
* automate doc and while allow to extend it on event
* some missed ones
* Update srml/example/src/lib.rs
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>
* Update srml/support/procedural/src/storage/transformation.rs
* Refactor state-machine stuff.
* Fix tests.
* WiP
* WiP2
* Service support for offchain workers.
* Service support for offchain workers.
* Testing offchain worker.
* Initial version working.
* Pass side effects in call.
* Pass OffchainExt in context.
* Submit extrinsics to the pool.
* Support inherents.
* Insert to inherents pool.
* Inserting to the pool asynchronously.
* Add test to offchain worker.
* Implement convenience syntax for modules.
* Dispatching offchain worker through executive.
* Fix offchain test.
* Remove offchain worker from timestamp.
* Update Cargo.lock.
* Address review comments.
* Use latest patch version for futures.
* Add CLI parameter for offchain worker.
* Fix compilation.
* Fix test.
* Fix extrinsics format for tests.
* Fix RPC test.
* Bump spec version.
* Fix executive.
* Fix support macro.
* Address grumbles.
* Bump runtime
* expose linked map info to metadata
* Make it non breaking change
* another way
* change to option 1
* bump metadata version
* fix test
* bump version and update wasm
* initial doc for the staking module
* Remove md style links.
* Remove todos.
* Add rust code types
* Rename and fix review notes.
* Add new md file
* Final touches.
* Migrate compleatly to rustdoc
* Update link
* Fix heading
* Final touches wrt the new template.
* Remove empty prereq.
* Fix more reviews
* Some final nits.
* Fix some side issues.
* Fix another set of reviews
* Fix + stabilize leftover reivews.
* Remove unused test parameters
* Fix typo.
* Merge redundant loops
* Adds phantom self-vote
* Fix broken tests.
* Refactor some names to match the reference.
* Remove redundant inner loops from election round.
* Introduce phragmen post-processing.
* Some fixes and todos.
* Fix some tests with new phragmen params
* Fix test
* Bump spec
* Fix wasm build
* Fix tests and phragmen fallback. Avoid double-controlling
* Fix and rebuild wasm
* Whitespaces, whitespaces everywhere.
* Rebuild
* Disable post-processing.
* Identify by stash, not controller account.
* Couple of fixes
* Fix first test
* Fix invulnerability_should_work
* Fix a couple more tests
* Fix more tests
* Fix more tests
* Fix more tests
* Fix some tests
* Fix update-ledger.
* Fix update-ledger.
* Fix another test
* Fix another test
* Fix rest of staking tests
* Remove printlns
* Rebuild wasm
* Fix & tests for auth/val syncing
* Fix up threading for tests
* Remove superfluous asserts
* Be a little safer with total issuance.
* PairT instead of _Pair
* Remove rev causing upset
* Remove fees stuff.
* Fix build (including tests)
* Update runtime, bump version
* Fix
* Handle gas refunds properly.
* Rename identifier
ala #2025
* Address grumbles
* New not-quite-linear-typing API
* Slimmer API
* More linear-type test fixes
* Fix tests
* Tidy
* Fix some grumbles
* Keep unchecked functions private
* Remove another less-than-safe currency function and ensure that
contracts module can never create cash.
* Address a few grumbles and fix tests