Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from paritytech:master #37

Merged
merged 685 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
685 commits
Select commit Hold shift + click to select a range
3919ca8
Fix staking genesis build (#14140)
ggwpez May 15, 2023
204f39a
Postpone public key creation in the test GenesisStorageBuilder (#14142)
davxy May 15, 2023
2153367
Adds integration test for slashed/chilled validator with subsequent v…
gpestana May 15, 2023
93e2cf1
Bump parity-db to 0.4.8 (#14146)
tdimitrov May 15, 2023
e4b08db
AccountTouch: deposit_required requires asset id (#14147)
muharem May 15, 2023
9dbf60c
Introduce function into frame System (#14149)
gavofyork May 15, 2023
1eb0611
fully enable `RuntimeDebug` in `feature = try-runtime` (#14136)
kianenigma May 15, 2023
be4c7cb
Tweak to avoid minor entropy loss (#14152)
gavofyork May 15, 2023
2af3ba8
expose transport, peer_info and discovery in sc-network (#14132)
klbrvik May 15, 2023
dd478bc
Move node-template Cargo.toml dependencies to workspace (#14058)
kalaninja May 16, 2023
1b8ad03
Bump tower-http from 0.3.5 to 0.4.0 (#14128)
dependabot[bot] May 16, 2023
3c10b12
Add review rules regarding the owned files (#14122)
juangirini May 16, 2023
f741f2e
Change unit test upload step (#14124)
mateo-moon May 16, 2023
1cb8fb0
Fix indent for pr-custom-review config (#14161)
alvicsam May 16, 2023
8423d2f
remove deprecated remove_prefix to clear era_info (#13460)
surajk-m May 16, 2023
bbe132e
frame-system: `uniques` remove one `encode` call (#14154)
bkchr May 16, 2023
43a130c
Max class voters for ranked collective vote tally (#13313)
muharem May 17, 2023
6507a79
Add `serde` feature flag to primitives (#13027)
haerdib May 17, 2023
f4a2e84
chore: move whitelist test to better place and add missing `Inactive …
yjhmelody May 17, 2023
bc89da2
Added serde feature to sp-consensus-aura (#14166)
michalkucharczyk May 18, 2023
7c06185
Adds ability to use default hasher in `dev_mode` for explicit key bin…
gupnik May 19, 2023
e736a97
Fix typos (#14177)
piffle-rack May 19, 2023
b938a72
Core-Fellowship: fix origin typo (#14179)
muharem May 19, 2023
2c3b923
remote-externalities: retry for get_keys (#14167)
liamaharon May 19, 2023
0046337
frame: Enable GenesisConfig in no_std (#14108)
michalkucharczyk May 20, 2023
2000147
Update the nix build configuration. (#13706)
farcaller May 20, 2023
8fca6cf
FRAME: Allow message ID to be mutated in ProcessMessage (#14183)
gavofyork May 21, 2023
691894b
RevertCmd: Expose database params via CLI (#14182)
bkchr May 21, 2023
e85188b
Improve try-state docs (#13967)
Szegoo May 21, 2023
17a99d1
test-runtime: Return hashed call as provides in unsigned validation (…
bkchr May 22, 2023
20bd05c
Revert "Optimize merkle proofs for efficient verification in Solidity…
Lederstrumpf May 22, 2023
e7229f1
Executor: Add `create_runtime_from_artifact_bytes` (#14184)
mrcnski May 22, 2023
e0de101
WarpSync: Show number of required peers in informant (#14190)
bkchr May 22, 2023
5032b8d
BREAKING - Try-runtime: Use proper error types (#13993)
Szegoo May 23, 2023
784ac7e
NFTs fractionalization (#12565)
lana-shanghai May 23, 2023
bc3ce83
Actually respect locks of zero (#14144)
gavofyork May 23, 2023
aacba0f
Remove the `Copy` bound on `AssetId` (#14158)
koute May 23, 2023
b9c9522
Split `Peerset` into `PeerStore` & `ProtocolController`s (#13611)
dmitry-markin May 23, 2023
5b08315
Add genesis config to Glutton pallet (#14188)
NachoPal May 23, 2023
820d196
Bump syn from 2.0.15 to 2.0.16 (#14196)
dependabot[bot] May 23, 2023
2e494e8
TrieCache: Fine tune the size of the local and node cache (#14191)
bkchr May 23, 2023
32ab5cb
Easy PR: Fix warnings from latest nightly (#14195)
gilescope May 23, 2023
4dd06e4
Remove wasmi backend from sc-executor (#13800)
yjhmelody May 23, 2023
dca6ebe
Migration hook fixes (#14174)
liamaharon May 23, 2023
e1345e7
wasm: Update from v6.0.2 to v8.0.1 (#14178)
lexnv May 24, 2023
bf92638
sc-client-db: add test for reverting finalized blocks (#14205)
andresilva May 24, 2023
3c8666b
Replace request-response incoming requests queue with `async-channel`…
dmitry-markin May 24, 2023
b2b90a6
pallet-merkle-mountain-range: Remove extra `Hash` type (#14214)
bkchr May 24, 2023
79d37ef
HoldReason: Improve usage (#13869)
bkchr May 24, 2023
b0a16c2
Get rid of some pointless pin_project stuff (#14212)
zdave May 25, 2023
2cc2e05
Support for `cfg` attributes in host functions definitions (#14189)
davxy May 25, 2023
0cf64f8
sc-consensus-beefy: graceful support for pallet-beefy reset (#14217)
acatangiu May 25, 2023
5a4f49b
Don't start evicting peers right after `SyncingEngine` is started (#1…
altonen May 25, 2023
b8169b7
Asset Conversion pallet (#12984)
gilescope May 25, 2023
51d06cd
bump zombienet version (#14227)
pepoviola May 25, 2023
f4cb21c
frame: GenesisBuild::build allowed in no_std (#14107)
michalkucharczyk May 25, 2023
46127a9
Add remove_proxies API for pallet-proxies #7557 (#12714)
vjgaur May 26, 2023
3846c2c
Bump platforms from 2.0.0 to 3.0.2 (#13625)
dependabot[bot] May 26, 2023
5b255b2
Soft deprecate GenesisConfig (#14210)
juangirini May 26, 2023
c470fc2
add new documentation guidelines (#14115)
kianenigma May 26, 2023
8b1af50
test-utils: Fix wait_for_blocks in presence of reorgs (#14215)
alexggh May 26, 2023
10f06f4
Improves documentation on `num_slashing_spans` when calling `withdraw…
gpestana May 27, 2023
a6de599
chain_head: Rename `runtimeUpdates` flag to `withRuntime` (#14244)
lexnv May 27, 2023
eddd133
Bump lru from 0.8.1 to 0.10.0 (#14211)
dependabot[bot] May 28, 2023
b8d7dd5
wasm-builder: Enforce `runtime_version` wasm section (#14228)
bkchr May 28, 2023
f3b12d9
Bump proc-macro-warning from 0.3.1 to 0.4.1 (#14171)
dependabot[bot] May 29, 2023
84bbb76
minor: fix misleading comment in `Notifications` (#14239)
dmitry-markin May 29, 2023
ab634fd
sp-api: Set correct where bound in the generated code (#14252)
bkchr May 29, 2023
48817b5
sp-wasm-interface: remove useless wasmi impl (#14208)
koushiro May 29, 2023
2bc071f
Release: Bump SP crates to release on crates.io (#14237)
lexnv May 29, 2023
f47a84a
[NFTs] Add minting price to the pre-signed mint object (#14242)
jsidorenko May 29, 2023
e1c1b22
`Pay` trait gets `Error` item (#14258)
gavofyork May 29, 2023
3b1750e
primitives: added serde feature (#14256)
michalkucharczyk May 29, 2023
628a740
FRAME: Pay trait benchmark helper should use asset kind (#14259)
gavofyork May 29, 2023
c080caf
bounded-collections bump to 0.1.7 (#14255)
michalkucharczyk May 29, 2023
5b11f65
[NFTs] Add mint price to the witness object on mint and confirm it (#…
jsidorenko May 29, 2023
e5670d2
Improve documentation for `fast-unstake` pallet (#14101)
kianenigma May 29, 2023
a8e7ba1
Incorporate `sc-peerset` into `sc-network` (#14236)
dmitry-markin May 29, 2023
a4e0813
Bump quote from 1.0.27 to 1.0.28 (#14253)
dependabot[bot] May 29, 2023
06d8934
Default Pallet Config Trait / derive_impl (#13454)
kianenigma May 30, 2023
252156d
app_crypto: macro improvements (#14263)
michalkucharczyk May 30, 2023
66ac9c4
Make offchain tx pool creation reusable (#14230)
bkchr May 31, 2023
9506289
Remove `enum-as-inner` pin (#14266)
bkchr May 31, 2023
655b81c
Bump sp-crates from latest crates.io version + release (#14265)
lexnv May 31, 2023
5aa4677
pallet-beefy-mmr: fix when using custom hashing (#14273)
acatangiu May 31, 2023
7f1861e
contracts: Multi block migrations (#14045)
pgherveou May 31, 2023
7a64651
Expose `build_system_rpc_future` and `TransactionPoolAdapator` in sc-…
liuchengxu May 31, 2023
6ef184e
Bump serde from 1.0.162 to 1.0.163 (#14271)
dependabot[bot] May 31, 2023
b7c8bf7
FRAME: Introduce `ConvertToValue` adapter (#14270)
gavofyork Jun 1, 2023
d9cffa6
Reduce logging verbosity when disconnecting an unknown peer (#14274)
dmitry-markin Jun 1, 2023
230876c
sp-api: Make the generated code act based on `std` in `sp-api` (#14267)
bkchr Jun 1, 2023
2577379
frame: support for serde added (#14261)
michalkucharczyk Jun 1, 2023
286a681
frame/support: Link call documentation only in prod-modes (#14283)
lexnv Jun 1, 2023
f50c501
Runtime: Add common morph utility types (#14281)
gavofyork Jun 1, 2023
ed8dde3
print error info for database error (#14248)
atenjin Jun 1, 2023
32aa02c
pallet-uniques: remove #[transactional] macro for buy_item (#14277)
cuteolaf Jun 2, 2023
da062e7
add test locking removed when amount is zero (#14284)
jpserrat Jun 2, 2023
f4d19a3
asset-conversion pallet: Generalise integrity test (#14289)
gilescope Jun 2, 2023
a6a1c02
Bump version of `pallet-contracts-primitives` for release (#14288)
ascjones Jun 2, 2023
28f56b6
frame-support Add translate_next (#14043)
pgherveou Jun 2, 2023
689da49
sc-transaction-pool: Always use best block to check if we should skip…
bkchr Jun 2, 2023
a119cf6
sp-api: Remove requirement on `Get*BlockType` (#14299)
bkchr Jun 4, 2023
715b246
Frame: Introduce `TryConvert` and `MaybeConvert` family of traits (#1…
gavofyork Jun 4, 2023
e0752b1
frame_system::remark: Allow any kind of origin (#14260)
bkchr Jun 4, 2023
b512933
Remove unrequired check (#14298)
gilescope Jun 4, 2023
31b57a1
migration(tips): unreserve deposits (#14241)
liamaharon Jun 5, 2023
ba29e11
upgrade macro_magic to 0.3.5 (#14303)
sam0x17 Jun 5, 2023
13ed450
arkworks integration (#13031)
achimcc Jun 6, 2023
55bb629
add pallet macro kitchensink example/template (#14052)
kianenigma Jun 6, 2023
bc4055b
Finalized should be before best (#14308)
davxy Jun 7, 2023
aeb8c31
Remove native deps: openssl-sys, git2-sys, libssh2-sys (#14302)
gilescope Jun 7, 2023
85b0807
refactor: define trait `HashOutput` for some Hash associate type (#14…
yjhmelody Jun 8, 2023
e434882
No need for AssetBalanceOf (#14325)
gilescope Jun 8, 2023
ff3be27
Move `type Migrations` to `Config` (#14309)
juangirini Jun 9, 2023
6f7ec53
it's always false... (#13330)
gilescope Jun 9, 2023
83bf140
fix gha set-output command (#14312)
sergejparity Jun 9, 2023
db3d3e8
Fix RPC error code conflict (#14315)
arkpar Jun 9, 2023
e5763b8
pallet-aura: Allow multiple blocks per slot (#14024)
rphmeier Jun 9, 2023
b72c475
Frame: Give Referendum `SubmitOrigin` argument (#14326)
gavofyork Jun 12, 2023
01a3470
build(deps): bump comfy-table from 6.2.0 to 7.0.0 (#14333)
dependabot[bot] Jun 12, 2023
85415fb
Update Pallet placeholder struct as per FRAME v2 (#14348)
abhi3700 Jun 12, 2023
5861423
fix new warning in nightly (#14334)
gilescope Jun 13, 2023
19c0766
Reimport `WeightInfo` (#14358)
kalaninja Jun 13, 2023
c111e93
Improvements to node template README (#14181)
Jun 13, 2023
51840a8
PR template improvements (#14148)
Jun 13, 2023
d16bced
build(deps): bump expander from 1.0.0 to 2.0.0 (#14361)
dependabot[bot] Jun 13, 2023
a57508e
Bump hyper-rustls from 0.23.2 to 0.24.0 (#14233)
dependabot[bot] Jun 13, 2023
50bb1c7
Use Incrementable from frame_support::traits (#14367)
jsidorenko Jun 13, 2023
84b565d
Take into account proof size for transaction payment and priority (#1…
Ank4n Jun 13, 2023
e976964
`pallet-glutton`: over-unity consumption (#14338)
ggwpez Jun 13, 2023
1c0204c
migration(democracy): unreserve deposits and clear locks (#14226)
liamaharon Jun 13, 2023
319a7bd
migration(elections-phragmen): unreserve deposits and clear locks (#1…
liamaharon Jun 13, 2023
8e2fba0
benchmark pallet: Error if files are overwritten twice (#14352)
ggwpez Jun 13, 2023
297b394
sc-executor-wasmtime: Do not use absolute path to `Cargo.toml` in tes…
bkchr Jun 13, 2023
85960c2
cargo-hfuzz ci: specify manifest patches via cargo --config (#14372)
Jun 14, 2023
2cc1667
Restructure macro-related exports into private mods for frame (#14375)
gui1117 Jun 14, 2023
5c04e81
Expose ExtraFlags struct (#14376)
kostekIV Jun 14, 2023
fe65adb
`construct_runtime`: support for expanding the macro code (#14379)
michalkucharczyk Jun 14, 2023
075ba84
Fix for `pallet_assets::create` benchmark (#14384)
bkontur Jun 14, 2023
51b2f0e
[frame/im-online] remove network state from heartbeats (#14251)
melekes Jun 15, 2023
42cda4f
fix clippy warnings in node template (#14390)
deepink-mas Jun 15, 2023
aeb24c2
sc-consensus-beefy: fix flaky test beefy_reports_equivocations (#14382)
acatangiu Jun 16, 2023
c101b13
Run all tests with `try-runtime` feature enabled (#14396)
bkchr Jun 16, 2023
6e1a5c4
Add a deprecation warning to the old runtime GenesisConfig (#14224)
juangirini Jun 16, 2023
b88ce9f
Fix links (#14371)
Jun 16, 2023
e785297
Delete 1D weight ctors and set explicit deprecation dates (#14397)
ggwpez Jun 16, 2023
16083b3
[frame/im-online] remove ensure from pre_upgrade (#14401)
melekes Jun 16, 2023
6bee6fc
update macro_magic to 0.4.1 (#14356)
sam0x17 Jun 16, 2023
cbf8939
[network] Extend `Notifications` logs with `SetId` where missing (#14…
dmitry-markin Jun 16, 2023
9fc3fd0
expose the fields of Dust type to public (#14388)
wangjj9219 Jun 18, 2023
31cf3d3
pallet benchmarking: Bump default steps and repeat (#14408)
ggwpez Jun 18, 2023
ae1a608
Society v2 (#11324)
gavofyork Jun 18, 2023
2e7fde8
Refactor `BlockBuilder::propose_with` (#14405)
ggwpez Jun 19, 2023
a626589
".git/.scripts/commands/bench-vm/bench-vm.sh" all (#13933)
mateo-moon Jun 19, 2023
0e9c1ce
Update DOCUMENTATION_GUIDELINES.md (#14369)
kianenigma Jun 19, 2023
242858f
ci: bump ci image for rust 1.70 (#14399)
Jun 20, 2023
8bf628d
Update contract multi-block migration (#14313)
pgherveou Jun 20, 2023
6e0059a
ci: move back to paritytech/ci-linux:production image (#14422)
Jun 20, 2023
e64926e
Bump `parity-scale-codec` to 3.6.1 (#14428)
koute Jun 21, 2023
755065f
Remove clippy workaround (#14424)
bkchr Jun 21, 2023
3413493
fix(remote-externalities): child trie not loaded (#14365)
liamaharon Jun 21, 2023
e72781c
suppress unused warning in kitchensink example (#14417)
sam0x17 Jun 21, 2023
fe1f8ba
expose setting kademlia replication factor through node CLI (#14391)
klbrvik Jun 21, 2023
607e836
inspect role for nonfungibles_v2 (#14341)
mutobui Jun 22, 2023
074dc1d
[minor] Extend logging with `SetId` in `ProtocolController` where mis…
dmitry-markin Jun 22, 2023
dc3fb3d
Adds ability to prepare/initialize before running `set_code` benchmar…
bkontur Jun 23, 2023
81d125f
Pay tx fee with assets by using the asset conversion pallet (#14340)
jsidorenko Jun 23, 2023
68fe1ef
once_cell in std from 1.70 (#14402)
gilescope Jun 24, 2023
0d09a26
try-runtime-cli: `execute-block` & `create-snapshot` tests (#14343)
Szegoo Jun 24, 2023
75be6e2
Remove k256 crate from frame-support dependencies (#14452)
conr2d Jun 25, 2023
0bf1433
`GenesisBuilder` runtime API (#14131)
michalkucharczyk Jun 26, 2023
ecf7122
Added missing BLS feature (#14461)
davxy Jun 26, 2023
a779e4d
[FRAME Core] Adds ability to split a pallet across multiple files (#1…
gupnik Jun 27, 2023
1724153
Remove unused dependencies (#14464)
skunert Jun 27, 2023
6bae274
fix(test-externalities): include memory db reference counts in snapsh…
liamaharon Jun 27, 2023
a84f0af
`pallet-message-queue`: add queue pausing (#14318)
ggwpez Jun 28, 2023
9f6fecf
Metadata V15: Expose types for the overarching Call, Event, Error enu…
lexnv Jun 28, 2023
aacc6ca
sc-network: Improve invalid boot node reporting (#14455)
bkchr Jun 28, 2023
e00031e
Metadata V15: Enrich extrinsic type info for decoding (#14123)
lexnv Jun 28, 2023
e354ae9
Make triecache generic and work for no-std environments (#14403)
skunert Jun 28, 2023
ee89006
fix on-runtime-upgrade checks docs (#14467)
liamaharon Jun 28, 2023
fe2d513
Update Reference Hardware Specs (#13317)
ggwpez Jun 28, 2023
5d0fd14
Unify `SyncMode` data structures under one (#14465)
nazar-pc Jun 29, 2023
a95c9b3
Inject `FromSwarm::NewListenAddr` to mDNS (#14478)
altonen Jun 29, 2023
444bc4f
frame-benchmarking-cli: Remove native dispatch requirement (#14474)
bkchr Jun 29, 2023
c14ff62
sp-api: Support nested transactions (#14447)
bkchr Jun 29, 2023
37e1407
Stabilize V15 Metadata (#14481)
lexnv Jun 30, 2023
433bc24
Pallets: Assets `destroy_accounts` releases the deposit (#14443)
muharem Jul 1, 2023
9e8b2f6
migrations: VersionedRuntimeUpgrade (#14311)
liamaharon Jul 2, 2023
a93858a
Whitelist 'intrablock_entropy' (#14489)
ggwpez Jul 2, 2023
54dec3d
stabilize instantiation_nonce (#14493)
xermicus Jul 3, 2023
26692ff
sc-tracing: Only print events for whitelisted targets (#14487)
bkchr Jul 3, 2023
1b00cba
sp-api: Put `frame-metadata` behind some feature (#14398)
bkchr Jul 3, 2023
d53b1f3
wasm-builder: Make `hash` and `date` optional (#14490)
bkchr Jul 3, 2023
753c631
Removes `pallet::call_index` from `dev_mode` example (#14492)
gupnik Jul 3, 2023
ffbc02f
contracts: switch to wasmi gas metering (#14084)
agryaznov Jul 3, 2023
7b1d6f3
Fix typo (#14479) (#14480)
Hugo-Trentesaux Jul 3, 2023
8d02095
Nomination pools: disallow setting above global max commission (#14496)
Jul 3, 2023
dfd8286
Revert k256 removal (#14499)
bkchr Jul 3, 2023
60aa1d7
contracts: switch from `parity-wasm`-based to `wasmi`-based module va…
agryaznov Jul 4, 2023
29ef477
sc-cli: Remove `SubstrateCli::native_runtime_version` function (#14511)
bkchr Jul 5, 2023
67b14ad
Improve NFT locking (#14510)
jsidorenko Jul 5, 2023
8c823ec
Use set_balance() instead of write_balance() in benchmark (#14497)
jsidorenko Jul 5, 2023
c32f5ed
emit warn log on bad state (#14513)
liamaharon Jul 5, 2023
69b6549
chore: update some deps to prune duplicated deps (#14515)
koushiro Jul 6, 2023
5745e32
run tests with --experimental flag (#14502)
liamaharon Jul 6, 2023
06689cb
Add `try-state` hook to pallet aura (#14363)
pmikolajczyk41 Jul 7, 2023
5584139
Update lib.rs (#14528)
cuteolaf Jul 7, 2023
7aacdf1
contracts: Refactor instantiate with code (#14503)
pgherveou Jul 7, 2023
70c0547
Fix spellcheck for benchmarking comments (#14535)
ggwpez Jul 7, 2023
3fee5c7
remove `OnStakerSlash` replace with `OnStakingEvents` (#14527)
kianenigma Jul 9, 2023
2cc2646
replace lru with schnellru (#14539)
koushiro Jul 9, 2023
b9e9723
Better handling of error in inherents logic. (#14521)
gui1117 Jul 10, 2023
2b76b44
Add missing workspace members (#14537)
ggwpez Jul 10, 2023
4b6e735
CI: Do not fail on junit upload failure (#14545)
bkchr Jul 11, 2023
63246b6
Removal of execution strategies (#14387)
bkchr Jul 11, 2023
edf58dc
node-template: Remove accidentally added dependency (#14553)
bkchr Jul 11, 2023
b9cbb0f
Contracts rename v9 to v09 (#14533)
pgherveou Jul 12, 2023
ebe8dcd
quick updates (#14557)
pgherveou Jul 12, 2023
47a1a03
`GenesisBuild<T,I>` deprecated. `BuildGenesisConfig` added. (#14306)
michalkucharczyk Jul 12, 2023
d6e9c57
Update `subkey` README.md (#14552)
nuke-web3 Jul 12, 2023
7b5a4d2
Fix refund benchmark for pallet_assets (#14561)
bkontur Jul 12, 2023
da65b99
[pallet_collective] Enforce prime is a valid member of collective in …
ToufeeqP Jul 12, 2023
e97e174
update to docify 0.2.0 / crate-relative embed paths (#14570)
sam0x17 Jul 13, 2023
3bc1671
Fix Society v2 migration (#14421)
liamaharon Jul 13, 2023
ec3bedd
Moves `Block` to `frame_system` instead of `construct_runtime` and re…
gupnik Jul 13, 2023
5591c9b
Refactor the asset-conversion-tx-payment pallet (#14558)
jsidorenko Jul 13, 2023
f2a5ca0
Re-add deprecated `--execution` arg on `benchmark pallet` (#14567)
ggwpez Jul 13, 2023
bc22c8f
Fixes link to inflation documentation (#14573)
tkisason Jul 13, 2023
130c9ad
WasmExecutor flag to ignore onchain heappages value (#14508)
fgamundi Jul 14, 2023
c446786
Replace system config `Index` for `Nonce` (#14290)
juangirini Jul 14, 2023
5bbdcfd
do not filter word `www` in `is_node_name_valid` check (#14575)
atenjin Jul 14, 2023
b06e109
Remove redundant sync primitives for metrics (#14564)
vstakhov Jul 14, 2023
a7f3652
change $location from tt* to ty and remove unnecessary cb_* versions …
deepink-mas Jul 14, 2023
74ae051
Contracts add code_len to ContractsInfo (#14523)
pgherveou Jul 14, 2023
5a7003b
fixing return types in crypto module documentation (#14554)
jtfirek Jul 14, 2023
75b962d
basic improvements to sp-runtime docs (#14583)
kianenigma Jul 17, 2023
f9e67cd
improve pallet hooks docs (#14578)
kianenigma Jul 17, 2023
dd6aede
ci-unified:bullseye-1.70.0-2023-05-23 image for ci (#14532)
AndWeHaveAPlan Jul 17, 2023
08f5857
grandpa: avoid importing unnecessary justifications (#14423)
andresilva Jul 17, 2023
8463ca3
Encryption support for the statement store (#14440)
arkpar Jul 17, 2023
696d09b
client: fix invalid node name pattern regex (#14593)
andresilva Jul 18, 2023
89b352a
Handle the AllowMultiAssetPools=false case in benchmarks (#14590)
jsidorenko Jul 18, 2023
d6b45e5
Run `integrity_test` in Externalities (#14546)
ggwpez Jul 18, 2023
b975ee7
Improves the EPM/Staking e2e test setup (#14292)
gpestana Jul 18, 2023
e806cef
Don't use fixed nominator count for report_equivocation weight calcul…
andresilva Jul 18, 2023
b1c18db
Move CI_IMAGE to external snippet via !reference #14595
AndWeHaveAPlan Jul 18, 2023
cfe2432
`WeightMeter`: more consistent naming (#14586)
ggwpez Jul 18, 2023
839cf0c
Make trie-cache resettable from backend (#14516)
skunert Jul 18, 2023
d584815
Staking e2e test - Add case when ledger active balance falls below ED…
gpestana Jul 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ rustflags = [
"-Aclippy::needless_option_as_deref", # false positives
"-Aclippy::derivable_impls", # false positives
"-Aclippy::stable_sort_primitive", # prefer stable sort
"-Aclippy::extra-unused-type-parameters", # stylistic
]
124 changes: 124 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# This is the default config used by nextest. It is embedded in the binary at
# build time. It may be used as a template for .config/nextest.toml.

[store]
# The directory under the workspace root at which nextest-related files are
# written. Profile-specific storage is currently written to dir/<profile-name>.
dir = "target/nextest"

# This section defines the default nextest profile. Custom profiles are layered
# on top of the default profile.
[profile.default]
# "retries" defines the number of times a test should be retried. If set to a
# non-zero value, tests that succeed on a subsequent attempt will be marked as
# non-flaky. Can be overridden through the `--retries` option.
# Examples
# * retries = 3
# * retries = { backoff = "fixed", count = 2, delay = "1s" }
# * retries = { backoff = "exponential", count = 10, delay = "1s", jitter = true, max-delay = "10s" }
retries = 5

# The number of threads to run tests with. Supported values are either an integer or
# the string "num-cpus". Can be overridden through the `--test-threads` option.
test-threads = "num-cpus"

# The number of threads required for each test. This is generally used in overrides to
# mark certain tests as heavier than others. However, it can also be set as a global parameter.
threads-required = 1

# Show these test statuses in the output.
#
# The possible values this can take are:
# * none: no output
# * fail: show failed (including exec-failed) tests
# * retry: show flaky and retried tests
# * slow: show slow tests
# * pass: show passed tests
# * skip: show skipped tests (most useful for CI)
# * all: all of the above
#
# Each value includes all the values above it; for example, "slow" includes
# failed and retried tests.
#
# Can be overridden through the `--status-level` flag.
status-level = "pass"

# Similar to status-level, show these test statuses at the end of the run.
final-status-level = "flaky"

# "failure-output" defines when standard output and standard error for failing tests are produced.
# Accepted values are
# * "immediate": output failures as soon as they happen
# * "final": output failures at the end of the test run
# * "immediate-final": output failures as soon as they happen and at the end of
# the test run; combination of "immediate" and "final"
# * "never": don't output failures at all
#
# For large test suites and CI it is generally useful to use "immediate-final".
#
# Can be overridden through the `--failure-output` option.
failure-output = "immediate"

# "success-output" controls production of standard output and standard error on success. This should
# generally be set to "never".
success-output = "never"

# Cancel the test run on the first failure. For CI runs, consider setting this
# to false.
fail-fast = true

# Treat a test that takes longer than the configured 'period' as slow, and print a message.
# See <https://nexte.st/book/slow-tests> for more information.
#
# Optional: specify the parameter 'terminate-after' with a non-zero integer,
# which will cause slow tests to be terminated after the specified number of
# periods have passed.
# Example: slow-timeout = { period = "60s", terminate-after = 2 }
slow-timeout = { period = "60s" }

# Treat a test as leaky if after the process is shut down, standard output and standard error
# aren't closed within this duration.
#
# This usually happens in case of a test that creates a child process and lets it inherit those
# handles, but doesn't clean the child process up (especially when it fails).
#
# See <https://nexte.st/book/leaky-tests> for more information.
leak-timeout = "100ms"

[profile.default.junit]
# Output a JUnit report into the given file inside 'store.dir/<profile-name>'.
# If unspecified, JUnit is not written out.

path = "junit.xml"

# The name of the top-level "report" element in JUnit report. If aggregating
# reports across different test runs, it may be useful to provide separate names
# for each report.
report-name = "substrate"

# Whether standard output and standard error for passing tests should be stored in the JUnit report.
# Output is stored in the <system-out> and <system-err> elements of the <testcase> element.
store-success-output = false

# Whether standard output and standard error for failing tests should be stored in the JUnit report.
# Output is stored in the <system-out> and <system-err> elements of the <testcase> element.
#
# Note that if a description can be extracted from the output, it is always stored in the
# <description> element.
store-failure-output = true

# This profile is activated if MIRI_SYSROOT is set.
[profile.default-miri]
# Miri tests take up a lot of memory, so only run 1 test at a time by default.
test-threads = 1

# Mutual exclusion of tests with `cargo build` invocation as a lock to avoid multiple
# simultaneous invocations clobbering each other.
[test-groups]
serial-integration = { max-threads = 1 }

# Running UI tests sequentially
# More info can be found here: https://github.com/paritytech/ci_cd/issues/754
[[profile.default.overrides]]
filter = 'test(/(^ui$|_ui|ui_)/)'
test-group = 'serial-integration'
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Cargo.lock linguist-generated=true
/.gitlab-ci.yml filter=ci-prettier
/scripts/ci/gitlab/pipeline/*.yml filter=ci-prettier
frame/**/src/weights.rs linguist-generated=true
9 changes: 6 additions & 3 deletions .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
name: Feature Request
description: Submit your requests and suggestions to improve!
labels: ["J0-enhancement"]
body:
- type: checkboxes
id: existing
attributes:
label: Is there an existing issue?
description: Please search to see if an issue already exists and leave a comment that you also experienced this issue or add your specifics that are related to an existing issue.
options:
- label: I have searched the existing issues
required: true
- type: checkboxes
id: stackexchange
attributes:
label: Experiencing problems? Have you tried our Stack Exchange first?
description: Please search <https://substrate.stackexchange.com> to see if an post already exists, and ask if not. Please do not file support issues here.
options:
- label: This is not a support question.
required: true
- type: textarea
id: content
id: motivation
attributes:
label: Motivation
description: Please give precedence as to what lead you to file this issue.
# placeholder: Describe ...
validations:
required: false
- type: textarea
id: content
id: request
attributes:
label: Request
description: Please describe what is needed.
# placeholder: Describe what you would like to see added or changed.
validations:
required: true
- type: textarea
id: content
id: solution
attributes:
label: Solution
description: If possible, please describe what a solution could be.
Expand Down
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
labels: ["A2-insubstantial", "B0-silent", "C1-low 📌"]
labels: ["A2-insubstantial", "B0-silent", "C1-low", "E2-dependencies"]
schedule:
interval: "daily"
- package-ecosystem: github-actions
directory: '/'
labels: ["A2-insubstantial", "B0-silent", "C1-low 📌", "E3-dependencies"]
labels: ["A2-insubstantial", "B0-silent", "C1-low", "E2-dependencies"]
schedule:
interval: daily
18 changes: 15 additions & 3 deletions .github/pr-custom-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,28 @@ rules:
check_type: changed_files
condition:
include: .*
# excluding files from 'CI team' rules
exclude: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
# excluding files from 'CI team' and 'FRAME coders' rules
exclude: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*|^\.config/nextest.toml|^frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))
min_approvals: 2
teams:
- core-devs

- name: FRAME coders
check_type: changed_files
condition:
include: ^frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))
all:
- min_approvals: 2
teams:
- core-devs
- min_approvals: 1
teams:
- frame-coders

- name: CI team
check_type: changed_files
condition:
include: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
include: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*|^\.config/nextest.toml
min_approvals: 2
teams:
- ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # 1.0.4
if: github.event.issue.author_association == 'NONE'
with:
add-labels: 'Z0-unconfirmed'
add-labels: "J2-unconfirmed"
21 changes: 0 additions & 21 deletions .github/workflows/auto-label-prs.yml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/check-D-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Check D labels

on:
pull_request:
types: [labeled, opened, synchronize, unlabeled]
paths:
- frame/**
- primitives/**

env:
IMAGE: paritytech/ruled_labels:0.4.0

jobs:
check-labels:
runs-on: ubuntu-latest
steps:
- name: Pull image
run: docker pull $IMAGE

- name: Check labels
env:
MOUNT: /work
GITHUB_PR: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
API_BASE: https://api.github.com/repos
REPO: ${{ github.repository }}
RULES_PATH: labels/ruled_labels
CHECK_SPECS: specs_substrate.yaml
run: |
echo "REPO: ${REPO}"
echo "GITHUB_PR: ${GITHUB_PR}"
# Clone repo with labels specs
git clone https://github.com/paritytech/labels
# Fetch the labels for the PR under test
labels=$( curl -H "Authorization: token ${GITHUB_TOKEN}" -s "$API_BASE/${REPO}/pulls/${GITHUB_PR}" | jq '.labels | .[] | .name' | tr "\n" ",")

if [ -z "${labels}" ]; then
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --tags audit --no-label
fi

labels_args=${labels: :-1}
printf "Checking labels: %s\n" "${labels_args}"

# Prevent the shell from splitting labels with spaces
IFS=","

# --dev is more useful to debug mode to debug
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --labels ${labels_args} --dev --tags audit
38 changes: 31 additions & 7 deletions .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,42 @@ on:
pull_request:
types: [labeled, opened, synchronize, unlabeled]

env:
IMAGE: paritytech/ruled_labels:0.4.0

jobs:
check-labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Pull image
run: docker pull $IMAGE

- name: Check labels
run: bash ${{ github.workspace }}/scripts/ci/github/check_labels.sh
env:
MOUNT: /work
GITHUB_PR: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
API_BASE: https://api.github.com/repos
REPO: ${{ github.repository }}
RULES_PATH: labels/ruled_labels
CHECK_SPECS: specs_substrate.yaml
run: |
echo "REPO: ${REPO}"
echo "GITHUB_PR: ${GITHUB_PR}"
# Clone repo with labels specs
git clone https://github.com/paritytech/labels
# Fetch the labels for the PR under test
labels=$( curl -H "Authorization: token ${GITHUB_TOKEN}" -s "$API_BASE/${REPO}/pulls/${GITHUB_PR}" | jq '.labels | .[] | .name' | tr "\n" ",")

if [ -z "${labels}" ]; then
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --tags PR --no-label
fi

labels_args=${labels: :-1}
printf "Checking labels: %s\n" "${labels_args}"

# Prevent the shell from splitting labels with spaces
IFS=","

# --dev is more useful to debug mode to debug
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --labels ${labels_args} --dev --tags PR
4 changes: 2 additions & 2 deletions .github/workflows/monthly-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- name: Get the tags by date
id: tags
run: |
echo "::set-output name=new::$(date +'monthly-%Y-%m')"
echo "::set-output name=old::$(date -d'1 month ago' +'monthly-%Y-%m')"
echo "new=$(date +'monthly-%Y-%m')" >> $GITHUB_OUTPUT
echo "old=$(date -d'1 month ago' +'monthly-%Y-%m')" >> $GITHUB_OUTPUT
- name: Checkout branch "master"
uses: actions/checkout@v3
with:
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/trigger-review-pipeline.yml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ rls*.log
.cargo-remote.toml
*.bin
*.iml
scripts/ci/node-template-release/Cargo.lock
bin/node-template/Cargo.lock
substrate.code-workspace
.direnv/
/.envrc
Loading
Loading