Qinxuan Chen
bc0520913d
Migrate pallet-transaction-payment to new pallet attribute macro ( #9087 )
...
* Migrate pallet-transaciont-payment to new pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* remove generic from genesis config
* fix test
* fix tests
* fix deprecated
* fix tests
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-06-25 03:23:36 +00:00
Squirrel
ea1f21a904
Use MAX associated const ( #9196 )
...
* Use MAX associated const
2021-06-24 11:53:49 +01:00
Squirrel
6ccb5dc713
Result<Option<>> rather than Option<Option<>> ( #9119 )
...
* Clearer API to code against.
2021-06-23 13:41:46 +01:00
Julien
7b50bbb9bf
Fixed typo in comment ( #9182 )
2021-06-23 12:44:11 +02:00
Guillaume Thiolliere
0af5d6ff32
fix typo ( #9184 )
2021-06-23 10:34:54 +00:00
Zeke Mostov
b9d03f25da
try-runtime-cli: Add execute-block subcommand ( #9077 )
...
* Refactor remote_externalities::rpc_api
* try-runtime-cli: Adde `execute-block` subcommand
* Trivial
* Address some comments
* Use required_if & remove header-at usage
* Improve doc
* Update comment
* small tweaks
* add overwrite-code to shared params
* Update utils/frame/try-runtime/cli/src/lib.rs
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
* make url a shared param
* add helper for block_at (#9153 )
* add helper for block_at
* remove redundant bound
* doc for fn block_at
* Update error message
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
2021-06-22 20:36:12 +00:00
Peter Goodspeed-Niklaus
46ccf17e7c
fix some failing ui tests ( #9157 )
...
* fix some failing ui tests
* Update frame/support/test/tests/pallet_ui/call_argument_invalid_bound_2.stderr
* Update frame/support/test/tests/pallet_ui/call_argument_invalid_bound_2.stderr
* fix ui test
* fix ui test
* TRYBUILD=overwrite cargo test --workspace -- ui
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-06-21 13:12:58 +00:00
Shawn Tabrizi
e5831c3db3
New Weights for All Pallets ( #9148 )
...
* Create run_benchmarks.sh
* Update run_benchmarks.sh
* new weights
* Delete run_benchmarks.sh
* wrong folder
* remove grandpa weight
* Update weights.rs
2021-06-21 09:57:43 +00:00
Guillaume Thiolliere
205ab6dee1
Avoid running some test 2 times when unneeded ( #9124 )
...
* avoid running some test 2 times when unneeded
* Update frame/support/test/Cargo.toml
2021-06-16 16:19:09 +00:00
Shawn Tabrizi
9b87134bc6
Make backwards compatible with CountedMap ( #9126 )
2021-06-16 14:19:10 +00:00
Shaun Wang
b21c49524f
Migrate pallet-elections to pallet attribute macro ( #9088 )
...
* Migrate elections pallet to pallet attribute macro.
* Metadata fix.
* Update frame/elections/src/lib.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-06-16 14:17:57 +00:00
André Silva
ae5cd339b5
grandpa: cleanup sync bounds ( #9127 )
...
* grandpa: cleanup sync bounds
* grandpa: cleanup imports
* remove cargo patch
2021-06-16 12:51:09 +00:00
Guillaume Thiolliere
5fa96f2ed2
Do not run pallet_ui test with conditional-storage feature ( #9122 )
...
* do not run pallet_ui test with conditional-compilation feature
* fix
2021-06-16 09:09:24 +00:00
Shawn Tabrizi
36ac9111dd
Add Control to Growth of the Staking Pallet ( #8920 )
...
* start count
* track count
* add max limit
* min bonds for participating
* respect min bond when unbonding
* revert a bit of u32
* fix merge
* more merge fixes
* update to `Current*`
* add helper functions
* Update frame/staking/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* fix
* minbond as storage
* checkpoint
* chill_other
* better bond tracking
* MinBond to MinNominatorBond
* better doc
* use helper function
* oops
* simple hard limits to validators / nominators.
* better doc
* update storage version
* fix tests
* enable migrations
* min bond tests
* chill other tests
* tests for max cap
* check `None` on cap too
* benchmarks
* Update frame/staking/src/lib.rs
* Update frame/staking/src/lib.rs
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
* Update frame/staking/src/lib.rs
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
* Update frame/staking/src/tests.rs
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
* fix benchmark
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* nits
* fix reap_stash benchmark
* remove lower bound to min bond
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
2021-06-16 04:57:14 +00:00
Keith Yeung
58e837fcd3
Emit error when construct_runtime imports a non-existent pallet part ( #8949 )
...
* Emit error when construct_runtime imports a non-existent Call part
* Reword and display pallet name when emitting part not found error
* Migrate decl_outer_dispatch to a proc macro
* Rename calls.rs to call.rs
* Create new construct_runtime_v2 macro
* Add UI test for importing non-existent call part in construct_runtime
* Emit error when construct_runtime imports a non-existent Config part
* Emit error when construct_runtime imports a non-existent Event part
* Migrate decl_outer_inherent to a proc macro
* Emit error when construct_runtime imports a non-existent Inherent part
* Migrate decl_outer_validate_unsigned to a proc macro
* Emit error when construct_runtime imports a non-existent ValidateUnsigned part
* impl for old macro
* fix line width
* add doc
* hide macroes and use unique counter everywhere
* Remove construct_runtime_v2
* Encapsulate pallet part check macros in a module
* Fix macro definitions in dummy part checker
* Tag ProvideInherent impl with #[pallet::inherent] properly for authorship pallet
* Remove Call part from pallets that do not define it
* Add Call part unit tests
* Remove undefined Call part import from offences pallet
* Add tests for expand_outer_inherent
* Remove Call part from pallets that do not define them
* Remove Call part imports from pallets that do not have it defined
* Remove Call part import of the offences pallet from grandpa pallet mocks
* Update frame/support/test/tests/pallet.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* Remove Call part imports for pallets that do not define them
* Move inherent tests to inherent_expand
* Add unit tests for expand_outer_validate_unsigned
* Add newline at the end of file
* fix ui test
* Small prayer to RNGsus for fixing CI
* Remove Call part from construct_runtime for randomness collective flip pallet
* Remove Call part import for randomness collective flip pallet
* Summon Laplace's demon instead of praying to RNGsus
* Update test expectations
* fix ui test and make sure it's flaky
* Revert "fix ui test and make sure it's flaky"
This reverts commit 362b6881389c911ef8d9ef85d71c9463f5694b20.
* Comment out test instead of putting it in conditional compilation
* Update UI test expectations
* Update UI test expectations
* Emit error when construct_runtime imports a non-existent Origin part
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Denis P <denis.pisarev@parity.io >
2021-06-16 03:44:22 +00:00
cheme
693b39f43b
Frame remove_all with size limit. ( #9106 )
...
* remove prefixed content with limit.
* test match
* factor comment and factor ext limit removal.
* fix benchmark
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-15 13:23:58 +00:00
Guillaume Thiolliere
65d3d5d4ab
execute system integrity_test also ( #9104 )
2021-06-14 21:31:04 +01:00
Guillaume Thiolliere
fdc29180f6
improve variable name ( #9108 )
2021-06-14 21:16:58 +02:00
Guillaume Thiolliere
ebf5e771fc
staking/election: prolonged era and emergency mode for governance submission. ( #8912 )
...
* Implementation but weird initial era in tests
* Emergency mode for elections. (#8918 )
* do some testing, some logging.
* some testing apparatus
* genesis election provider (#8970 )
* genesis election provider
* fix historical stuff
* Fix test
* remove dbg
* Apply suggestions from code review
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
* capitalize comment and name without conflict
* fix log
* Update frame/election-provider-multi-phase/src/lib.rs
* Update frame/election-provider-multi-phase/src/lib.rs
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
* apply suggestion on tests
* remove testing modifications
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Dmitry Kashitsyn <korvin@deeptown.org >
* apply suggestion
* fix master merge
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
Co-authored-by: Dmitry Kashitsyn <korvin@deeptown.org >
2021-06-14 14:02:45 +00:00
h4x3rotab
cd52b3f2bc
Improve construct_runtime doc ( #9096 )
...
- Mention when the pallet definition parts are needed
- Rename "module" to "pallet"
2021-06-14 11:22:39 +00:00
Qinxuan Chen
6b33a79831
Migrate pallet-randomness-collective-flip to pallet attribute macro ( #9061 )
...
* migrate pallet-randomness-collective-flip to pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* remove some spacing things
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* remove space
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* use tabs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-06-14 11:00:32 +00:00
Keith Yeung
c2f13a03a8
Allow renaming storage item prefixes ( #9016 )
...
* Implement parsing for #[pallet::storage_name] on storage items
* Rename storage prefix when a #[pallet::storage_name] is supplied
* Fix test_storage_info
* Rename storage_name to storage_prefix
* Check for duplicates when renaming storage prefixes
* Allow only string literals for storage_prefix renames
* Use proper spans for attribute errors
* Check for valid identifiers when parsing storage prefix renames
2021-06-14 10:07:09 +00:00
Peter Goodspeed-Niklaus
0975a92818
fix ordering of staking weight arguments ( #9063 )
...
Closes #9054 .
2021-06-14 09:16:14 +02:00
Bastian Köcher
45f8b6e91f
pallet-authorship: Fixing some nitpicks ( #9095 )
...
As reviewing the pallet yesterday, I have found some nitpicks that I
fixed.
2021-06-13 11:41:13 +00:00
chenwei
df0a50f966
Make find_proxy public. ( #9094 )
...
export `pallet_proxy::find_prox` and `ProxyDefinition`.
2021-06-13 12:27:54 +02:00
Xiliang Chen
e508536ca4
remove Default from AssetId trait bound ( #9062 )
...
* update AssetId trait
* try again
2021-06-13 06:26:42 +00:00
Andrew Jones
02930e098b
Allow additional trait bounds for #[pallet::constant] ( #9050 )
...
* Allow additional trait bounds for constants
* Add ui test for constants with additional trait bounds
* Update trait constant ui test
* Import syn::Error
* Use reference instead of cloning
* Add extra invalid bound ui test
* Out or order valid bounds
* Fix ui test
* Fix ui test
* Apply review suggestion about error message
2021-06-13 02:36:36 +02:00
Guillaume Thiolliere
d31e607bda
Enforce pub calls in pallets ( #9085 )
...
* make all extrinsics public so they are available from outside
* Impl
* fix
* more fix
* more pub
* few more
* merge fix
* fix ui test
* fix ui test
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-06-12 16:15:21 +00:00
André Silva
f21243e4e5
im-online: send heartbeats at a random period ( #8819 )
...
* im-online: send heartbeats at a random period
* support: use permill to represent session progress
* im-online: increase probability of heartbeating with session progress
* babe, session: fix tests
* babe: fix test
2021-06-12 15:58:36 +00:00
Shawn Tabrizi
517fd6149a
Fixes in Assets Pallet ( #9059 )
...
* upper bound witness with refund
* simple test
* track approvals
* dont allow approvals when asset is frozen
* destroy returns approval deposit
* update `NonTransfer` proxies
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2021-06-12 14:59:56 +00:00
Alexander Popiak
5dec6e5c81
make all extrinsics public so they are available from outside ( #9078 )
...
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-06-12 12:43:08 +02:00
Bastian Köcher
e360cff92e
pallet-offences: Switch to partition_point ( #9049 )
...
This changes the code to use `partition_point` instead of
`binary_search_by_key`, because this was very likely the problematic
pallet 2 weeks ago on polkadot.
2021-06-12 02:38:17 +02:00
Shaun Wang
0869fdf9aa
Migrate pallet-staking to pallet attribute macro ( #9083 )
...
* Migrate staking pallet to pallet attribute macro.
* HistoryDepth default value.
* Make all calls public.
* Update frame/staking/src/lib.rs
* remove externalities again
* Update lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-12 00:22:40 +00:00
Shawn Tabrizi
ed448ef28b
Implement transfer_all in Balances Pallet ( #9018 )
...
* transfer_all
* benchmark
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* update
* add note
* typo
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2021-06-11 15:45:13 +00:00
Bastian Köcher
11037ac35f
Try fix ui tests ( #9082 )
...
* Try fix ui tests
* More
2021-06-11 15:12:57 +00:00
Zeke Mostov
f0120d3b62
[try-runtime-cli] Offchain worker support ( #8966 )
...
* make remote-ext work with ws and safe RPCs
* Update docs.
* Update utils/frame/remote-externalities/Cargo.toml
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
* Fix test
* Update lock file
* Update utils/frame/remote-externalities/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Fix build again.
* checkpoint, merging the paged rpc now
* revert lifetime stuff
* WIP: remote client init not working
* Small cleanups
* use jsonrpsee alpha.7
* WIP
* Executiing without errors
* Reorg & cleanup
* Trivial cleaning
* Add txpool & keystore extension
* Small cleaning
* More :cleaning
* Flags: page-size, override-code
* WIP
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Remove heap_pages
* Dry code extraction from state
* Formatting
* More formatting
* Add issue todo
* Use jsonrpsee 0.2.0
* Try trigger gitlab
* Fix "block_import_works" test
* fix native_big_block_import_fails_on_fallback test
* fix commit should work
* Rewrite UI tests
* Revert "Rewrite UI tests"
This reverts commit ada7f670f701c21fb399946a3f6918453f537bcb.
* try again with UI
* Use const for legacy heap pages val
* Move parse module to its own file
* Move rpc_api module to its own file
* Apply suggestions from code review
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
* trait names: Block, not B
* Corect HEAP_PAGES_TEST_LEGACY export
* Update utils/frame/remote-externalities/src/rpc_api.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Revert test_ext heap_page insert; adjust storage root instead
* Doc comments for try_runtime::cli::Command
* TryRuntime stub
* trailing comma
* Remove unused dev dep in frame-executive
* Improve parse::hash variable name & error index
* Use Result for rpc_api fns
* Richer err messagges
* Remove HEAP_PAGE_TEST_LEGACY
* Update bin/node/executor/tests/basic.rs
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
2021-06-09 22:05:28 +00:00
Joshy Orndorff
5e0f922db4
remove explicit unit return type ( #9053 )
2021-06-09 14:36:41 +00:00
Keith Yeung
828d1d74aa
Use pallet names to name enum variants ( #8990 )
...
* Remove unused event_metadata variable
* Eliminate mod_name and use pallet names to name enum variants
* Rename field name `pallet` to `path`
* Use only the pallet name to generate variant names
* Use new naming scheme for Event enum in sudo pallet tests
* Use new naming scheme for Event enum in offences pallet tests
* Use new naming scheme for Event enum in contracts pallet tests
* Use new naming scheme for Event enum in collective pallet tests
* Use new naming scheme for Event enum in bounties pallet tests
* Use new naming scheme for Event enum in balances pallet tests
* Use new naming scheme for Event enum in assets pallet tests
* Use new naming scheme for Event enum in frame support tests
* Use new naming scheme for Event enum in tips pallet tests
* Use new naming scheme for Event enum in transaction payment pallet tests
* Use new naming scheme for GenesisConfig fields in example pallet tests
* Use new naming scheme for GenesisConfig fields in elections pallet tests
* Use new naming scheme for Event enum in election provider multi-phase pallet tests
* Use new naming scheme for Event enum in elections phragmen pallet tests
* Use new naming scheme for GenesisConfig fields in chain spec
* Use new naming scheme for Event enum in staking pallet mock
* Use new naming scheme for GenesisConfig fields in node-template chain spec
* Use new naming scheme for GenesisConfig fields in node-testing chain spec
* Use new naming scheme for Event enum in node executor tests
* Use new naming scheme for GenesisConfig fields in transaction storage pallet mock
* Refactor match conditions
2021-06-09 09:31:29 +00:00
Guillaume Thiolliere
ea6831e398
put the validate_unsigned implementation inside the pallet definition ( #9044 )
...
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-08 20:54:06 +00:00
Zeke Mostov
40c0294ff6
Small doc updates to election-provider-multi-phase ( #9041 )
...
* Small doc updates to election-provider-multi-phase
* small change
* Improve challenge phase docs
* An honest
2021-06-08 17:26:08 +00:00
Shawn Tabrizi
28bfba142e
Emit Bonded event when rebonding ( #9040 )
...
* Emit `Bonded` event when rebonding
* fix borrow checker
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2021-06-08 14:02:57 +00:00
Andrew Jones
74793a83a5
Delete legacy runtime metadata macros ( #9043 )
2021-06-08 11:16:56 +00:00
Xiliang Chen
a032d62239
fix unreserve_all_named ( #9042 )
2021-06-08 10:59:19 +02:00
Alexander Theißen
60256d752e
contracts: Add new seal_call that offers new features ( #8909 )
...
* Add new `seal_call` that offers new features
* Fix doc typo
Co-authored-by: Michael Müller <michi@parity.io >
* Fix doc typos
Co-authored-by: Michael Müller <michi@parity.io >
* Fix comment on assert
* Update CHANGELOG.md
Co-authored-by: Michael Müller <michi@parity.io >
2021-06-07 17:40:23 +00:00
Kian Paimani
d9c1836987
Don't inlucde nominaotrs that back no one in the snapshot. ( #9017 )
2021-06-07 09:26:31 +00:00
Arkadiy Paronyan
8a8cc7bc60
Fixed build ( #9021 )
2021-06-04 11:27:05 +00:00
Jakub Pánik
1480b13cc5
update ss58 type to u16 ( #8955 )
2021-06-04 09:01:05 +00:00
Xiliang Chen
223529e4dd
Named reserve ( #7778 )
...
* add NamedReservableCurrency
* move currency related trait and types into a new file
* implement NamedReservableCurrency
* remove empty reserves
* Update frame/support/src/traits.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* fix build
* bump year
* add MaxReserves
* repatriate_reserved_named should put reserved fund into named reserved
* add tests
* add some docs
* fix warning
* Update lib.rs
* fix test
* fix test
* fix
* fix
* triggier CI
* Move NamedReservableCurrency.
* Use strongly bounded vec for reserves.
* Fix test.
* remove duplicated file
* trigger CI
* Make `ReserveIdentifier` assosicated type
* add helpers
* make ReserveIdentifier assosicated type
* fix
* update
* trigger CI
* Apply suggestions from code review
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* trigger CI
* Apply suggestions from code review
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Gavin Wood <i@gavwood.com >
Co-authored-by: Shaun Wang <spxwang@gmail.com >
2021-06-04 09:32:46 +02:00
Arkadiy Paronyan
84811dae00
Storage chain: Runtime module ( #8624 )
...
* Transaction storage runtime module
* WIP: Tests
* Tests, benchmarks and docs
* Made check_proof mandatory
* Typo
* Renamed a crate
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Added weight for on_finalize
* Fixed counter mutations
* Reorganized tests
* Fixed build
* Update for the new inherent API
* Reworked for the new inherents API
* Apply suggestions from code review
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Store transactions in a Vec
* Added FeeDestination
* Get rid of constants
* Fixed node runtime build
* Fixed benches
* Update frame/transaction-storage/src/lib.rs
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-04 06:50:59 +00:00
Shawn Tabrizi
f585bf1c1e
Add Call Filter That Prevents Nested batch_all ( #9009 )
...
* add filter preventing nested `batch_all`
* more tests
* fix test
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2021-06-03 13:05:02 +00:00