Koute
9d1741eb3c
Bump parity-scale-codec to 3.6.1 ( #14428 )
2023-06-21 11:37:11 +00:00
Alexandru Vasile
3da9449067
Bump sp-crates from latest crates.io version + release ( #14265 )
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2023-05-31 12:11:01 +00:00
Alexandru Vasile
98a0550ea2
Release: Bump SP crates to release on crates.io ( #14237 )
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2023-05-29 10:40:59 +00:00
Bastian Köcher
05da6d8e84
HoldReason: Improve usage ( #13869 )
...
* HoldReason: Improve usage
`HoldReason` was switched recently to use the `composite_enum` attribute that will merge the enums
from all pallets in the runtime to `RuntimeHoldReason`. `pallet-nis` was still requiring that the
variant was passed as constant to call `hold`. The proper implementation is to use the `HoldReason`
from inside the pallet directly when calling `hold`. This is done by adding a `RuntimeHoldReason` as
type to the `Config` trait and requiring that `Currency` is using the same reason. Besides that the
pr changes the name `HoldIdentifier` in `pallet_balances::Config` to `RuntimeHoldReason`.
* Update frame/nis/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review comment
* Fixes
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-05-24 21:59:34 +00:00
Arkadiy Paronyan
bfafbf7bac
Statement store ( #13701 )
...
* WIP Statement store
* Sync with networking changes in master
* WIP statement pallet
* Statement validation
* pallet tests
* Validation queue
* Store maintenance
* Basic statement refactoring + tests + docs
* Store metrics
* Store tests
* Store maintenance test
* cargo fmt
* Build fix
* OCW Api
* Offchain worker
* Enable host functions
* fmt
* Minor tweaks
* Fixed a warning
* Removed tracing
* Manual expiration
* Reworked constraint management
* Updated pallet constraint calculation
* Added small test
* Added remove function to the APIs
* Copy-paste spec into readme
* Comments
* Made the store optional
* Removed network protocol controller
* fmt
* Clippy fixes
* fmt
* fmt
* More clippy fixes
* More clippy fixes
* More clippy fixes
* Update client/statement-store/README.md
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* Removed sstore from node-template
* Sort out data path
* Added offline check
* Removed dispatch_statement
* Renamed into_generic
* Fixed commit placement
* Use HashSet for tracking peers/statements
* fmt
* Use ExtendedHostFunctions
* Fixed benches
* Tweaks
* Apply suggestions from code review
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
* Fixed priority mixup
* Rename
* newtypes for priorities
* Added MAX_TOPICS
* Fixed key filtering logic
* Remove empty entrie
* Removed prefix from signing
* More documentation
* fmt
* Moved store setup from sc-service to node
* Handle maintenance task in sc-statement-store
* Use statement iterator
* Renamed runtime API mod
* fmt
* Remove dump_encoded
* fmt
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* Fixed build after applying review suggestions
* License exceptions
* fmt
* Store options
* Moved pallet consts to config trait
* Removed global priority
* Validate fields when decoding
* Limit validation channel size
* Made a comment into module doc
* Removed submit_encoded
---------
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-05-04 10:24:32 +00:00