yjh
aad80cce31
feat: compute pallet/storage prefix hash at compile time ( #1539 )
...
Since the hash rules of this part of the `pallet_prefix/storage_prefix`
are always fixed, we can put the runtime calculation into compile time.
---
polkadot address: 15ouFh2SHpGbHtDPsJ6cXQfes9Cx1gEFnJJsJVqPGzBSTudr
---------
Co-authored-by: Juan <juangirini@gmail.com >
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-10-03 17:16:46 +02:00
Bastian Köcher
c54ea64af4
no-bound derives: Use absolute path for core ( #1763 )
...
Closes: https://github.com/paritytech/polkadot-sdk/issues/1718
2023-10-02 06:45:32 +11:00
gupnik
83ae018087
Adds ability to provide defaults for types provided by construct_runtime ( #14682 )
...
* Adds ability to use defaults for verbatim types
* Adds RuntimeOrigin and PalletInfo in DefaultConfig
* Adds RuntimeEvent in DefaultConfig
* Adds RuntimeEvent in DefaultConfig
* Minor fix
* Minor fix
* Everything in frame_system can now have a default
* Adds docs
* Adds UI Test for no_bounds
* Updates docs
* Adds UI tests for verbatim
* Minor update
* Minor updates
* Minor updates
* Addresses review comments
* Fixes test
* Update frame/support/procedural/src/derive_impl.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Minor fix
* Minor
* Fixes build
* Uses runtime_type
* Fixes comment
* Fixes comment
* Fixes test
* Uses no_aggregated_types as an option in derive_impl
* Uses specific imports
* Fmt
* Updates doc
* Update frame/support/procedural/src/derive_impl.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update frame/support/procedural/src/derive_impl.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Addresses review comment
* Addresses review comment
* fmt
* Renames test files
* Adds docs using docify
* Fixes test
* Fixes UI tests
---------
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-08-25 07:52:22 +00:00
Juan
878c562cd4
Restructure frame_support macro related exports ( #14745 )
...
* make reexports private
* make reexports private 2
* make reexports private for runtime-benchmarking
* make reexports private for try-runtime
* fix for try-runtime
* make reexports private for tests
* fmt
* make reexports private for tests
* make reexports private for experimental
* fix beefy
* fix ui test
* fix ui test
* fix benches
* ".git/.scripts/commands/fmt/fmt.sh"
* fix contracts use
* wip
* wip
* do not reexport sp_api::metadata_ir
* fix CI checks
* fix support tests
* ".git/.scripts/commands/fmt/fmt.sh"
* Update frame/support/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* import codec directly
* fmt
* fix node-cli tests
---------
Co-authored-by: command-bot <>
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-08-23 12:30:12 +00:00
Bastian Köcher
04b1e4fbd8
Improve storage_alias and make UnlockAndUnreserveAllFunds independent of the pallet ( #14773 )
...
* Make `storage_alias` more generic over the `prefix`
* Make `UnlockAndUnreserveAllFunds` indepenend from the pallet
* FMT
* Fix error reporting
* Rename prefix type
* Add test
* Apply suggestions from code review
Co-authored-by: Sam Johnson <sam@durosoft.com >
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: Sam Johnson <sam@durosoft.com >
Co-authored-by: command-bot <>
2023-08-16 08:15:32 +00:00