Gavin Wood
4b34b041b8
Introduce CheckNonZeroSender ( #10413 )
...
* Introduce CheckNonZeroSender
* Missing file
* Formatting
* Fixes
* Formatting
* some fixes to compile
* Update frame/system/src/extensions/check_non_zero_sender.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Fixes
* Fixes
* another fix
* Formatting
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-12-08 11:28:03 +01:00
Kian Paimani
abd08e29ce
Rewrap all comments to 100 line width ( #9490 )
...
* reformat everything again
* manual formatting
* last manual fix
* Fix build
2021-08-11 14:56:55 +00:00
Bastian Köcher
7b56ab15b4
Run cargo fmt on the whole code base ( #9394 )
...
* Run cargo fmt on the whole code base
* Second run
* Add CI check
* Fix compilation
* More unnecessary braces
* Handle weights
* Use --all
* Use correct attributes...
* Fix UI tests
* AHHHHHHHHH
* 🤦
* Docs
* Fix compilation
* 🤷
* Please stop
* 🤦 x 2
* More
* make rustfmt.toml consistent with polkadot
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-07-21 14:32:32 +00:00
Kian Paimani
58a6f31ccf
Add deserialize for TransactionValidityError in std. ( #8961 )
...
* Add deserialize for TransactionValidityError in std.
* Fix derives
2021-05-31 18:17:56 +00:00
Liu-Cheng Xu
00432a5ab7
Add some trivial improvements to primitives runtime ( #8528 )
...
* Add some trivial improvements
* Finish primitives/runtime
2021-04-05 20:20:36 +02:00
Bastian Köcher
e3e651f72c
Happy new year ( #7814 )
...
* Happy new year
Updates the copyright years and fixes wrong license headers.
* Fix the template
* Split HEADER into HEADER-APACHE & HEADER-GPL
2021-01-04 09:03:13 +00:00
Zeke Mostov
31099491bc
Improve InvalidTransaction::AncientBirthBlock doc comment ( #7743 )
...
* Improve `InvalidTransaction::AncientBirthBlock` doc comment
Update
Remove stray parentheses
Tabs not spaces
Improve
whoops
* Update primitives/runtime/src/transaction_validity.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Possible causes section; Expand example
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-12-19 06:59:48 +00:00
Bernhard Schuster
9687759774
error rework, for polkadot convenience ( #7446 )
...
Co-authored-by: Bernhard Schuster <bernhard@parity.io >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-10-28 15:04:56 +01:00
Bruno Škvorc
7aacd969fe
Typo in error text ( #7126 )
2020-09-17 09:12:14 +00:00
Marcio Diaz
2729a48893
Fix nits in rpc error display. ( #6302 )
...
* Improve rpc error display.
* Apply review suggestion.
* Apply review suggestion.
* Update client/rpc-api/src/author/error.rs
* Fix custom.
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-06-10 11:10:02 +02:00
Benjamin Kampmann
be8c96adec
Relax substrate licensing scheme ( #5947 )
2020-05-15 13:21:56 +02:00
Bastian Köcher
fa4d3f2f0a
Improve BadProof docs ( #6019 )
...
* Improve `BadProof` docs
* Update primitives/runtime/src/transaction_validity.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2020-05-13 23:53:46 +02:00
Tomasz Drwięga
762bcbab03
Unsigned Validation best practices ( #5563 )
...
* Configurable Unsigned Priority.
* Use the new builder.
* Fix tests.
* Fix benches.
* Remove unused import.
* Rename for_pallet
2020-04-08 11:17:21 +02:00
Gavin Wood
abd822692d
Mandatory dispatch class ( #5515 )
...
* Mandatory dispatch class
* Tweaks
* Docs
* Fix test
* Update frame/support/src/weights.rs
Co-Authored-By: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Introduce logic that was stated in PR.
* Use
* Docs.
* Fix test
* Fix merge
* Update frame/support/src/weights.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
* Fix.
* Fix
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-04-05 14:27:30 +02:00
Tomasz Drwięga
04ccb179e9
Pass transaction source to validate_transaction ( #5366 )
...
* WiP
* Support source in the runtime API.
* Finish implementation in txpool.
* Fix warning.
* Fix tests.
* Apply suggestions from code review
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-Authored-By: Nikolay Volf <nikvolf@gmail.com >
* Extra changes.
* Fix test and benches.
* fix test
* Fix test & benches again.
* Fix tests.
* Update bumpalo
* Fix doc test.
* Fix doctest.
* Fix doctest.
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Nikolay Volf <nikvolf@gmail.com >
2020-03-25 14:09:23 +01:00
Shawn Tabrizi
7efa62725e
Update copyright year ( #4532 )
2020-01-05 14:05:44 +01:00
Weiliang Li
6da9f59d72
Rename: primitives/sr-std -> primitives/sp-std ( #4327 )
...
* primitives/sr-std -> primitives/std
* fix
* fix conflict
* rstd -> sp-std
* git mv
* fix review
* fix merge
2019-12-10 08:26:27 +01:00
Weiliang Li
04fcc71809
Rename folder: primitives/sr-primitives -> primitives/runtime ( #4280 )
...
* primitives/sr-primitives -> primitives/runtime
* update
2019-12-09 08:49:32 +01:00