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

Mangata dev v0.9.38 #85

Closed
wants to merge 357 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
357 commits
Select commit Hold shift + click to select a range
c290950
Update template to remove clippy warnings (#12670)
simonsso Nov 18, 2022
f80c370
Check all crates (#12709)
joao-paulo-parity Nov 21, 2022
ee9ddf1
client/beefy: persist voter state (#12712)
acatangiu Nov 21, 2022
69662c4
[Fix] Get target count from TargetList instead of storage (#12748)
ruseinov Nov 21, 2022
6cb4b67
Move block/state/warpc sync requests/responses to `ChainSync` (#12739)
altonen Nov 22, 2022
06d7a23
perf: generate_initial_session_keys: load runtime only if its relevan…
librelois Nov 22, 2022
431429f
Prevent epochs pruning while finalizing blocks on epoch 0 (#12758)
davxy Nov 23, 2022
269c799
return error instead of expect in `feasibility_check` (#12745)
kianenigma Nov 23, 2022
08d1b2c
BEEFY: optimize voter event loop for fewer 'active' wakeups (#12760)
acatangiu Nov 23, 2022
4e3a12b
Sort crates before splitting them into groups (+ some improvements) (…
joao-paulo-parity Nov 24, 2022
f465fee
contracts: Replace `sp-sandbox` and `wasmi-validation` by newest wasm…
athei Nov 24, 2022
d122169
update DefaultNoBound derive macro (#12723)
benluelo Nov 25, 2022
ab6142f
Fix rustdoc (#12777)
ggwpez Nov 25, 2022
3e91823
Allow Alliance Fellows to Give Up Voting Rights (#12730)
joepetrowski Nov 25, 2022
a1dc9d8
Add total nb to trie migration rpc (#12770)
cheme Nov 25, 2022
d11846b
add EnsureWithSuccess (#12775)
xlc Nov 25, 2022
39ef178
Explicitly unset RUSTC_WRAPPER=sccache environment variable (#12771)
rcny Nov 25, 2022
2eb5128
contracts: Don't put unstable functions in special module (#12781)
athei Nov 27, 2022
a92005a
ed25519_verify: Support using dalek for historical blocks (#12661)
bkchr Nov 27, 2022
d833e15
client/beefy: fix on-demand justifications sync for old blocks (#12767)
acatangiu Nov 28, 2022
a0e00dc
Remove Default, HasCompact, and TypeInfo trait bounds on AssetId (#12…
joepetrowski Nov 28, 2022
9ce75af
pallet-mmr: move offchain logic to client-side gadget (#12753)
serban300 Nov 29, 2022
59ca8df
Require rust-features check (#12796)
ggwpez Nov 29, 2022
5c8aa7e
MMR: move RPC code from frame/ to client/ (#12805)
acatangiu Nov 30, 2022
357c363
chore: remove unused traits for wasm interface (#12792)
yjhmelody Nov 30, 2022
cc36931
sc-transaction-handler: Fix potential crashes on exit (#12807)
bkchr Nov 30, 2022
2ed4058
Don't announce blocks in `sync_to_tip_when_we_sync_together_with_mult…
altonen Nov 30, 2022
982f599
contracts: Replace cargo feature `unstable-interface` with config (#1…
athei Nov 30, 2022
009c872
Bounties use SpendOrigin (#12808)
gavofyork Dec 1, 2022
5ae8a3b
Reduce provisioner work (#12749)
Dec 1, 2022
c17c7d8
Fix quantization in referenda alarm (#12815)
gavofyork Dec 2, 2022
34900ca
Add `Weightless` benchmark bailing (#12829)
ggwpez Dec 2, 2022
9812205
API for registering inactive funds (#12813)
gavofyork Dec 3, 2022
1a0af36
Tweak to active total migrations (#12832)
gavofyork Dec 3, 2022
cb3eaf2
frame-executive: Reject invalid inherents in the executive (#12365)
bkchr Dec 4, 2022
2bde8c1
Upgrade tokio to 1.22.0 and replace async-std with tokio (#12646)
dmitry-markin Dec 5, 2022
62a85fb
make threshold pub instead of pub crate (#12814)
4meta5 Dec 5, 2022
0ab43bc
Non-Interactive Staking (#12610)
gavofyork Dec 5, 2022
2704ab3
pallet-balances: Fix inactive funds migration (#12840)
bkchr Dec 5, 2022
05ebde1
client/beefy: add some bounds on enqueued votes (#12562)
dharjeezy Dec 5, 2022
404b8c9
OpenGov: Abstentions (#12842)
gavofyork Dec 5, 2022
b1396f7
Add `with_weight` extrinsic (#12848)
shawntabrizi Dec 5, 2022
fa42631
[contracts] Add per local weight for function call (#12806)
agryaznov Dec 6, 2022
234749e
contracts: Add `instantiation_nonce` API (#12800)
athei Dec 6, 2022
416a331
Rename some crates for publishing to crates.io (#12837)
joao-paulo-parity Dec 6, 2022
44fbbd9
Whitelist pallet preimage provider upgrade (#12834)
muharem Dec 6, 2022
fafc8e0
Remove `mem_info` and references to `parity-util-mem` (#12795)
mrcnski Dec 6, 2022
11c5057
frame-support: Introduce `EnsureOriginOrHigherPrivilege` (#12844)
bkchr Dec 6, 2022
0d153c9
Mmr persist state (#12822)
acatangiu Dec 7, 2022
200088e
Refund referendum submission deposit (#12788)
muharem Dec 7, 2022
5722ece
Remove sandboxing host function interface (#12852)
athei Dec 7, 2022
0a27e54
bench assert update (#12866)
muharem Dec 7, 2022
b99f2bc
Implement crate publishing on CI (#12768)
joao-paulo-parity Dec 7, 2022
6e73c85
zombienet: warp-sync integration test added (#12675)
michalkucharczyk Dec 7, 2022
ea3ca3f
Move LockableCurrency trait to fungibles::Lockable and deprecate Lock…
tonyalaribe Dec 8, 2022
fae9e36
[pallet-assets] add asset_exists(id: AssetId) function (#12782)
dharjeezy Dec 8, 2022
d0540a7
Introduce sensible weight constants (#12868)
KiChjang Dec 8, 2022
02a9dea
Checkout to the branch HEAD explicitly in `build-linux-substrate` (#1…
rcny Dec 8, 2022
9a0644c
cli: Improve pruning documentation (#12819)
lexnv Dec 8, 2022
e6bbc53
Revert "Move LockableCurrency trait to fungibles::Lockable and deprec…
tonyalaribe Dec 9, 2022
90ab4fa
Don't indefinitely block on shutting down Tokio (#12885)
bkchr Dec 9, 2022
47bd959
General Message Queue Pallet (#12485)
gavofyork Dec 9, 2022
f0b6e79
zombienet timings adjusted (#12890)
michalkucharczyk Dec 9, 2022
9931220
Move import queue out of `sc-network` (#12764)
altonen Dec 9, 2022
15cfd9c
Trace response payload in default `jsonrpsee` middleware (#12886)
tgmichel Dec 9, 2022
33e6029
Ensure that we inform all tasks to stop before starting the 60 second…
bkchr Dec 10, 2022
2f0d59d
Safe desired targets call (#12826)
Ank4n Dec 10, 2022
0ba5206
Fix typo (#12900)
ltfschoen Dec 11, 2022
9772209
ValidateUnsigned: Improve docs. (#12870)
bkchr Dec 11, 2022
06090ab
rpc server with HTTP/WS on the same socket (#12663)
niklasad1 Dec 12, 2022
e5d5d88
`pallet-message-queue`: Fix license (#12895)
ggwpez Dec 12, 2022
b3d9f3c
Use explicit call indices (#12891)
ggwpez Dec 12, 2022
f3c95e6
Pin canonincalized block (#12902)
arkpar Dec 12, 2022
d4837cb
Remove implicit approval chilling upon slash. (#12420)
kianenigma Dec 12, 2022
2a0eeff
bounties calls docs fix (#12909)
muharem Dec 12, 2022
01efa85
pallet-contracts migration pre-upgrade fix for v8 (#12905)
Dinonard Dec 13, 2022
13664c3
use custom environment for publishing crates (#12912)
joao-paulo-parity Dec 13, 2022
93fa104
[contracts] Add debug buffer limit + enforcement (#12845)
agryaznov Dec 13, 2022
89498c0
Fixup some wrong dependencies (#12899)
bkchr Dec 13, 2022
b65c9f0
add numerator and denominator to Rational128 Debug impl and increase …
apopiak Dec 14, 2022
59b5903
Fix state-db pinning (#12927)
arkpar Dec 14, 2022
2e21c35
[ci] add job switcher (#12922)
alvicsam Dec 14, 2022
2f6105b
Use LOG_TARGET in consensus related crates (#12875)
davxy Dec 14, 2022
bb94ac7
Staking: store last `min-active-bond` on-chain (#12889)
gpestana Dec 14, 2022
cd2fdcf
Try-runtime Revamp and Facelift (#12537)
kianenigma Dec 14, 2022
f763ff6
Automatic `withdraw_unbonded` upon `unbond` (#12582)
gpestana Dec 15, 2022
d29967d
documentation: add BEEFY 'spec' (#12920)
acatangiu Dec 15, 2022
cb4f249
Warn on missing `pallet::call_index` (#12894)
ggwpez Dec 15, 2022
47ebf87
increase timeout for publishing (#12934)
joao-paulo-parity Dec 15, 2022
f050628
Node template isn't licensed, remove left-over GPL header (#12937)
bkchr Dec 15, 2022
5d3624c
improve ocw validator/collator CLI description (#12931)
bernardoaraujor Dec 16, 2022
8ef806c
Set WASM_BUILD_WORKSPACE_HINT before starting CI jobs (#12816)
joao-paulo-parity Dec 16, 2022
d57f8a9
Clean up tests from `runtime.block_on()` and moving around `Runtime` …
dmitry-markin Dec 16, 2022
85f660f
Fix missing block number issue on forced canonicalization (#12949)
bkchr Dec 16, 2022
0798d52
Defensive traits: Ensure doc tests are also working without `debug_as…
bkchr Dec 16, 2022
7f4bca1
Authority discovery: Log when we found addresses for an authority (#1…
bkchr Dec 17, 2022
a96cb57
`frame_support::storage`: Add `StorageStreamIter` (#12721)
bkchr Dec 17, 2022
8d11cec
*: update `rand` to v0.8.5 (#12962)
koushiro Dec 19, 2022
1f0865c
sc-network-test::Peer: block push methods return hashes vec (#12944)
michalkucharczyk Dec 19, 2022
cad470b
Support custom genesis block (#12291)
liuchengxu Dec 19, 2022
e118df5
rpc: Implement `chainHead` RPC API (#12544)
lexnv Dec 19, 2022
8a3b2f2
ed25519: Don't panic for invalid signature (#12965)
bkchr Dec 19, 2022
657c808
`BlockId` removal: refactor: `HeaderBackend::header` (#12874)
michalkucharczyk Dec 20, 2022
a8b46da
remove hardcoded crate versions from tests (#12950)
joao-paulo-parity Dec 20, 2022
ce025f3
BlockId removal: refactor: HeaderBackend::status (#12981)
michalkucharczyk Dec 21, 2022
8e76398
Add CallbackHandle to pallet-assets (#12307)
Dinonard Dec 21, 2022
5aaf5f4
Scheduler: remove empty agenda on cancel (#12989)
muharem Dec 21, 2022
1bcb3ce
txpool: TestApi best_block fix (#12992)
michalkucharczyk Dec 21, 2022
ee31631
Migration should be pub (#12996)
ggwpez Dec 21, 2022
708626f
Mmr client gadget - support pallet reset (#12999)
serban300 Dec 22, 2022
be510f2
change crates publishing to be scheduled (#13002)
joao-paulo-parity Dec 22, 2022
d57777a
stabilize `[seal0] take_storage` (#13007)
agryaznov Dec 22, 2022
96e71b5
contracts: Improve contract address derivation (#12883)
athei Dec 22, 2022
acbb91b
[contracts] Remove stack height limiter wasm instrumentation (#12957)
agryaznov Dec 22, 2022
91d91d1
Alliance: remove unused func from weight trait (#13001)
muharem Dec 22, 2022
9443052
txpool: don't validate block transactions if the pool is empty (#12973)
michalkucharczyk Dec 22, 2022
6c65424
Fix fast-unstake for accounts with slashing (#12963)
kianenigma Dec 23, 2022
40cb431
Runtime diagnostics for leaked messages in unbounded channels (#12971)
dmitry-markin Dec 23, 2022
c7f5df2
NFTs 2.0 (#12765)
jsidorenko Dec 23, 2022
ed31016
Ignore empty authority changes (#13010)
bkchr Dec 23, 2022
999b1a1
babe: allow skipping over empty epochs (#11727)
andresilva Dec 24, 2022
c16472e
Allow StakingAdmin to set `min_commission` (#13018)
Ank4n Dec 26, 2022
27e9a1c
Make CLI state pruning optional again (#13017)
bkchr Dec 26, 2022
6fe8cd4
Runtime diagnostics for leaked messages in unbounded channels (part 2…
dmitry-markin Dec 27, 2022
8d20ed5
[contracts] Make debug buffer work like a FIFO pipe (#12953)
agryaznov Dec 27, 2022
d2ef4b0
Improve inactive fund tracking (#13009)
gavofyork Dec 27, 2022
891d6a5
Print "stalled" task on shutdown (#13022)
bkchr Dec 28, 2022
043a60b
Add ensure-ops family methods (#12967)
lemunozm Dec 28, 2022
52e96b3
Derive `Debug` on `SyncStatus` (#13025)
nazar-pc Dec 28, 2022
3addee2
Enable `zstd` for `rusty-cachier` (#13029)
rcny Dec 29, 2022
ed82c87
Unpin `ci-linux` and use the latest `production` tag as before (#13030)
rcny Dec 29, 2022
55c64bc
try-runtime: add cli option --export-proof (#12539)
librelois Dec 30, 2022
bcee526
BlockId removal: refactor: BlockBackend::block|block_status (#13014)
michalkucharczyk Jan 2, 2023
cbd8f1b
Forbid stray tokens in call index (#13036)
Szegoo Jan 2, 2023
c32968a
Use #[pallet::storage_version] for pallet staking (#12728)
Ank4n Jan 3, 2023
e22166f
Enrich TooManySiblingBlocks error info (#13052)
liuchengxu Jan 3, 2023
653eb0d
Do not run `forced_canonicalization` for archive nodes (#13051)
bkchr Jan 3, 2023
6e52d60
remove unused constant: MaxValueSize (#12839)
cuteolaf Jan 3, 2023
18ead61
Fix pallet's integration (#13056)
jsidorenko Jan 4, 2023
2967726
Disallow burning externally locked nfts (#13054)
jsidorenko Jan 4, 2023
d1fe09c
Allow to clear attributes via traits (#13055)
jsidorenko Jan 4, 2023
a052224
Selectable on-runtime-upgrade checks (#13045)
ggwpez Jan 4, 2023
da3a34f
grandpa: pass the actual best block to voting rules (#12477)
andresilva Jan 4, 2023
68fc275
Remove `Copy` from `Ensure*` traits (#13043)
ggwpez Jan 4, 2023
ea387c6
Aura: Do not verify on state import (#13058)
bkchr Jan 4, 2023
05fe10b
upgrade libp2p to 0.50.0 (#12734)
melekes Jan 5, 2023
fb22096
grandpa: remove deprecated afg log target (#13064)
andresilva Jan 5, 2023
6376f13
Return `RuntimeVersion` of overwritten/substituted wasm binary (#13066)
bkchr Jan 5, 2023
e4a4436
aura: remove stale check to skip execution (#13074)
andresilva Jan 5, 2023
934d42a
Kademlia: Speed-up the record fetching (#13081)
bkchr Jan 5, 2023
8d17a16
[contracts] Add docs generator for the contracts API to the `#[define…
agryaznov Jan 5, 2023
bc73ebf
Update trybuild to avoid random test failures. (#13073)
hirschenberger Jan 6, 2023
363ce0a
Do not leak records (#13086)
bkchr Jan 6, 2023
90ffe71
Only use `substrate-wasm-builder` when `std` feature is enabled. (#12…
nazar-pc Jan 6, 2023
4692572
grandpa: bump version to v0.16.1 (#13080)
andresilva Jan 6, 2023
19da111
Remove unused finalization_displaced variable in db (#13090)
skunert Jan 6, 2023
e7814a3
Remove unused types (#13091)
ggwpez Jan 7, 2023
5cbd126
Run `frame_system` integrity tests in Externalities (#13092)
ggwpez Jan 8, 2023
911f65b
add note on usage of twox hash (#13089)
Ank4n Jan 9, 2023
f31588b
Remove unused code in state-db (#13103)
skunert Jan 9, 2023
6c7e941
EPM and staking events improvement (#13035)
gpestana Jan 9, 2023
dc18d13
CI: configure `cargo-nextest`'s reporter options explicitly (#13104)
rcny Jan 9, 2023
b85246b
Add ensure_pow method (#13042)
lemunozm Jan 9, 2023
75d10c7
Add solution hint to error message (#13111)
Jan 10, 2023
4e38342
Avoid unintentionally canceling the scheduled crate publishing job (#…
joao-paulo-parity Jan 10, 2023
ad844be
introduce log-target constant to more frame pallets (#13116)
tonyalaribe Jan 10, 2023
cb63d3d
Update tests for 1.66 and switch CI to stable Rust 1.66 (#13118)
rcny Jan 10, 2023
946507b
remove update-node-template (#13100)
joao-paulo-parity Jan 11, 2023
2c029fd
Allow duplicate topics in smart contract events (#13065)
xgreenx Jan 11, 2023
293c1f2
[NFTs] Track item's metadata depositor (#13124)
jsidorenko Jan 11, 2023
e752af1
`IntegrityTest` implementation should be feature gated (#13094)
bkchr Jan 11, 2023
ad58606
Bump git2 from 0.14.4 to 0.16.0 (#13123)
dependabot[bot] Jan 11, 2023
6d3596f
Scheduler is already at V4 (#13105)
ggwpez Jan 11, 2023
f9d1dcd
Optimize merkle proofs for efficient verification in Solidity (#12857)
doubledup Jan 12, 2023
e9b0fac
client/beefy: fix logs (#13130)
acatangiu Jan 12, 2023
2bfc1dd
Stop keeping track of epoch changes for the sync gap (#13127)
davxy Jan 12, 2023
d92281a
CI: Unpin `ci-linux` and use Rust 1.66.1 (#13134)
rcny Jan 13, 2023
88be4b6
sp-beefy: align authority id key type with its signature type (#13131)
acatangiu Jan 13, 2023
cbc525f
Use the balance trait as we have one (#13136)
gilescope Jan 13, 2023
30641ee
CI: Code mark to request a pipeline failure (#13139)
rcny Jan 13, 2023
49962f7
Annotate thiserror for sp_core::crypto::SecretStringError (#13144)
jasl Jan 15, 2023
70f2e36
pallet-offences-benchmarking: Box events in verify (#13151)
bkchr Jan 16, 2023
ea00240
More improvements for the crate publishing pipeline (#13153)
joao-paulo-parity Jan 16, 2023
7ff6fa2
txpool: don't maintain the pool during major sync (#13004)
michalkucharczyk Jan 16, 2023
2893730
[client/network] Add support for `/wss` addresses (#13152)
melekes Jan 17, 2023
6bac243
NIS should retain funds in reserve (#12928)
gavofyork Jan 17, 2023
414caff
Refactory of `next_slot` method (#13155)
davxy Jan 17, 2023
f7e53fe
Breakout mock runtimes to separate files (#13150)
gilescope Jan 17, 2023
42f38db
frame-benchmarking: Macros should not force a particular env (#13161)
bkchr Jan 17, 2023
cfe9262
Fix the `storage_size`/`state_getStorageSize` RPC call (#13154)
koute Jan 18, 2023
a447f03
[contracts] Adapt storage reading host functions to Weights V2 (#12976)
agryaznov Jan 18, 2023
af5a499
zobmienet tests are not supposed to fail (#13015)
michalkucharczyk Jan 18, 2023
cba5977
[contracts] Add integrity checks by pallet hook (#12993)
agryaznov Jan 18, 2023
911c9ab
Expose `UnknownBlock` error via `ApiError` (#12707)
tdimitrov Jan 19, 2023
d4384f2
Notification-based block pinning (#13157)
skunert Jan 19, 2023
0b6aec5
Make DispatchError impl MEL (#13169)
gavofyork Jan 19, 2023
b85d631
Remove fixtures from crate (#13181)
athei Jan 19, 2023
d7acf9e
txpool: LOG_TARGET const added (#13180)
michalkucharczyk Jan 19, 2023
de943ee
Fix potential huge allocation as a result of `validate_block` output …
mrcnski Jan 20, 2023
593c76b
sc-network: Ensure private addresses are disabled if requested (#13185)
bkchr Jan 20, 2023
38ec2d8
Warn validators with slow hardware (#12620)
Szegoo Jan 20, 2023
2c16842
Use year 2023 in the License headers (#13193)
ggwpez Jan 20, 2023
355e4a9
Move slow hardware warning print logic to CLI (#13198)
ggwpez Jan 21, 2023
79cb2e6
Fix flaky BABE test (#13199)
bkchr Jan 21, 2023
1f70226
Add debug info in assert_has_event and assert_last_event (#12979)
zjb0807 Jan 22, 2023
ed3f055
new proc-macro-based benchmarking syntax (#12924)
sam0x17 Jan 23, 2023
d0a2c4a
Rename `*-private-ipv4` to `*-private-ip` CLI args (#13208)
bkchr Jan 23, 2023
e72f72f
Remove dead code (#13213)
koute Jan 23, 2023
419b840
[Fix] CountedMap::set now takes Counter into account (#13214)
ruseinov Jan 23, 2023
52d72b3
debug assert events at genesis (#13217)
muharem Jan 23, 2023
9052607
BlockId removal: refactor: CallExecutor trait (#13173)
michalkucharczyk Jan 24, 2023
ca5a505
service: storage monitor added (#13082)
michalkucharczyk Jan 24, 2023
84af672
beefy: Add LOG_TARGET constant (#13222)
al3mart Jan 24, 2023
09de7b4
Upgrade wasm-opt to 0.111.0 (#13038)
brson Jan 24, 2023
5749760
storage-monitor: statvfs arithmetic bug fixed (#13234)
michalkucharczyk Jan 24, 2023
d2afb5d
Bump parity-db (#13226)
arkpar Jan 24, 2023
1314eec
pallet-assets: Rename `total_supply` to `amount` (#13229)
bkchr Jan 25, 2023
e393874
Babe: bad epoch index with skipped epochs and warp sync (#13135)
davxy Jan 25, 2023
1a1600b
contracts: Deprecate random interface (#13204)
athei Jan 25, 2023
d74eab8
[contracts] Add upfront weight of merkle trie proofs for storage read…
agryaznov Jan 25, 2023
d22e68c
CI: Rewrite `check-each-crate` in python (#13238)
bkchr Jan 25, 2023
d029225
Fix try-runtime with create-snapshot (#13223)
zjb0807 Jan 25, 2023
8b4331c
reduce exec time of fast-unstake benchmarks (#13120)
kianenigma Jan 25, 2023
9db957c
Rework the trie cache (#12982)
koute Jan 26, 2023
64a1a36
Add task type label to metrics (#13240)
sandreim Jan 26, 2023
f4bc993
upgrade nix to 0.26.1 (#13230)
michalkucharczyk Jan 26, 2023
2dbf625
Add WeightToFee and LengthToFee impls to transaction-payment Runtime …
notlesh Jan 26, 2023
495cc0e
Correct arithmetical semantic of `PerDispatchClass` (#13194)
ggwpez Jan 26, 2023
65d1d03
Aura: Fix warp syncing (#13221)
bkchr Jan 26, 2023
ff9921a
Add Proof Size to Weight Output (#11637)
shawntabrizi Jan 26, 2023
248fdf0
Use non-binary pronouns in comments. (#13209)
DanHenton Jan 27, 2023
ce2cee3
migrate new benchmarking syntax from `frame_support::benchmarking` to…
sam0x17 Jan 27, 2023
9762613
mutate_exists for StorageValue with ValueQuery (#13245)
muraca Jan 27, 2023
1e6b892
Fix derive PassByInner with generics (#13247)
conr2d Jan 28, 2023
ece32a7
docs: Fix broken documentation links for pallets (#13241)
Jonathas-Conceicao Jan 28, 2023
0100b3b
sc-finality-grandpa: Warp proof generation can not expect justificati…
bkchr Jan 28, 2023
6c11190
update criterion to v0.4.0 (#13142)
koushiro Jan 28, 2023
f4caddb
fix up template (#13205)
shawntabrizi Jan 29, 2023
fdff2b2
Remove `uncles` related code (#13216)
bkchr Jan 29, 2023
a9c4334
Implement RIType traits for u8 array with an arbitrary size (#13256)
conr2d Jan 30, 2023
129fee7
grandpa: cleanup stale entries in set id session mapping (#13237)
andresilva Jan 30, 2023
8cfe326
Benchmark's successful origin api update (#13146)
muharem Feb 1, 2023
c4b2db5
hooks default impl missing where clause (#13264)
kianenigma Feb 1, 2023
b2b2e65
implemented `contains_prefix` for StorageDoubleMap and StorageNMap (#…
muraca Feb 1, 2023
3bc3742
Calling proxy doesn't remove announcement (#13267)
Szegoo Feb 1, 2023
5a281ce
Fix block pruning (#13323)
arkpar Feb 7, 2023
15e218a
grandpa: don't error if best block and finality target are inconsiste…
andresilva Feb 12, 2023
18bb7c7
benchmarks: EnsureRankedMember must add ranked members (#13297) (#13348)
muharem Feb 13, 2023
cab4851
resolve conflicts for 38 version
devdanco Mar 7, 2023
63ab2b9
Merge branch 'mangata-dev' into mangata-dev-v0.9.38
devdanco Mar 28, 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
  •  
  •  
  •  
88 changes: 74 additions & 14 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,39 @@ variables:
CARGO_INCREMENTAL: 0
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"
# staging image with rust 1.65 and nightly-2022-11-16
CI_IMAGE: "paritytech/ci-linux@sha256:786869e731963b3cc0a4aa9deb83367ed9e87a6ae48b6eb029d62b0cab4d87c1"
CI_IMAGE: "paritytech/ci-linux:production"
BUILDAH_IMAGE: "quay.io/buildah/stable:v1.27"
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.22"

default:
.shared-default: &shared-default
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- api_failure
interruptible: true
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

.collect-artifacts:
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
Expand All @@ -81,6 +97,15 @@ default:
paths:
- artifacts/

.prepare-env:
before_script:
# TODO: remove unset invocation when we'll be free from 'ENV RUSTC_WRAPPER=sccache' & sccache
# itself in all images
- unset RUSTC_WRAPPER
# $WASM_BUILD_WORKSPACE_HINT enables wasm-builder to find the Cargo.lock from within generated
# packages
- export WASM_BUILD_WORKSPACE_HINT="$PWD"

.job-switcher:
before_script:
- if echo "$CI_DISABLED_JOBS" | grep -xF "$CI_JOB_NAME"; then echo "The job has been cancelled in CI settings"; exit 0; fi
Expand All @@ -89,6 +114,7 @@ default:
image: "${CI_IMAGE}"
before_script:
- !reference [.job-switcher, before_script]
- !reference [.prepare-env, before_script]
tags:
- kubernetes-parity-build

Expand All @@ -115,9 +141,8 @@ default:
.docker-env:
image: "${CI_IMAGE}"
before_script:
# TODO: remove unset invocation when we'll be free from 'ENV RUSTC_WRAPPER=sccache' & sccache itself in all images
- unset RUSTC_WRAPPER
- !reference [.job-switcher, before_script]
- !reference [.prepare-env, before_script]
- !reference [.rust-info-script, script]
- !reference [.rusty-cachier, before_script]
- !reference [.pipeline-stopper-vars, script]
Expand Down Expand Up @@ -204,9 +229,21 @@ default:
# 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
REPO: substrate
REPO_OWNER: paritytech

.crates-publishing-pipeline:
extends: .crates-publishing-variables
rules:
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_COMMIT_REF_NAME == "master" && $PIPELINE == "automatic-crate-publishing"

.crates-publishing-template:
stage: test
extends: .docker-env
extends:
- .docker-env
- .crates-publishing-variables
# collect artifacts even on failure so that we know how the crates were generated (they'll be
# generated to the artifacts folder according to SPUB_TMP further down)
artifacts:
Expand All @@ -216,12 +253,7 @@ default:
paths:
- artifacts/
variables:
CRATESIO_API: https://crates.io/api
CRATESIO_CRATES_OWNER: parity-crate-owner
GH_API: https://api.github.com
REPO: substrate
REPO_OWNER: paritytech
SPUB_TMP: artifacts
SPUB_TMP: artifacts

#### stage: .pre

Expand All @@ -239,6 +271,18 @@ skip-if-draft:
- ./scripts/ci/gitlab/skip_if_draft.sh
allow_failure: true

check-crates-publishing-pipeline:
stage: .pre
extends:
- .kubernetes-env
- .crates-publishing-pipeline
script:
- git clone
--depth 1
--branch "$RELENG_SCRIPTS_BRANCH"
https://github.com/paritytech/releng-scripts.git
- ONLY_CHECK_PIPELINE=true ./releng-scripts/publish-crates

include:
# check jobs
- scripts/ci/gitlab/pipeline/check.yml
Expand All @@ -250,6 +294,22 @@ include:
- scripts/ci/gitlab/pipeline/publish.yml
# zombienet jobs
- scripts/ci/gitlab/pipeline/zombienet.yml
# The crate-publishing pipeline requires a customized `interruptible` configuration. Unfortunately
# `interruptible` can't currently be dynamically set based on variables as per:
# - https://gitlab.com/gitlab-org/gitlab/-/issues/38349
# - https://gitlab.com/gitlab-org/gitlab/-/issues/194023
# Thus we work around that limitation by using conditional includes.
# For crate-publishing pipelines: run it with defaults + `interruptible: false`. The WHOLE
# 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"

#### stage: deploy

Expand Down
35 changes: 28 additions & 7 deletions .maintain/frame-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
//! Autogenerated weights for {{pallet}}
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}}
//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: {{cmd.repeat}}, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}`
//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}`
//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}`
//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}`
//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}}

Expand Down Expand Up @@ -38,7 +39,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
{{/if}}
{{#each benchmarks as |benchmark|}}
{{#each benchmark.comments as |comment|}}
// {{comment}}
/// {{comment}}
{{/each}}
{{#each benchmark.component_ranges as |range|}}
/// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`.
Expand All @@ -48,24 +49,34 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
{{~#each benchmark.components as |c| ~}}
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
// Proof Size summary in bytes:
// Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
// Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
{{#if (ne benchmark.base_calculated_proof_size "0")}}
Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}})
{{else}}
Weight::from_ref_time({{underscore benchmark.base_weight}})
{{/if}}
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into()))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}))
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64))
{{/if}}
{{#each benchmark.component_reads as |cr|}}
.saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into())))
{{/each}}
{{#if (ne benchmark.base_writes "0")}}
.saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}))
.saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64))
{{/if}}
{{#each benchmark.component_writes as |cw|}}
.saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into())))
{{/each}}
{{#each benchmark.component_calculated_proof_size as |cp|}}
.saturating_add(Weight::from_proof_size({{cp.slope}}).saturating_mul({{cp.name}}.into()))
{{/each}}
}
{{/each}}
}
Expand All @@ -74,7 +85,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
impl WeightInfo for () {
{{#each benchmarks as |benchmark|}}
{{#each benchmark.comments as |comment|}}
// {{comment}}
/// {{comment}}
{{/each}}
{{#each benchmark.component_ranges as |range|}}
/// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`.
Expand All @@ -84,24 +95,34 @@ impl WeightInfo for () {
{{~#each benchmark.components as |c| ~}}
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
// Proof Size summary in bytes:
// Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
// Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}`
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
{{#if (ne benchmark.base_calculated_proof_size "0")}}
Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}})
{{else}}
Weight::from_ref_time({{underscore benchmark.base_weight}})
{{/if}}
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into()))
{{/each}}
{{#if (ne benchmark.base_reads "0")}}
.saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}}))
.saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}}_u64))
{{/if}}
{{#each benchmark.component_reads as |cr|}}
.saturating_add(RocksDbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into())))
{{/each}}
{{#if (ne benchmark.base_writes "0")}}
.saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}}))
.saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}}_u64))
{{/if}}
{{#each benchmark.component_writes as |cw|}}
.saturating_add(RocksDbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into())))
{{/each}}
{{#each benchmark.component_calculated_proof_size as |cp|}}
.saturating_add(Weight::from_proof_size({{cp.slope}}).saturating_mul({{cp.name}}.into()))
{{/each}}
}
{{/each}}
}
Loading