ZhiYong and kianenigma
3e63e70b26
Name the score of the election in election finalized event ( #12069 )
...
* Name the score of the election in ElectionFinalized event
* fmt
* 1.Adjust the logic of the function 'do_elect()'.
2.Add one test that does ElectionCompute::Signed and one that does ElectionCompute::Unsigned to check 'Event::SolutionStored' and 'Event::ElectionFinalized'
* Fix from kian
* fmt and update comment.
Co-authored-by: kianenigma <kian@parity.io >
2022-09-01 10:39:25 +00:00
f67c06ce22
Runtime State Test + Integration with try-runtime ( #10174 )
...
* add missing version to dependencies
* Huh
* add features more
* more fixing
* last touches
* it all finally works
* remove some feature gates
* remove unused
* fix old macro
* make it work again
* fmt
* remove unused import
* ".git/.scripts/fmt.sh" 1
* Cleanup more
* fix and rename everything
* a few clippy fixes
* Add try-runtime feature
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* small fixes
* fmt
* Update bin/node-template/runtime/src/lib.rs
* fix build
* Update utils/frame/try-runtime/cli/src/lib.rs
Co-authored-by: David <dvdplm@gmail.com >
* Update utils/frame/try-runtime/cli/src/commands/execute_block.rs
Co-authored-by: David <dvdplm@gmail.com >
* address all review comments
* fix typos
* revert spec change
* last touches
* update docs
* fmt
* remove some debug_assertions
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: David <dvdplm@gmail.com >
2022-09-01 10:33:22 +00:00
d8e951758c
Alliance pallet: add force_set_members instead of init_members function ( #11997 )
...
* Alliance pallet: add force_set_members instead of init_members function
* benchmark with witness data
* remove invalid limit for clear
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Revert "remove invalid limit for clear"
This reverts commit dba54e3071b63bfea908087aef213f4640e3ccbf.
* compile constructor only for test
* Update comments for force_set_members
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* benchmark - founders count range
* Revert "benchmark - founders count range"
This reverts commit aad16796f8dfed48079fb7f587b8f5b59382cda6.
* witness members count instead votable members count
* update the doc
* use decode_len for witness data checks
* change witness data member count to voting member count; update clear limits
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* merge master
* fixes after merge master
* revert to cb3e63
* disband alliance and return deposits
* revert debug changes
* weights
* update docs
* update test comments
* Apply Joe suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* rename event from AllianceDisband to AllianceDisbanded
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: command-bot <>
2022-09-01 10:31:32 +00:00
7f1b9a937a
Uniques: Reset approved account after transfer ( #12145 )
...
* reset approved account
* wrap at 100
* doc
* fmt
* Update frame/uniques/src/tests.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* new test
* Update frame/uniques/src/lib.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* fmt
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-09-01 08:45:20 +00:00
Liu-Cheng Xu
9bbf8efd02
Only log when the transaction is actually to be propagated ( #12158 )
...
The logging before is confusing as it says Propagating but it's not in fact when gossip_enabled is
false. Now it's also consistent with `propagate_transactions` below.
2022-08-31 22:31:05 +02:00
Sebastian Kunert and Sebastian Kunert
800bc5cd8c
Simplify trait bounds in network to prepare for collator-rpc ( #12082 )
...
* Hack towards PoC
* Abstract away runtime requirement
* blockchainevents
* Remove bitswap
* Remove unused sync more
* Remove unused features in network
* Re-enable bitswap change
* Remove `Chain` trait bound
* Reimplement blockchain-rpc-events
* Move network to cumulus
* Make AuthorityDiscovery async
* Remove `ProofProvider` requirement from network behaviour
* Extract bitswap
* Adjustments after merge
* Remove HeaderMetadata trait from network
* Introduce NetworkHeaderBackend
* Add comments
* Improve comments
* Move NetworkHeaderBackend to new module
* Improve naming, remove redundand send + sync
* Clean up generics
* Fix CI
* Improve comment and readability
* Remove NetworkHeaderBackend
* Fix Cargo.lock
Co-authored-by: Sebastian Kunert <skunert@Sebastians-MacBook-Pro.fritz.box >
2022-08-31 14:55:46 +02:00
Shawn Tabrizi and parity-processbot
28e94d97dd
Companion for Weight v1.5 ( #5943 )
...
* fix to latest substrate pr
* update weights
* cargo build -p polkadot-runtime-parachains
* fix xcm-builder
* fix import
* fix a bunch
* fix a bunch of weight stuff
* kusama compile
* unused
* builds
* maybe fix
* cargo test -p polkadot-runtime-parachains
* xcm simulator example
* fix tests
* xcm sim fuzz
* fix runtime tests
* remove unused
* fix integration tests
* scalar div
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-31 11:59:39 +00:00
Shawn Tabrizi
30951822ba
Weight v1.5: Opaque Struct ( #12138 )
...
* initial idea
* update frame_support
* update a bunch more
* add ord
* adjust RuntimeDbWeight
* frame_system builds
* re-export
* frame_support tests pass
* frame_executive compile
* frame_executive builds
* frame_system tests passing
* pallet-utility tests pass
* fix a bunch of pallets
* more
* phragmen
* state-trie-migration
* scheduler and referenda
* pallet-election-provider-multi-phase
* aura
* staking
* more
* babe
* balances
* bunch more
* sudo
* transaction-payment
* asset-tx-payment
* last pallets
* fix alliance merge
* fix node template runtime
* fix pallet-contracts cc @athei
* fix node runtime
* fix compile on runtime-benchmarks feature
* comment
* fix frame-support-test
* fix more tests
* weight regex
* frame system works
* fix a bunch
* more
* more
* more
* more
* more
* more fixes
* update templates
* fix contracts benchmarks
* Update lib.rs
* Update lib.rs
* fix ui
* make scalar saturating mul const
* more const functions
* scalar div
* refactor using constant functions
* move impl
* fix overhead template
* use compactas
* Update lib.rs
2022-08-31 11:26:13 +00:00
Andronik
138aae0a22
fix cargo check -p polkadot-node-core-provisioner --all-features ( #5942 )
2022-08-30 20:42:34 +00:00
Dmitry Markin
13ea167bd7
Change validation & collation protocol names to include genesis hash & fork id ( #5876 )
2022-08-30 19:50:22 +03:00
Oliver Tale-Yazdi
299f4ba541
Fix sporadic test failure ( #12140 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-30 09:12:19 +00:00
Tsvetomir Dimitrov
6e04112b93
Fix some typos in dispute-coordinator ( #5941 )
2022-08-29 23:20:07 +02:00
b74fba5dac
Alliance pallet: retirement notice call ( #11970 )
...
* Alliance pallet: retirement notice
* add alliance pallet to benchmark list for dev chain
* fix type
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* link weight generated by bench for retirement_notice method
* migration to clear UpForKicking storage prefix
* rename migration from v1 to v0_to_v1
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* rename `retirement-notice to give-retirement-notice
* Apply suggestions from code review
Co-authored-by: Squirrel <gilescope@gmail.com >
* review fixes: update doc, saturating add, BlockNumber type alias
* add suffix to duratin consts *_IN_BLOCKS
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* add negative tests (#11995 )
* add negative tests
* remove tests powerless asserts checking against announcment origin
* assert bad origin from announcement origin checks
Co-authored-by: muharem <ismailov.m.h@gmail.com >
Co-authored-by: command-bot <>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-08-29 16:02:23 +00:00
Mara Robin B and parity-processbot
fc97080cb2
version bumps (0.9.28) ( #5933 )
...
* Bump crate versions
* Bump spec_version to 9280 for kusama
* Bump spec_version to 9280 for polkadot
* Bump spec_version to 9280 for rococo
* Bump spec_version to 9280 for westend
* update Cargo.lock
Co-authored-by: parity-processbot <>
2022-08-29 18:01:58 +02:00
Koute
b922a25ccd
Force rustix to use libc ( #12123 )
2022-08-29 15:30:37 +00:00
Bastian Köcher
f6f6570459
Fix flaky trie-db cache test ( #12139 )
2022-08-29 17:11:19 +02:00
Dmitry Markin and Bastian Köcher
224562729d
Make NetworkService::add_reserved_peer() accept MultiaddrWithPeerId ( #12102 )
...
* Make `add_reserved_peer()` accept `MultiaddrWithPeerId`
* minor: cargo fmt
* minor: error to string conversion
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-08-29 11:54:57 +00:00
Dmitry Novikov
674e73caf0
Bug fix of currencies implementation for pallet-balances ( #11875 )
...
* Add test
* Fix the bug
* Add similar test for named reservable
* Extend test with "overflow" repatriation
* Expand test for `NamedReservableCurrency`
* Add notes about return values meaning
2022-08-29 11:22:40 +00:00
dependabot[bot] and Oliver Tale-Yazdi
80fae17118
Bump futures-util from 0.3.21 to 0.3.23 ( #5922 )
...
* Bump futures-util from 0.3.21 to 0.3.23
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.21 to 0.3.23.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.21...0.3.23 )
---
updated-dependencies:
- dependency-name: futures-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix deprecated warning
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-29 08:03:29 +00:00
Jędrzej Kula and Jedrzej Kula
39db847714
Additional constraints for NotificationSender ( #12121 )
...
Co-authored-by: Jedrzej Kula <jedrzej.kula@cardinals.cc >
2022-08-29 10:01:37 +02:00
Kian Paimani and parity-processbot
2d8177cf70
Companion for 12095 ( #5924 )
...
* Companion for 12095
* fix
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-28 13:41:43 +00:00
Shawn Tabrizi and Oliver Tale-Yazdi
5595c96d03
use generated preimage weight ( #5904 )
...
* use generated preimage weight
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-28 12:58:01 +00:00
Kian Paimani
8d481f55c3
Fix nomination pools pending rewards RPC ( #12095 )
...
* Fix nomination pools pending rewards RPC
* Fix node
* Update frame/nomination-pools/src/lib.rs
* Fix docs
2022-08-28 12:55:54 +00:00
Piotr Mikołajczyk
9e5b211828
try-runtime - support all state versions (#12089 )
...
* Add argument
* Apply
* More verbose parsing
* fmt
* fmt again
* Invalid state version
* reuse parsing
* type mismatch
2022-08-27 04:56:24 +00:00
Bastian Köcher
b81578a429
Update Substrate to make companion check happy ( #5934 )
...
I merged some prs that require one manual update.
2022-08-26 08:27:57 +00:00
dependabot[bot]
75a76d967b
Bump serde_json from 1.0.79 to 1.0.85 ( #12079 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.79 to 1.0.85.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.85 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-26 09:32:20 +02:00
dependabot[bot]
45655e485b
Bump async-trait from 0.1.51 to 0.1.57 ( #11948 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.51 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.51...0.1.57 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-26 09:31:56 +02:00
dependabot[bot]
5318bf53d4
Bump parking_lot from 0.12.0 to 0.12.1 ( #12098 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.0...0.12.1 )
---
updated-dependencies:
- dependency-name: parking_lot
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-25 23:52:19 +02:00
Sergejs Kostjucenko
933440197a
pin gha versions ( #12100 )
2022-08-25 17:52:58 +03:00
Robert Klotzner
979483fd80
Fix wrong logic. ( #5931 )
2022-08-25 16:32:31 +02:00
Bastian Köcher
7c465dfe6a
Fix wasm_export_functions when using a return statement ( #12107 )
...
When used a return statement before we directly returned from the function which is obviously wrong.
2022-08-25 13:18:53 +02:00
Squirrel
0fb0ef8c2f
clone not required as copy. ( #12110 )
2022-08-25 11:11:15 +00:00
Mara Robin B and parity-processbot
83217b3e04
update weights ( #5911 )
...
* rococo: update weigths
* polkadot: update weigths
* kusama: update weigths
* westend: update weights
Co-authored-by: parity-processbot <>
2022-08-25 10:11:40 +00:00
Mara Robin B
09e91acb86
Clean up MigrateToV10 ( #5921 )
...
* Clean up MigrateToV10
* fixup
2022-08-25 09:13:44 +00:00
Keith Yeung
948af11977
Allow construct_runtime to take cfg attributes for pallets ( #11818 )
...
* Allow construct_runtime to take cfg attributes for pallets
* cargo fmt
* Remove commented out code
* Fixes
* cargo fmt
* Remove inaccurate comments
* Fix typo
* Properly reverse pallets
* Fixes
* cargo fmt
* Add missing newlines
2022-08-25 08:56:18 +00:00
dependabot[bot]
427e7c1ab3
Bump async-trait from 0.1.56 to 0.1.57 ( #5919 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 21:13:45 +00:00
Keith Yeung and parity-processbot
edc8f7b409
Implement ResultQuery ( #11257 )
...
* Implement ResultQuery
* Fix test expectations
* Add more tests
* Fix test expectations
* Clean up some names
* Silence warnings
* Specify error type when supplying error type to ResultQuery
* cargo fmt
* Add support for type parameters in parameter_types macro
* Reduce deeply indented code
* Fixes
* Update test expectation
* Rewrite and document formula for calculating max storage size
* More docs
* cargo fmt
* formatting
Co-authored-by: parity-processbot <>
2022-08-24 17:47:08 +00:00
Oliver Tale-Yazdi
6aba2fdc99
Test bench components with more values ( #11963 )
...
* Test values besides low and high.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Only add highest if different and remove check
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add env var
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update README
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-24 15:55:48 +00:00
Robert Klotzner and Andrei Sandu
c83eaa2475
Send back empty votes + log in approval-voting in case candidate entry is missing. ( #5925 )
...
* Send back empty votes + log.
* Update node/core/approval-voting/src/lib.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-08-24 15:44:13 +00:00
Bastian Köcher
e62e670631
Print bootnode mismatch message as warning ( #12075 )
...
* Print bootnode mismatch message as `warning`
* Fix test :thinking_face:
* Remove wrong warning
2022-08-23 22:22:58 +02:00
Javier Viola
126758429b
chore: bump zombienet version ( #5914 )
2022-08-23 20:24:17 +02:00
dependabot[bot]
1f1d979dcc
Bump indexmap from 1.9.0 to 1.9.1 ( #5918 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.9.0...1.9.1 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 14:03:11 +02:00
dependabot[bot]
16842c3d64
Bump parity-db from 0.3.13 to 0.3.16 ( #12091 )
...
Bumps [parity-db](https://github.com/paritytech/parity-db ) from 0.3.13 to 0.3.16.
- [Release notes](https://github.com/paritytech/parity-db/releases )
- [Commits](https://github.com/paritytech/parity-db/commits )
---
updated-dependencies:
- dependency-name: parity-db
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 13:19:54 +02:00
dependabot[bot]
0b6619c1e7
Bump proc-macro2 from 1.0.40 to 1.0.43 ( #5878 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.40 to 1.0.43.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.40...1.0.43 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 09:04:01 +00:00
dependabot[bot]
35769feebb
Bump hyper from 0.14.19 to 0.14.20 ( #5901 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.19 to 0.14.20.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.20/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.19...v0.14.20 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 09:02:57 +00:00
Mak
bbe228a12f
Fix output file for updating weights in run_benches_for_runtime.sh ( #5906 )
2022-08-22 18:38:38 +00:00
Nazar Mokrynskyi and parity-processbot
872c87e8e6
Companion to Substrate PR 12006 ( #5913 )
...
* Fix import to make it compatible with https://github.com/paritytech/substrate/pull/12006
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-22 16:45:54 +00:00
Sergejs Kostjucenko
315f2f469e
pin gha versions ( #5916 )
2022-08-22 19:07:03 +03:00
Nazar Mokrynskyi
b20f83c18f
Network sync refactoring (part 7) ( #12006 )
...
* Move `MultiaddrWithPeerId` and related parsing functions into `sc-network-common`, remove dependency on `sc-network` from `sc-chain-spec`
* Remove dependency on `sc-network` from `sc-offchain`
* Remove dependency on `sc-network` from `sc-network-gossip`
2022-08-22 15:53:14 +00:00
Sasha Gryaznov
c930cd0d79
[contracts] define_env! re-write as a proc macro ( #11888 )
...
* define_env proc macro basics + can_satisfy part ready
* expand_impls part done
* fix of the &FunctionType bug
* pallet is compiled
* updated host fn definition syntax
* docs comments allowed to host fn definitions
* all 53 host funcs re-defined by the new macro
* unstable feat fix
* cleanup
* legacy mbe macros cleaned up
* Added Env ident to macro attribute; all tests pass!
* \#[v(..)] -> \#[version(..)]
* some tiny corrections
* save
* builds with non-magic rt; tests fail
* tests pass
* refactored errors + added docs
* merge err fixed
* fixes on @ascjones review, all except moving away from `pub mod env` syntax
* debug printing cleared
* clippy fix
2022-08-22 13:06:43 +00:00