Stanly Johnson
d2ac8bd941
fix : remove _{ } syntax from benchmark macro ( #7822 )
...
* commented use of common
* hack to pass tests
* another hack
* remove all commented code
* fix the easy tests
* temp hack
* follow through comma hack until better solution
* patch macro
* missed one
* update benchmarks
* update docs
* fix docs
* removed too much
* fix changes
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-01-06 01:51:02 +00: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
Guillaume Thiolliere
1cbfc9257f
Rename pallet trait Trait to Config ( #7599 )
...
* rename Trait to Config
* add test asserting using Trait is still valid.
* fix ui tests
2020-11-30 14:34:54 +00:00
Gavin Wood
cf4c744eb3
Time-delay proxies ( #6770 )
...
* Time-delay proxies.
* Tests
* Initial couple of benchmarks
* Fix up runtime
* Last couple of benchmarks
* Tests
* Docs
* Migration
* add tests to proxy benchmarks
* generated benchmarks, not integrated
* Fix weight trait
* integrate weightinfo
* default weight
* Grumble
* Deduplication, split proxy from announced_proxy and don't require reauthentication
* Fix
* Remoe superfluous
* Typos
* Indent
* Fix
* Fixes
* rename 'proxy_announced' -> 'announced_proxy'
* flip rename
* comments and spacing
* fix proxy_announced
* remove unneeded `execute` marker
* Avoid unneeded changes to extrinsic indices
* Cleanup
* Fixes
* Update Benchmarks and Weights for Delayed Proxy (#6811 )
* update bechmarks to parameterize announcements
* remove announcement param from proxy
* Update pallet_proxy.rs
* Update weights
* Bump runtime
* Fix benchmark
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-08-23 10:52:40 +00:00
Shawn Tabrizi
481ad884d6
Dynamic Benchmarking DB Whitelist ( #6815 )
...
* Add `get_whitelist` api
* add whitelisted caller
* Whitelist caller
* remove caller 0
* initial piping of origin (not actual value yet)
* remove attempt to pass origin around
* Add whitelist for `DidUpdate` storage on `pallet_timestamp`
* fix traits
* only add to whitelist if !contains
* PassBy not implemented error
* Whitelist read/writes explicitly per key
* update docs
* reduce trait constraint
* copy pasta
* Apply suggestions from code review
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* rename functions @apopiak
* missed some renaming
* enable doc tests
* Update docs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2020-08-19 16:15:50 +00:00
Gavin Wood
0761a8e0c3
Allow "anonymous" proxied accounts ( #6236 )
...
* Anonymous proxiers
* More testing
* More testing
* Build fix
* Build fix
* Benchmarks.
* fix benchmarking
* add weights
* fix line width
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-06-06 10:55:52 +02:00
Gavin Wood
4adac40c07
Generalised proxies ( #6156 )
...
* Initial work
* It should work
* Fix node
* Fix tests
* Initial test
* Tests
* Expunge proxy functionality from democracy and elections
* Allow different proxy types
* Repotted
* Build
* Build
* Making a start on weights
* Undo breaking change
* Line widths.
* Fix
* fix tests
* finish benchmarks?
* Storage name!
* Utility -> Proxy
* proxy weight
* add proxy weight
* remove weights
* Update transfer constraint
* Again, fix constraints
* Fix negation
* Update frame/proxy/Cargo.toml
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Remove unneeded event.
* Grumbles
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2020-06-02 18:15:15 +02:00