Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
717 commits
Select commit Hold shift + click to select a range
c2034a8
Just a typo (#13533)
gavofyork Mar 4, 2023
f57ff37
FRAME: add a basic readme (#13520)
Mar 4, 2023
7d8aa66
Update staking related code-owners (#13462)
kianenigma Mar 5, 2023
1d9a139
[contracts] Forbid calling back to contracts after switching to runti…
agryaznov Mar 6, 2023
435446f
chore: reduce copy times for bytes in core-hashing (#13519)
yjhmelody Mar 6, 2023
c408123
[CI] Remove redundant trigger-review-pipeline job (#13547)
s3krit Mar 6, 2023
e7aa37e
Extract syncing protocol from `sc-network` (#12828)
altonen Mar 6, 2023
0f5a22a
Expose `new_full_parts_with_genesis_builder` from sc-service (#13539)
liuchengxu Mar 6, 2023
2aa2b4e
Make unbounded channels size warning exact (part 2) (#13504)
dmitry-markin Mar 7, 2023
6a15476
Switch to the `blake2b_simd` crate in `sp-core-hashing` (#13548)
koute Mar 7, 2023
c09ce08
remove serde derive for BlockId (#13457)
yjhmelody Mar 7, 2023
4d8f3d5
rpc/chainHead: Fix pruned blocks events from forks (#13379)
lexnv Mar 7, 2023
d90e41a
core: remove unused localized signature type (#13552)
andresilva Mar 7, 2023
8d0b756
Pub enum runtime to pub struct runtime (#13250)
a-moreira Mar 7, 2023
8a4746e
consensus: remove caching functionality from block import pipeline (#…
andresilva Mar 7, 2023
306382b
`MessageQueue`: unknit permanently overweight books (#13528)
ggwpez Mar 7, 2023
851e73a
Offences report system rework (#13425)
davxy Mar 7, 2023
f59f501
fix: Fixes #13071 change order of ldd command and update ./docker/REA…
ltfschoen Mar 7, 2023
7c3d279
[docker] Use `BASH_SOURCE` to find project root, add `.dockerignore` …
ltfschoen Mar 8, 2023
77c675b
Update Docker instructions (#13437)
ltfschoen Mar 8, 2023
48e7cb1
Bump wasmtime from 6.0.0 to 6.0.1 (#13566)
dependabot[bot] Mar 9, 2023
e46d96c
Undeploy insecure randomness pallet (#13560)
ggwpez Mar 9, 2023
11b9326
grandpa: send neighbor packets to light clients on set transition (#1…
andresilva Mar 9, 2023
48c8875
Make pallet_nfts storages public (#13517)
jasl Mar 9, 2023
33eee69
Add amalgamation traits for NFT CollectionId and ItemId (#13514)
jasl Mar 9, 2023
0f3b2a2
Nfts: Make ItemConfig members pub (#13575)
jasl Mar 10, 2023
8f9b074
Nfts: minor fixes (#13576)
jsidorenko Mar 10, 2023
9d34fb0
Logic for the (Core) Fellowship (#13503)
gavofyork Mar 11, 2023
3c3b223
Fix dependabot labels (#13578)
Mar 11, 2023
310fe40
BEEFY: introduce offence report system (#13564)
davxy Mar 11, 2023
f5c2cec
[NFTs] Rework permissions model (#13482)
jsidorenko Mar 13, 2023
1bbde5d
Remove use of trait Store from all pallets and deprecate it. (#13535)
vivekvpandya Mar 13, 2023
30aa444
Pallet assets improvements (#13543)
Dinonard Mar 13, 2023
959c5b6
Metadata V15: Expose pallet documentation (#13452)
lexnv Mar 13, 2023
3a94009
sc-slots: Cleanup (#13590)
bkchr Mar 13, 2023
4f28d29
[NFTs] Allow to set the role to None (#13591)
jsidorenko Mar 14, 2023
897b95d
Move code from `sc-network-common` back to `sc-network` (#13592)
altonen Mar 14, 2023
39510ec
sc-consensus-beefy: fix on-demand async state machine (#13599)
acatangiu Mar 14, 2023
03ea99e
update trie deps (#13601)
cheme Mar 14, 2023
9eafc96
sp-api: Support expanding the macro code (#13573)
bkchr Mar 14, 2023
e44038a
frame epm: expose `feasibility_check` in MinerConfig (#13555)
niklasad1 Mar 14, 2023
ae83a67
Nomination Pool Commission (#13128)
Mar 15, 2023
d3fd543
Pallet dispatchable+storage doc module. (#13341)
kianenigma Mar 15, 2023
ba87188
timestamp gitlab ci job outputs (#13605)
Mar 15, 2023
bd52212
Metadata V15: Expose API to fetch metadata for version (#13287)
lexnv Mar 15, 2023
36ed840
pin specific version of timestamp script (#13613)
Mar 15, 2023
8b5306e
Add dedicated `FeePolynomial` struct (#13612)
ggwpez Mar 15, 2023
86731af
Make Pay trait from salaries pallet more generic (#13609)
franciscoaguirre Mar 15, 2023
9f933c4
Fix typos (#13616)
Mar 16, 2023
b0700a6
sc-consensus-beefy: improve beefy gossip validator (#13606)
acatangiu Mar 16, 2023
8a9f48b
Try to fix flaky `temp-base-path-work` test (#13505)
bkchr Mar 16, 2023
22cca14
Integration tests for staking + election-provider-multi-phase (#12972)
gpestana Mar 16, 2023
e359d8b
fix BASE lookup in cargo-check-benches
Mar 16, 2023
283106b
refactor cargo-check-benches logic
Mar 16, 2023
be9e305
Update all weights (#13614)
ggwpez Mar 16, 2023
aaa9a36
contracts: Simplify benchmarks (#13595)
athei Mar 16, 2023
a2d4f7d
Keystore overhaul (#13615)
davxy Mar 17, 2023
a87aa29
Bump grandpa to 0.16.2 (#13622)
davxy Mar 17, 2023
0506da0
Fix `test-linux-stable` excessive run time (#13597)
mateo-moon Mar 17, 2023
acdbf01
Fix typos in pallet-contracts (#13629)
pgherveou Mar 17, 2023
44c5c99
Ignore flaky test (#13631)
ggwpez Mar 17, 2023
bab32f8
Bump `trie-db` to 0.27.1 (fix storage iteration bug + change seek beh…
koute Mar 17, 2023
d574cb7
contracts: Refactor `trait Ext::*_storage_transparent` functions (#13…
pgherveou Mar 17, 2023
29466db
Add linguist-generated to gitattributes (#13628)
pgherveou Mar 18, 2023
f8a1dd4
Deprecate `Currency`; introduce holds and freezing into `fungible` tr…
gavofyork Mar 18, 2023
5f6cc69
Bump hashbrown from 0.12.3 to 0.13.2 (#13570)
dependabot[bot] Mar 20, 2023
9795fa3
Hotfix NIS benchmark (#13651)
ggwpez Mar 20, 2023
97c6813
Bump ci-linux image for rust 1.68
Mar 15, 2023
46c0643
Update ui tests for rust 1.68
Mar 15, 2023
ba95825
address clippy & rustdoc warnings
Mar 16, 2023
9d2d020
Keystore overhaul (iter 2) (#13634)
davxy Mar 20, 2023
b8b8cce
frame::executive: LOG_TARGET const added (#13650)
michalkucharczyk Mar 20, 2023
8f0b0f6
contracts: Upgrade to wasmi 0.28 (#13312)
athei Mar 20, 2023
cb7e510
zombienet: renamed deprecated transfer function (#13652)
michalkucharczyk Mar 21, 2023
6e71ebb
Bump parity-db (#13656)
arkpar Mar 21, 2023
859bb12
contracts: Follow up for benchmark simplification (#13635)
athei Mar 21, 2023
a1cf6ee
fix publish docker description ci job (#13663)
sergejparity Mar 21, 2023
b3cacfb
only push docker descriptions on master branch pipelines (#13664)
Mar 21, 2023
a142360
Bump k256 from 0.11.6 to 0.13.0 (#13624)
dependabot[bot] Mar 21, 2023
936e995
refactor: state RPC remove `max_rpc_payload_size` (#13649)
niklasad1 Mar 21, 2023
81aa7f3
core-fellowship: Remove unused dev-dependencies
Mar 21, 2023
6f79a5a
Update lockfile
ggwpez Mar 21, 2023
5b29f15
move back to ci-linux@production image (#13669)
Mar 22, 2023
2b42fbd
Crypto Pair trait refactory (#13657)
davxy Mar 22, 2023
c120cd3
Fix try_runtime_cli doc broken links (#13672)
liamaharon Mar 22, 2023
d6899f8
fix/chain_head: Ensure correct events for finalized branch (#13632)
lexnv Mar 22, 2023
8bd5741
GetCallIndex trait (#13558)
kziemianek Mar 22, 2023
a9e85ae
Remove unused trait (#13682)
bkchr Mar 22, 2023
1184143
Remove unused light-client leftover (#13687)
skunert Mar 23, 2023
988f6ad
chain_head/tests: Check finalized block event before new block (#13680)
lexnv Mar 23, 2023
9058617
Remove Weight::without_{ref_time, proof_size} (#13637)
ggwpez Mar 23, 2023
bf395c8
Keystore overhaul (final) (#13683)
davxy Mar 24, 2023
656b139
Use sensible maths for `from_rational` (#13660)
gavofyork Mar 24, 2023
ad66dd2
try-runtime: run migration checks per default (#13684)
ggwpez Mar 24, 2023
770d237
Make ED of zero (kind of) work (#13655)
gavofyork Mar 24, 2023
d0449fd
try-runtime: Use configured wasm execution method (#13694)
bkchr Mar 24, 2023
e87f7ac
bump timestamp script to v0.2 (#13710)
Mar 24, 2023
a3df63e
Fix docs (#13709)
davxy Mar 24, 2023
5766265
Get the correct number of connected peers in `SyncState` (#13700)
altonen Mar 24, 2023
ea72382
Emit event when changing total locked value in pallet-balances (#12287)
sea212 Mar 24, 2023
78c99da
Fix failing offences bench test (#13712)
ggwpez Mar 25, 2023
aeefc8b
chore(sc-cli): improve runner and signals (#13688)
yjhmelody Mar 26, 2023
83c8198
add a new ci job to fuzz sp-arithmetic (#13673)
Mar 27, 2023
1496e95
sc-slots: Forward block size limit (#13716)
bkchr Mar 27, 2023
bede15d
FRAME: Fix the Referenda confirming alarm (#13704)
gavofyork Mar 27, 2023
8f0414c
Update pallet licenses to Apache-2.0 (#13467)
aaronbassett Mar 27, 2023
46bdb43
Reward pool migration fix (#13715)
Mar 27, 2023
f2c12fd
contracts: Add host function tracing (#13648)
pgherveou Mar 27, 2023
faeed28
Change license of node-template and FRAME examples to MIT-0 (#13465)
aaronbassett Mar 27, 2023
3fa99a9
updating labels descriptions (#13557)
the-right-joyce Mar 27, 2023
ae49625
CI: Investigate why `RUSTFLAGS` differs on `master` and PRs (#13686)
rcny Mar 28, 2023
9b43d8f
Remove HeaderBackend requirement from AuthorityDiscovery and NetworkW…
skunert Mar 28, 2023
dec0369
CI: rephrase `RUSTFLAGS` (#13735)
rcny Mar 28, 2023
5491657
contracts: proper event link in docs (#13729)
kziemianek Mar 28, 2023
f40ba0d
Support stable rust for compiling the runtime (#13580)
bkchr Mar 29, 2023
4498e27
provide a default value for RELENG_SCRIPTS_BRANCH (#13743)
Mar 29, 2023
56d8cbf
roll out new debian 11 ci image (#13744)
Mar 29, 2023
49ba186
Swap 'base58' with 'bs58' (#13739)
davxy Mar 29, 2023
d7b9969
proc-macro: check for non-args runtime calls added (#13742)
michalkucharczyk Mar 29, 2023
bf8e565
Clean up after debian 11 rollout (#13762)
Mar 29, 2023
e217662
[Fix] Bump tuple element number in frame-support. (#13760)
ruseinov Mar 29, 2023
9c92e49
Generic keystore internals (#13749)
davxy Mar 29, 2023
14f1a39
Application Crypto cleanup (#13746)
davxy Mar 30, 2023
4499829
Attempt to relieve pressure on `mpsc_network_worker` (#13725)
altonen Mar 30, 2023
9b8e6e7
[Enhancement] Throw an error when there are too many pallets (#13763)
ruseinov Mar 30, 2023
a0468b3
Build wasm for mvp cpu (#13758)
athei Mar 30, 2023
025325d
BEEFY: gossip finality proofs (#13727)
acatangiu Mar 30, 2023
4c7866a
Fix nomiantion pools doc render (#13748)
kianenigma Mar 30, 2023
ee38a52
sp-runtime-interface-test: Fix flaky test (#13770)
bkchr Mar 30, 2023
4bf67fb
bump zombienet version (#13772)
pepoviola Mar 30, 2023
de4cca4
[Contracts] Overflowing bounded `DeletionQueue` allows DoS against co…
pgherveou Mar 31, 2023
a7bc9c2
Refactor: extract most aura logic out to standalone module, make use …
rphmeier Mar 31, 2023
75dee3c
contracts: make test work with debugger (#13776)
pgherveou Mar 31, 2023
9b94d38
add claim_commission weight (#13774)
Apr 1, 2023
d6f278b
FRAME: Minor fix for failsafe. (#13741)
gavofyork Apr 1, 2023
db40c48
Adjustments to RPC-query docstrings. (#13698)
DamianStraszak Apr 3, 2023
be9fa62
Force upgrade snow to 0.9.2 (#13806)
bkchr Apr 3, 2023
b94d98b
Scheduler pre block limit note (#13231)
muharem Apr 3, 2023
dd45632
Disable `sign-ext` WASM feature when building runtimes (#13804)
koute Apr 3, 2023
bbcc63a
refactor: inconsistent BalanceConversion fn (#13610)
wischli Apr 4, 2023
842e651
Remove deprecated batch verification (#13799)
bkchr Apr 4, 2023
2961138
Uniform pallet warnings (#13798)
ggwpez Apr 4, 2023
1f09739
Update documentation for uniques (This PR renames classes and instanc…
simonsso Apr 4, 2023
057f2af
Implement #[pallet::composite_enum] (#13722)
KiChjang Apr 4, 2023
8548a97
Expose WASM extensions in executor semantics (#13811)
s0me0ne-unkn0wn Apr 4, 2023
7bbfe73
Deprecate V1 Weights (#13699)
ggwpez Apr 4, 2023
3b0f4b2
update links to ink! (#13819)
agryaznov Apr 5, 2023
395853a
Move registration of `ReadRuntimeVersionExt` to `ExecutionExtension` …
bkchr Apr 5, 2023
5380a9a
Mention `on_idle` round-robin logic to `trait Hooks` cargo doc (#13797)
gpestana Apr 5, 2023
5601965
ProofRecorder: Implement transactional support (#13769)
bkchr Apr 5, 2023
2bb370f
remove duplicate sync option documentation (#13828)
liamaharon Apr 6, 2023
c0793b5
Add HoldReason to the NIS pallet (#13823)
KiChjang Apr 6, 2023
a1d3d50
Fix `try-runtime follow-chain`, try-runtime upgrade tuple tests, cli …
liamaharon Apr 6, 2023
9e1fa3d
Use proper weights in the `pallet-template` (#13817)
AlexD10S Apr 6, 2023
9a07e9d
`RemovePallet` migration utility struct (#13835)
liamaharon Apr 6, 2023
e08235a
Fix typos (#13842)
piffle-rack Apr 6, 2023
851a826
Update the frame-weight-template to use PhantomData from core (#13844)
AlexD10S Apr 6, 2023
d443f14
Make blocks per request configurable (#13824)
altonen Apr 7, 2023
72dd574
WASM executor: add `OutputExceedsBounds` variant to `Error` (#13841)
mrcnski Apr 7, 2023
82e824b
Warn if pallet provided to try-state does not exist (#13858)
Szegoo Apr 8, 2023
2e94e25
refactor(sc-executor): use wasm executor builder instead of old apis …
yjhmelody Apr 9, 2023
7363dce
remove unused import (#13868)
liamaharon Apr 10, 2023
2b61b1d
chore: remove duplicated arc (#13871)
yjhmelody Apr 11, 2023
932f820
simplify some pattern matches to appease 1.68 clippy (#13833)
Apr 11, 2023
416b0f5
Metadata V15: Add Runtime API metadata (#13302)
lexnv Apr 11, 2023
a2f6e05
pallet nis: remove benchmarking hack (#13759)
ggwpez Apr 11, 2023
a1f71b8
Fix fungible and fungibles set_balance return value (#13851)
liamaharon Apr 11, 2023
ca6af5d
use stable rust toolchain in ci (#13830)
Apr 11, 2023
da9f88d
Makes storage hashers optional in dev mode (#13815)
codekitz Apr 11, 2023
32221d4
Force incrementing of consumers (#13878)
gavofyork Apr 11, 2023
2b9ca86
Fixes error message when _ is used without dev mode (#13886)
codekitz Apr 12, 2023
4d608f9
invoke clippy with `--locked` (#13882)
Apr 12, 2023
f751d63
sc-consensus-beefy: add peer reputation cost/benefit changes (#13881)
acatangiu Apr 12, 2023
ea9ce4c
[Deps] Bump scale-info to match cumulus and polkadot (#13873)
ruseinov Apr 12, 2023
b4f857e
contracts: add sr25519_verify (#13724)
pgherveou Apr 12, 2023
f0d3bbb
Globally upgrade to syn 2.x and latest quote and proc_macro2 1x versi…
sam0x17 Apr 12, 2023
07c7732
Bump zstd from 0.11.2+zstd.1.5.2 to 0.12.3+zstd.1.5.2 (#13671)
dependabot[bot] Apr 12, 2023
a6cb6d0
Bump toml from 0.5.11 to 0.7.3 (#13619)
dependabot[bot] Apr 13, 2023
be58e48
Fixes PoV over-estimation (#13766)
ggwpez Apr 13, 2023
7f930c2
stabilize call_runtime (#13901)
agryaznov Apr 13, 2023
186db7a
fix .test-refs-check-benches condition (#13906)
Apr 13, 2023
b5b5751
Disable timestamping for the crate publishing jobs (#13910)
Apr 13, 2023
a49292a
Refactor the automatic-crate-publishing logic, make triggered pipelin…
Apr 13, 2023
e155ab8
Update proc-macro-warning (#13876)
ggwpez Apr 13, 2023
4b21282
Bump h2 from 0.3.16 to 0.3.17 (#13915)
dependabot[bot] Apr 14, 2023
6a560f8
Unqueue invalid transactions when skipping (#13918)
bkchr Apr 14, 2023
b23e52d
Fail dependant checks on cargo check warnings (#13922)
Apr 14, 2023
c2f664e
Bump cargo_metadata from 0.15.3 to 0.15.4 (#13899)
dependabot[bot] Apr 14, 2023
a9f67d0
Drain all the pending messages in the channel when TracingUnboundedRe…
NingLin-P Apr 14, 2023
3f8dc9e
Updates Benchmark macro parsing to use Generic Argument (#13919)
codekitz Apr 14, 2023
f1e2fa4
sc-allocator: Do not panic on invalid header pointer (#13925)
bkchr Apr 15, 2023
35049b1
[Fix] Remove redundant stash from Stake (#13907)
ruseinov Apr 15, 2023
4e93782
Try-state for Collective pallet (#13645)
Szegoo Apr 17, 2023
15bb9c6
imp function comparison (#13928)
itmilos Apr 17, 2023
915d22c
Update links in the Referenda Readme (#13929)
rzadp Apr 17, 2023
785115b
Balances: repatriate_reserved should respect freezes (#13885)
gavofyork Apr 17, 2023
af29c6f
Poll the substream validation before polling `Notifications` (#13934)
altonen Apr 18, 2023
cb95482
babe: replace usage of SharedEpochChanges with internal RPC (#13883)
andresilva Apr 18, 2023
88e2c9e
chore(docs): improve some comments (#13937)
yjhmelody Apr 18, 2023
917f7e3
feat: pallet asset-rate (#13608)
wischli Apr 19, 2023
1fbf283
call_executor: Remove code deduplication (#13948)
bkchr Apr 19, 2023
d4802eb
Improve has good jugement (#13952)
itmilos Apr 19, 2023
37f3d58
VRF refactory (#13889)
davxy Apr 19, 2023
54ce95e
Adds example for dev_mode and updates doc (#13944)
gupnik Apr 19, 2023
50de15d
Collective pallet: max proposal weight (#13771)
muharem Apr 19, 2023
f9d10fa
`build_network` doesn't require the `MaintainedTransactionPool` bound…
bkchr Apr 20, 2023
87fd264
ci: drop skip-if-draft job (#13961)
Apr 20, 2023
532edcf
replace unused cargo-deny check with a new cargo-deny-licenses job (#…
Apr 20, 2023
d8c3209
[NFTs] Improve offchain signature validation (#13960)
jsidorenko Apr 20, 2023
9f0d54a
Keep track of the pending response for each peer individually (#13941)
altonen Apr 20, 2023
e44b43e
Evict inactive peers from `SyncingEngine` (#13829)
altonen Apr 21, 2023
dad4092
`balances` `impl_currency` WithdrawReasons note (#13964)
liamaharon Apr 21, 2023
2059dca
try-runtime: dynamic storage query sizes (#13923)
liamaharon Apr 21, 2023
471b49b
Add Freeze/Thaw events and tests (#13779)
sea212 Apr 21, 2023
35d04fb
Update macro use and optimize storage collection (#13970)
pgherveou Apr 21, 2023
2fde380
cargo upgrade --workspace kvdb-rocksdb (#13973)
Apr 21, 2023
c7d26dc
Remove superflous Pair::verify_weak (#13972)
davxy Apr 21, 2023
9370f42
Adds force_origin support (#13845)
gupnik Apr 24, 2023
910bafb
Vote locks for all reasons except RESERVE (#13914)
muharem Apr 24, 2023
fff96ac
[ci] Update buildah command and version (#13989)
alvicsam Apr 24, 2023
42448c2
Bump enumflags2 from 0.7.5 to 0.7.7 (#13995)
dependabot[bot] Apr 24, 2023
2b91202
frame-support-procedural: Fix detection of the tuples feature (#13996)
bkchr Apr 24, 2023
222d118
pallet-democracy: Do not request the proposal when scheduling (#13827)
bkchr Apr 25, 2023
c92eb70
[ci] Add message to cargo-deny (#14001)
alvicsam Apr 25, 2023
b5846cc
refactor(cli): Make some run params reusable (#13870)
yjhmelody Apr 25, 2023
8cb7257
contracts Add LOG_TARGET constant (#14002)
pgherveou Apr 25, 2023
6f0f5a9
frame-support: migrate some tests from `decl_*` macros to the new `pa…
koushiro Apr 25, 2023
db6ebf5
Removes ReportsByKindIndex (#13936)
gupnik Apr 25, 2023
c4f425b
Allow missing docs for autogen weights. (#14011)
gilescope Apr 25, 2023
af504bc
[contracts] Port host functions to Weight V2 and storage deposit limi…
agryaznov Apr 26, 2023
7ddfdfb
sp-core: remove useless bounded module (#13865)
koushiro Apr 26, 2023
154448b
fix a test (#14021)
agryaznov Apr 26, 2023
943c520
Various minor fixes (#13945)
gavofyork Apr 26, 2023
2e7e628
contracts Add storage_deposit test (#14003)
pgherveou Apr 27, 2023
dce73fe
remote-externalities: batch insert key/values (#14004)
liamaharon Apr 27, 2023
587959e
collective pallet: sort genesis members and enforce max len constrain…
liamaharon Apr 27, 2023
1e4c011
sc-network-sync: Improve error reporting (#14025)
bkchr Apr 27, 2023
d5d63e9
contracts Fix store-call test path (#14028)
pgherveou Apr 27, 2023
04248e2
chore(cli): make cli display docs correctly (#14017)
yjhmelody Apr 27, 2023
58be496
improve staking interface methods (#14023)
kianenigma Apr 27, 2023
5d1b74c
try-runtime-cli: improve ci stability (#14030)
liamaharon Apr 27, 2023
f2b6680
FRAME: inherited call weight syntax (#13932)
ggwpez Apr 27, 2023
6d71741
Bump wasmtime from 6.0.1 to 6.0.2 (#14037)
dependabot[bot] Apr 27, 2023
bca8a29
Only calculate tree route during finalization when there are multiple…
chevdor May 3, 2023
3bb3882
Emit events related to asset mutations (#14099) (#14102)
chevdor May 10, 2023
79ec552
resolve conflicts
devdanco May 30, 2023
359cc61
Merge branch 'mangata-dev' into mangata-dev-v0.9.42
devdanco Jun 13, 2023
13c4f34
fix tests
devdanco Jun 13, 2023
49fa79b
wip
devdanco Jun 14, 2023
4530753
sp-api: support nested transactions
vanderian Jun 26, 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
  •  
  •  
  •  
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 = 0

# 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 = "nextest-run"

# 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'
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +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
4 changes: 2 additions & 2 deletions .github/pr-custom-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ rules:
condition:
include: .*
# excluding files from 'CI team' rules
exclude: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
exclude: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*|^\.config/nextest.toml
min_approvals: 2
teams:
- core-devs

- 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
75 changes: 30 additions & 45 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,37 +49,25 @@ variables:
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"
CI_IMAGE: "paritytech/ci-linux:production"
BUILDAH_IMAGE: "quay.io/buildah/stable:v1.27"
BUILDAH_IMAGE: "quay.io/buildah/stable:v1.29"
BUILDAH_COMMAND: "buildah --storage-driver overlay2"
RELENG_SCRIPTS_BRANCH: "master"
RUSTY_CACHIER_SINGLE_BRANCH: master
RUSTY_CACHIER_DONT_OPERATE_ON_MAIN_BRANCH: "true"
RUSTY_CACHIER_COMPRESSION_METHOD: zstd
NEXTEST_FAILURE_OUTPUT: immediate-final
NEXTEST_SUCCESS_OUTPUT: final
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.37"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.43"

.shared-default: &shared-default
default:
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- api_failure
cache: {}

.default-pipeline-definitions:
default:
<<: *shared-default
interruptible: true

.crate-publishing-pipeline-definitions:
default:
<<: *shared-default
# The crate-publishing pipeline defaults to `interruptible: false` so that we'll be able to
# reach and run the publishing jobs despite the "Auto-cancel redundant pipelines" CI setting.
# The setting is relevant because the crate-publishing pipeline runs on `master`, thus future
# pipelines on `master` (e.g. created for new commits or other schedules) might unintendedly
# cancel the publishing jobs or its dependencies before we get to actually publish the crates.
interruptible: false
interruptible: true

.collect-artifacts:
artifacts:
Expand All @@ -105,6 +93,8 @@ variables:
# $WASM_BUILD_WORKSPACE_HINT enables wasm-builder to find the Cargo.lock from within generated
# packages
- export WASM_BUILD_WORKSPACE_HINT="$PWD"
# ensure that RUSTFLAGS are set correctly
- echo $RUSTFLAGS

.job-switcher:
before_script:
Expand Down Expand Up @@ -176,7 +166,7 @@ variables:
# exclude cargo-check-benches from such runs
.test-refs-check-benches:
rules:
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "parent_pipeline" && $CI_IMAGE =~ /staging$/
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "pipeline" && $CI_IMAGE =~ /staging$/
when: never
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
Expand Down Expand Up @@ -226,11 +216,6 @@ variables:
.zombienet-refs:
extends: .build-refs

.nightly-pipeline:
rules:
# this job runs only on nightly pipeline with the mentioned variable, against `master` branch
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"

.crates-publishing-variables:
variables:
CRATESIO_CRATES_OWNER: parity-crate-owner
Expand All @@ -256,23 +241,12 @@ variables:
- artifacts/
variables:
SPUB_TMP: artifacts
# disable timestamping for the crate publishing jobs, they leave stray child processes behind
# which don't interact well with the timestamping script
CI_DISABLE_TIMESTAMP: 1

#### stage: .pre

skip-if-draft:
extends: .kubernetes-env
variables:
CI_IMAGE: "paritytech/tools:latest"
stage: .pre
rules:
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
script:
- echo "Commit message is ${CI_COMMIT_MESSAGE}"
- echo "Ref is ${CI_COMMIT_REF_NAME}"
- echo "pipeline source is ${CI_PIPELINE_SOURCE}"
- ./scripts/ci/gitlab/skip_if_draft.sh
allow_failure: true

check-crates-publishing-pipeline:
stage: .pre
extends:
Expand All @@ -285,6 +259,23 @@ check-crates-publishing-pipeline:
https://github.com/paritytech/releng-scripts.git
- ONLY_CHECK_PIPELINE=true ./releng-scripts/publish-crates

# By default our pipelines are interruptible, but some special pipelines shouldn't be interrupted:
# * multi-project pipelines such as the ones triggered by the scripts repo
# * the scheduled automatic-crate-publishing pipeline
#
# In those cases, we add an uninterruptible .pre job; once that one has started,
# the entire pipeline becomes uninterruptible
uninterruptible-pipeline:
extends: .kubernetes-env
variables:
CI_IMAGE: "paritytech/tools:latest"
stage: .pre
interruptible: false
rules:
- if: $CI_PIPELINE_SOURCE == "pipeline"
- if: $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "automatic-crate-publishing"
script: "true"

include:
# check jobs
- scripts/ci/gitlab/pipeline/check.yml
Expand All @@ -305,14 +296,8 @@ include:
# pipeline is made uninterruptible to ensure that test jobs also get a chance to run to
# completion, because the publishing jobs depends on them AS INTENDED: crates should not be
# published before their source code is checked.
- local: scripts/ci/gitlab/crate-publishing-pipeline.yml
rules:
- if: $PIPELINE == "automatic-crate-publishing"
# For normal pipelines: run it with defaults + `interruptible: true`
- local: scripts/ci/gitlab/default-pipeline.yml
rules:
- if: $PIPELINE != "automatic-crate-publishing"
- project: parity/infrastructure/ci_cd/shared
ref: v0.2
file: /common/timestamp.yml

#### stage: notify
Expand Down
3 changes: 2 additions & 1 deletion .maintain/frame-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]

use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;

/// Weight functions needed for {{pallet}}.
pub trait WeightInfo {
Expand Down
Loading