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

Fetch latest SDK #6

Closed
wants to merge 222 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
8c8f339
runtimes: presets are provided as config patches (#6349)
michalkucharczyk Nov 8, 2024
edf79aa
Migrate pallet-transaction-storage and pallet-indices to benchmark v2…
programskillforverification Nov 8, 2024
05ad547
fix prospective-parachains best backable chain reversion bug (#6417)
alindima Nov 11, 2024
b601d57
Remove network starter that is no longer needed (#6400)
nazar-pc Nov 11, 2024
ace62f1
`fatxpool`: size limits implemented (#6262)
michalkucharczyk Nov 11, 2024
a5de3b1
pallet-membership: Do not verify the `MembershipChanged` in bechmarks…
bkchr Nov 11, 2024
dd9514f
add FeeManager to pallet xcm (#5363)
jpserrat Nov 11, 2024
1b0cbe9
Use relay chain block number in the broker pallet instead of block nu…
davidk-pt Nov 11, 2024
aff3a07
migrate pallet-nft-fractionalization to benchmarking v2 syntax (#6301)
clangenb Nov 11, 2024
9f8656b
[pallet-revive] adjust fee dry-run calculation (#6393)
pgherveou Nov 12, 2024
9f603b1
NoOp Impl Polling Trait (#5311)
Doordashcon Nov 12, 2024
b570baf
Migrate pallet-child-bounties benchmark to v2 (#6310)
aurexav Nov 12, 2024
872d949
Introduce `ConstUint` to make dependent types in `DefaultConfig` more…
conr2d Nov 12, 2024
a875f18
Use type alias for transactions (#6431)
nazar-pc Nov 12, 2024
34d2ff8
[Release|CI/CD] Fix audiences changelog template (#6444)
EgorPopelyaev Nov 12, 2024
4c059c0
XCMv5: add ExecuteWithOrigin instruction (#6304)
franciscoaguirre Nov 12, 2024
0a0af0e
rpc server: fix host filter for localhost on ipv6 (#6454)
niklasad1 Nov 12, 2024
0156ca8
[pallet-revive] eth-rpc fixes (#6453)
pgherveou Nov 12, 2024
5aeaa66
Remove debug message about pruning active leaves (#6440)
AndreiEres Nov 13, 2024
8e3d929
[Tx ext stage 2: 1/4] Add `TransactionSource` as argument in `Transac…
gui1117 Nov 13, 2024
95d98e6
remove pallet::getter from pallet-staking (#6184)
Zebedeusz Nov 13, 2024
e87bffc
Refactor pallet `society` (#6367)
re-gius Nov 13, 2024
ac2546b
frame-benchmarking: Use correct components for pallet instances (#6435)
bkchr Nov 13, 2024
a84f259
Get rid of `libp2p` dependency in `sc-authority-discovery` (#5842)
ndkazu Nov 13, 2024
e617d1d
backing: improve session buffering for runtime information (#6284)
sw10pa Nov 13, 2024
6b84431
Add litep2p network protocol benches (#6455)
AndreiEres Nov 13, 2024
bff395f
Fixed bridges zombienet tests because of removed NetworkId::Rococo/We…
bkontur Nov 13, 2024
a1af8ed
Fix staking benchmark (#6463)
gui1117 Nov 14, 2024
ae4b68b
Follow up work on `TransactionExtension` - fix weights and clean up `…
georgepisaltu Nov 14, 2024
5da4063
feat: add workflow to test readme generation (#6359)
virajbhartiya Nov 14, 2024
dbeea18
[pallet-revive] set logs_bloom (#6460)
pgherveou Nov 14, 2024
5bc571b
Support more types in TypeWithDefault (#6411)
NingLin-P Nov 14, 2024
39eba14
[pallet-revive] use evm decimals in call host fn (#6466)
pgherveou Nov 15, 2024
8bea091
network/litep2p: Update litep2p network backend to version 0.8.1 (#6484)
lexnv Nov 15, 2024
a77940b
sp-trie: minor fix to avoid possible panic during node decoding (#6486)
TDemeco Nov 15, 2024
4df9433
migrate pallet-nomination-pool-benchmarking to benchmarking syntax v2…
clangenb Nov 15, 2024
603a392
Migrate some pallets to benchmark v2 (#6311)
programskillforverification Nov 18, 2024
95be9c1
Mention that account might still be required in doc for feeless if. (…
gui1117 Nov 18, 2024
06a68be
Pure state sync refactoring (part-1) (#6249)
liuchengxu Nov 18, 2024
e98c1ac
[WIP][ci] Add worfklow stopper (#4551)
alvicsam Nov 18, 2024
7d5d720
Remove `ProspectiveParachainsMode` usage in backing subsystem (#6215)
tdimitrov Nov 18, 2024
b71bd53
sp-runtime: Be a little bit more functional :D (#6526)
bkchr Nov 18, 2024
5721e55
`TransactionPool` API uses `async_trait` (#6528)
michalkucharczyk Nov 19, 2024
5e8348f
sp-trie: correctly avoid panicking when decoding bad compact proofs (…
TDemeco Nov 19, 2024
293d4a5
[pallet-revive] Update delegate_call to accept address and weight (#6…
ermalkaleci Nov 19, 2024
0449b21
Fix metrics not shutting down if there are open connections (#6220)
tmpolaczyk Nov 19, 2024
8d4138f
Validator Re-Enabling (#5724)
Overkillus Nov 19, 2024
09757a4
Migrate pallet-democracy benchmarks to benchmark v2 syntax (#6509)
ndkazu Nov 19, 2024
cccf341
Forward logging directives to Polkadot workers (#6534)
bkchr Nov 19, 2024
ce20d0a
Support block gap created by fast sync (#5703)
liuchengxu Nov 19, 2024
07a5933
Pure state sync refactoring (part-2) (#6521)
liuchengxu Nov 19, 2024
ca8beae
Add and test events in `pallet-conviction-voting` (#6544)
rockbmb Nov 20, 2024
65a92ba
Increase default trie cache size to 1GiB (#6546)
bkchr Nov 20, 2024
bd0d0cd
Bridges testing improvements (#6536)
bkontur Nov 20, 2024
70b6c7b
Migrate pallet-scheduler benchmark to v2 (#6292)
aurexav Nov 20, 2024
a872278
Removes constraint in `BlockNumberProvider` from treasury (#6522)
gupnik Nov 21, 2024
b290f27
revive: Bump connect timeout to fix flaky tests (#6567)
athei Nov 21, 2024
7c9e34b
network-gossip: Ensure sync event is processed on unknown peer roles …
lexnv Nov 21, 2024
56d97c3
slot-based-collator: Move spawning of the futures (#6561)
bkchr Nov 21, 2024
1f7765b
github/workflows: add ARM macos build binaries job (#6427)
iulianbarbu Nov 21, 2024
bf20a9e
[Fix|NominationPools] Only allow apply slash to be executed if the sl…
Ank4n Nov 21, 2024
6d59c3b
parachain-template-node: add properties for dev chain-spec (#6560)
iulianbarbu Nov 21, 2024
d8ce550
[pallet-revive] Support all eth tx types (#6461)
pgherveou Nov 21, 2024
7c5224c
Adds `BlockNumberProvider` in multisig, proxy and nft pallets (#5723)
gupnik Nov 22, 2024
08ec8cd
Only mess with coretime if we are registering an actual parachain. (#…
eskimor Nov 22, 2024
1e3b8e1
Notify telemetry only every second about the tx pool status (#6605)
bkchr Nov 24, 2024
6da7d36
Fixes cfg attributes in runtime macro (#6410)
gupnik Nov 25, 2024
75e79fa
ci: fix node-bench-regression-guard for master (#6589)
alvicsam Nov 25, 2024
e709c9f
Error logging for send xcm to pallet-xcm (#6579)
bkontur Nov 25, 2024
c422d8b
ci: improve workflow-stopper ux (#6632)
alvicsam Nov 25, 2024
41b6915
remove ReportCollator message (#6628)
jpserrat Nov 25, 2024
6d5f814
rpc server: fix subscription id_provider being reset to default one. …
TarekkMA Nov 25, 2024
7f64e66
bump zombienet-sdk version `v0.2.16` (#6633)
pepoviola Nov 26, 2024
86a917f
Bump rustls from 0.23.14 to 0.23.18 (#6641)
dependabot[bot] Nov 26, 2024
8216235
ci/check-semver: Fix semver failed step (#6535)
lexnv Nov 26, 2024
3c00387
[Release|CI/CD] Github pipeline to publish polkadot deb package (#6640)
EgorPopelyaev Nov 26, 2024
1c0b610
xcm: fix local/remote exports when inner routers return `NotApplicabl…
bkontur Nov 26, 2024
f520adb
Zero refund check for FungibleAdapter (#6506)
Dinonard Nov 26, 2024
fc315ac
Hide nonce implementation details in metadata (#6562)
re-gius Nov 26, 2024
139691b
Fix `XcmPaymentApi::query_weight_to_asset_fee` version conversion (#6…
franciscoaguirre Nov 26, 2024
445c1c8
Add stable2412 to target_branches for command-backport.yml (#6666)
bkontur Nov 27, 2024
2a0b268
litep2p/req-resp: Always provide main protocol name in responses (#6603)
lexnv Nov 27, 2024
5b1b34d
v16: Expose the unstable metadata v16 (#5732)
lexnv Nov 27, 2024
afd065f
rpc-v2: Implement `archive_unstable_storageDiff` (#5997)
lexnv Nov 27, 2024
2ef2723
chain-spec-guide-runtime: path to wasm blob fixed (#6673)
michalkucharczyk Nov 27, 2024
51c3e95
chore: Update litep2p to v0.8.2 (#6677)
lexnv Nov 28, 2024
9ec8009
Multiple instances for pallet-bridge-relayers fix (#6684)
bkontur Nov 28, 2024
23369ac
Migrating pallet-xcm-benchmarks to V2 (#6618)
Krayt78 Nov 28, 2024
fdb264d
Migrating pallet-state-trie-migration to benchmarking V2 (#6617)
Krayt78 Nov 28, 2024
6416b28
[pallet-revive] bugfix decoding 64bit args in the decoder (#6695)
xermicus Nov 28, 2024
72fb8bd
Expose types from `sc-service` (#5855)
RomarQ Nov 29, 2024
1dd21bc
ci: update nightly in ci-unified to 2024-11-19 (#6691)
alvicsam Nov 29, 2024
b3ab312
Migrate pallet-preimage to benchmark v2 (#6277)
aurexav Nov 29, 2024
447902e
pallet_revive: Switch to 64bit RISC-V (#6565)
athei Nov 29, 2024
1e89a31
Fix runtime api impl detection by construct runtime (#6665)
bkchr Nov 29, 2024
4e7c968
archive: Refactor `archive_storage` method into subscription (#6483)
lexnv Nov 29, 2024
1d519a1
Update scale-info to 2.11.6 (#6681)
pkhry Nov 29, 2024
5ad8780
People chain integration tests (#6377)
rockbmb Nov 29, 2024
8eac4e8
network/libp2p-backend: Suppress warning adding already reserved node…
dmitry-markin Nov 29, 2024
5e0bcb0
Let's be a bit less strict here. (#6662)
eskimor Nov 29, 2024
d1fafa8
[pallet-revive] eth-prc fix geth diff (#6608)
pgherveou Dec 1, 2024
c092133
Bump the ci_dependencies group across 1 directory with 3 updates (#6516)
dependabot[bot] Dec 2, 2024
0845044
migrate pallet-session-benchmarking to bench V2 syntax (#6294)
clangenb Dec 2, 2024
3d8da81
migrate pallet-offences-benchmarking to benchmark v2 syntax (#6300)
clangenb Dec 2, 2024
8f1606e
Rococo People <> Bulletin bridge fixes (#6708)
serban300 Dec 3, 2024
592bb32
[Release/CICD] Re-worked Create Release Draft flow (#6734)
EgorPopelyaev Dec 3, 2024
76a292b
Update parity-publish (#6549)
Morganamilo Dec 3, 2024
c56a98b
pallet-revive-fixtures: Try not to re-create fixture dir (#6735)
athei Dec 3, 2024
d1d92ab
Bump Westend AH (#6583)
pgherveou Dec 3, 2024
896c814
Add publish-check-compile workflow (#6556)
Morganamilo Dec 3, 2024
41a5d8e
`fatxpool`: handling limits and priorities improvements (#6405)
michalkucharczyk Dec 3, 2024
a2ffae3
umbrella: Remove `pallet-revive-fixtures` (#6743)
bkchr Dec 4, 2024
377bc3f
[Release|CI/CD] Add pipeline to promote release candidate from rcX to…
EgorPopelyaev Dec 4, 2024
34632ed
Disable flaky tests reported in #6574/#6644 (#6749)
pepoviola Dec 4, 2024
5ca7267
chore: Update litep2p to v0.8.3 (#6742)
lexnv Dec 4, 2024
2779043
[CI/CD] Fix permissions issue in the backport to stable flow (#6754)
EgorPopelyaev Dec 4, 2024
82117ad
wasm-builder: Use riscv32emac-unknown-none-polkavm.json target (#6419)
jarkkojs Dec 4, 2024
654d60c
ci: skip check-semver in master and merge queue (#6762)
alvicsam Dec 5, 2024
f4a196a
Optimize initialization of networking protocol benchmarks (#6636)
AndreiEres Dec 5, 2024
df1375e
chainHead: Always report discarded items for storage operations (#6760)
lexnv Dec 5, 2024
44766de
bump zombienet and re-enable test (#6090)
pepoviola Dec 5, 2024
0d3d450
pallet-revive: Adjust error handling of sub calls (#6741)
athei Dec 5, 2024
4f43b72
[CI/CD] Add release environment to the backport job (#6765)
EgorPopelyaev Dec 5, 2024
f31c70a
Added fallback_max_weight to Transact for sending messages to V4 chai…
franciscoaguirre Dec 5, 2024
f7838db
`basic-authorship`: debug level is now less spammy (#6768)
michalkucharczyk Dec 5, 2024
526a440
Update weights for westend pallet balances (#6777)
mordamax Dec 6, 2024
906fa9e
XCM V5 - SetHints instruction (#6566)
franciscoaguirre Dec 8, 2024
b2e1e59
[CI/CD]Revert the token changes in backport flow (#6794)
EgorPopelyaev Dec 9, 2024
81b979a
Mak cmd swap omnibench (#6769)
mordamax Dec 9, 2024
da95345
Fix `Possible bug: Vote import failed` after aggression is enabled (#…
alexggh Dec 9, 2024
4198dc9
pallet-revive: Remove unused dependencies (#6796)
athei Dec 9, 2024
e79fd2b
xcm-executor: take transport fee from transferred assets if necessary…
acatangiu Dec 9, 2024
4fc9248
Add fallback_max_weight to snowbridge Transact (#6792)
franciscoaguirre Dec 10, 2024
3fb99c0
Add fallback_weight to the log (#6782)
bkontur Dec 10, 2024
8f4b99c
Bridges - revert-back congestion mechanism (#6781)
bkontur Dec 10, 2024
311ea43
Remove AccountKeyring everywhere (#5899)
programskillforverification Dec 10, 2024
c808a00
Let cmd bot to trigger ci on commit (#6813)
mordamax Dec 10, 2024
19bc578
polkadot-sdk-docs: Use command_macro! (#6624)
ndkazu Dec 10, 2024
65a4e5e
Fix order of resending messages after restart (#6729)
alexggh Dec 10, 2024
fe4846f
XCMv5: Fix for compatibility with V4 (#6503)
yrong Dec 10, 2024
48c28d4
omni-node: --dev sets manual seal and allows --chain to be set (#6646)
iulianbarbu Dec 10, 2024
99be9b1
[pallet-revive] eth-rpc add missing tests (#6728)
pgherveou Dec 11, 2024
9dcdf81
Migration of polkadot-runtime-common auctions benchmarking to v2 (#6613)
Krayt78 Dec 11, 2024
85dd228
Make approval-distribution aggression a bit more robust and less spam…
alexggh Dec 11, 2024
da2dd9b
snowbridge: Update alloy-core (#6808)
athei Dec 11, 2024
48c6574
Add aliasers to westend chains (#6814)
franciscoaguirre Dec 11, 2024
f0b5c3e
pallet-revive: Statically verify imports on code deployment (#6759)
athei Dec 11, 2024
61518e0
Update parity-publish to 0.10.3 (#6854)
iulianbarbu Dec 12, 2024
389e221
[pallet-revive] implement the call data load API (#6835)
xermicus Dec 12, 2024
7cc5cdd
omni-node: add metadata checks for runtime/parachain compatibility (#…
iulianbarbu Dec 12, 2024
50e5dd2
Remove collation-generation subsystem from validator nodes (#6832)
ndkazu Dec 12, 2024
f8e5a8a
pallet-revive: disable host functions not in revive recompiler (#6844)
davidk-pt Dec 12, 2024
5788ae8
chore: Update litep2p to version 0.8.4 (#6860)
lexnv Dec 12, 2024
c10e25a
dmp: Check that the para exist before delivering a message (#6604)
bkchr Dec 12, 2024
459b4a6
[pallet-broker] Fix auto renew benchmarks (#6505)
seadanda Dec 12, 2024
9712e2e
[polkadot-runtime-parachains] migrate paras module to benchmarking v2…
clangenb Dec 12, 2024
5153e2b
Collation fetching fairness (#4880)
tdimitrov Dec 13, 2024
9ce80f6
Rename PanicInfo to PanicHookInfo (#6865)
athei Dec 13, 2024
0349789
[pallet-revive] implement the call data size API (#6857)
xermicus Dec 13, 2024
e1add3e
rpc: re-use server builder per rpc interface (#6652)
niklasad1 Dec 13, 2024
4b054c6
Expose DHT content providers API from `sc-network` (#6711)
dmitry-markin Dec 13, 2024
b8da8fa
slot-based-collator: Implement dedicated block import (#6481)
bkchr Dec 13, 2024
2dd2bb5
Fix approval-voting canonicalize off by one (#6864)
alexggh Dec 13, 2024
6d92ded
Update merkleized-metadata to 0.2.0 (#6863)
bkchr Dec 13, 2024
482bf08
Only one ParaId variable in the Parachain Template (#6744)
shawntabrizi Dec 13, 2024
ec69b61
Add `unstable-api` feature flag to `pallet-revive` (#6866)
davidk-pt Dec 13, 2024
bd2c35f
sc-executor-polkavm: Migrate into PolkaVM 0.18.0 (#6533)
jarkkojs Dec 14, 2024
88d255c
Fix flaky `build-runtimes-polkavm` CI job (#6893)
athei Dec 15, 2024
c881288
Upgrade libp2p from 0.52.4 to 0.54.1 (#6248)
nazar-pc Dec 16, 2024
cee63ac
Omni-node: Detect pending code in storage and send go ahead signal in…
skunert Dec 16, 2024
adc0178
polkadot-omni-node-lib: remove unused dep (#6889)
iulianbarbu Dec 16, 2024
5b04b45
Upgrade nix and reqwest (#6898)
jasl Dec 16, 2024
31179c4
ci: 5 retries for cargo (#6903)
alvicsam Dec 17, 2024
0558973
Remove unused dependencies from pallet_revive (#6917)
athei Dec 17, 2024
e6ddd39
omni-node: Tolerate failing metadata check (#6923)
skunert Dec 17, 2024
08bfa86
adding stkd bootnodes (#6912)
Sudo-Whodo Dec 17, 2024
4a0e3f6
[pallet-revive] implement the call data copy API (#6880)
xermicus Dec 18, 2024
f24007e
elastic scaling RFC 103 end-to-end test (#6452)
alindima Dec 18, 2024
6dd4a71
Migrate pallet-xcm benchmarks to benchmark v2 syntax (#6501)
clangenb Dec 18, 2024
d8df46c
Improve pallet claims file structure (#6779)
Krayt78 Dec 18, 2024
586ab7f
add another token generation step (#6941)
mordamax Dec 18, 2024
9da3394
`pallet_xcm::execute` weights (#6919)
bkontur Dec 18, 2024
6ad7488
[pallet-revive] implement the ref_time_left API (#6908)
xermicus Dec 18, 2024
c4d66cc
[CI/CD] Fixes fro the docker images publishing pipeline (#6938)
EgorPopelyaev Dec 18, 2024
fd0fb76
slot-based-collator: Refactor some internals (#6935)
bkchr Dec 18, 2024
53f6473
[pallet-revive] change some getter APIs to return value in register (…
xermicus Dec 18, 2024
1c0820d
fixed token (#6958)
mordamax Dec 18, 2024
ddfc608
[pallet-revive] implement the gas limit API (#6926)
xermicus Dec 18, 2024
ef88865
[pallet-revive] bump polkavm to 0.18 (#6937)
xermicus Dec 18, 2024
91bef33
pallet-revive: Fix docs.rs (#6896)
athei Dec 18, 2024
03e5db1
Improve pallet purchase file structure (#6780)
Krayt78 Dec 19, 2024
0de6854
Pallet:Auction move tests and benchmark to seperate files (#6746)
Krayt78 Dec 19, 2024
cbeb66f
Improve pallet paras_registrar file structure (#6783)
Krayt78 Dec 19, 2024
2cbb437
[pallet-revive] implement the gas price API (#6954)
xermicus Dec 19, 2024
ade1f75
[polkadot-runtime-parachains] migrate disputes and disputes/slashing …
clangenb Dec 19, 2024
243b751
[pallet-revive] implement the base fee API (#6964)
xermicus Dec 19, 2024
e964644
[Backport] Version bumps and `prdocs` reordering form 2412 (#6928)
EgorPopelyaev Dec 19, 2024
4e805ca
Migrate `pallet-atomic-swap` to umbrella crate (#6601)
runcomet Dec 20, 2024
a843d15
Reorder dependencies' keys (#6967)
aurexav Dec 20, 2024
97d3b86
fix: typos in documentation files (#6961)
zeevick10 Dec 20, 2024
d0c8a07
grandpa: Ensure `WarpProof` stays in its limits (#6963)
bkchr Dec 20, 2024
f9cdf41
[pallet-broker] add extrinsic to reserve a system core without having…
seadanda Dec 21, 2024
88d900a
Make pallet-recovery supports `BlockNumberProvider` (#6446)
aurexav Dec 22, 2024
ca78179
Update prometheus binding failure logging format (#6979)
liuchengxu Dec 23, 2024
b7afe48
paras-registrar: Improve error reporting (#6989)
bkchr Dec 27, 2024
cdf3a2d
Migrate inclusion benchmark to v2 (#6368)
aurexav Dec 29, 2024
f19640b
Log peerset set ID -> protocol name mapping (#7005)
dmitry-markin Dec 30, 2024
997db8e
pallet-bounties: Fix benchmarks for 0 ED (#7013)
bkchr Dec 30, 2024
b635555
Excluding chainlink domain for link checker CI (#6524)
Overkillus Dec 30, 2024
b4177a9
sync: Send already connected peers to new subscribers (#7011)
dmitry-markin Dec 30, 2024
5abdc5c
correct path in cumulus README (#7001)
SihanoukSolver29 Dec 30, 2024
9d760a9
[CI] Skip SemVer on R0-silent and update docs (#6285)
ggwpez Jan 2, 2025
fcbc0ef
Add workflow for networking benchmarks (#7029)
AndreiEres Jan 2, 2025
20513d6
[pallet-revive] fix file case (#6981)
pgherveou Jan 2, 2025
bdd1193
Remove warning log from frame-omni-bencher CLI (#7020)
0xLucca Jan 2, 2025
4729457
Fix polkadot sdk doc. (#7022)
gui1117 Jan 2, 2025
b7e2695
Improve remote externalities logging (#7021)
aurexav Jan 2, 2025
f3ab385
migrate pallet-mixnet to umbrella crate (#6986)
UtkarshBhardwaj007 Jan 3, 2025
659f484
[docs] Fix release naming (#7032)
ggwpez Jan 3, 2025
721f6d9
[WIP] Fix networking-benchmarks (#7036)
alvicsam Jan 3, 2025
0b4f131
Replace duplicated whitelist with whitelisted_storage_keys (#7024)
qiweiii Jan 3, 2025
b5a5ac4
Make `TransactionExtension` tuple of tuple transparent for implicatio…
gui1117 Jan 4, 2025
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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ rustdocflags = [
CC_x86_64_unknown_linux_musl = { value = ".cargo/musl-gcc", force = true, relative = true }
CXX_x86_64_unknown_linux_musl = { value = ".cargo/musl-g++", force = true, relative = true }
CARGO_WORKSPACE_ROOT_DIR = { value = "", relative = true }

[net]
retry = 5
# git-fetch-with-cli = true # commented because there is a risk that a runner can be banned by github
4 changes: 3 additions & 1 deletion .config/lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exclude = [
"http://visitme/",
"https://visitme/",

# TODO <https://github.com/paritytech/polkadot-sdk/issues/134>
# TODO meta issue: <https://github.com/paritytech/polkadot-sdk/issues/134>
"https://docs.substrate.io/main-docs/build/custom-rpc/#public-rpcs",
"https://docs.substrate.io/rustdocs/latest/sp_api/macro.decl_runtime_apis.html",
"https://github.com/ipfs/js-ipfs-bitswap/blob/",
Expand All @@ -50,8 +50,10 @@ exclude = [
"https://w3f.github.io/parachain-implementers-guide/runtime/session_info.html",

# Behind a captcha (code 403):
"https://chainlist.org/chain/*",
"https://iohk.io/en/blog/posts/2023/11/03/partner-chains-are-coming-to-cardano/",
"https://www.reddit.com/r/rust/comments/3spfh1/does_collect_allocate_more_than_once_while/",

# 403 rate limited:
"https://etherscan.io/block/11090290",
"https://subscan.io/",
Expand Down
8 changes: 7 additions & 1 deletion .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ 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"

test-threads = 20

# The number of threads required for each test. This is generally used in overrides to
Expand Down Expand Up @@ -124,3 +123,10 @@ serial-integration = { max-threads = 1 }
[[profile.default.overrides]]
filter = 'test(/(^ui$|_ui|ui_)/)'
test-group = 'serial-integration'

# Running eth-rpc tests sequentially
# These tests rely on a shared resource (the RPC and Node)
# and would cause race conditions due to transaction nonces if run in parallel.
[[profile.default.overrides]]
filter = 'package(pallet-revive-eth-rpc) and test(/^tests::/)'
test-group = 'serial-integration'
7 changes: 7 additions & 0 deletions .config/taplo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ keys = ["workspace.dependencies"]

[rule.formatting]
reorder_keys = true

[[rule]]
include = ["**/Cargo.toml"]
keys = ["build-dependencies", "dependencies", "dev-dependencies"]

[rule.formatting]
reorder_keys = true
28 changes: 28 additions & 0 deletions .github/actions/workflow-stopper/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "stop all workflows"
description: "Action stops all workflows in a PR to save compute resources."
inputs:
app-id:
description: "App id"
required: true
app-key:
description: "App token"
required: true
runs:
using: "composite"
steps:
- name: Worfklow stopper - Generate token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ inputs.app-id }}
private-key: ${{ inputs.app-key }}
owner: "paritytech"
repositories: "workflow-stopper"
- name: Workflow stopper - Stop all workflows
uses: octokit/[email protected]
with:
route: POST /repos/paritytech/workflow-stopper/actions/workflows/stopper.yml/dispatches
ref: main
inputs: '${{ format(''{{ "github_sha": "{0}", "github_repository": "{1}", "github_ref_name": "{2}", "github_workflow_id": "{3}", "github_job_name": "{4}" }}'', github.event.pull_request.head.sha, github.repository, github.ref_name, github.run_id, github.job) }}'
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
2 changes: 1 addition & 1 deletion .github/env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IMAGE="docker.io/paritytech/ci-unified:bullseye-1.81.0-2024-09-11-v202409111034"
IMAGE="docker.io/paritytech/ci-unified:bullseye-1.81.0-2024-11-19-v202411281558"
36 changes: 36 additions & 0 deletions .github/scripts/check-missing-readme-generation.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash
echo "Running script relative to `pwd`"
# Find all README.docify.md files
DOCIFY_FILES=$(find . -name "README.docify.md")

# Initialize a variable to track directories needing README regeneration
NEED_REGENERATION=""

for file in $DOCIFY_FILES; do
echo "Processing $file"

# Get the directory containing the docify file
DIR=$(dirname "$file")

# Go to the directory and run cargo build
cd "$DIR"
cargo check --features generate-readme || { echo "Readme generation for $DIR failed. Ensure the crate compiles successfully and has a `generate-readme` feature which guards markdown compilation in the crate as follows: https://docs.rs/docify/latest/docify/macro.compile_markdown.html#conventions." && exit 1; }

# Check if README.md has any uncommitted changes
git diff --exit-code README.md

if [ $? -ne 0 ]; then
echo "Error: Found uncommitted changes in $DIR/README.md"
NEED_REGENERATION="$NEED_REGENERATION $DIR"
fi

# Return to the original directory
cd - > /dev/null
done

# Check if any directories need README regeneration
if [ -n "$NEED_REGENERATION" ]; then
echo "The following directories need README regeneration:"
echo "$NEED_REGENERATION"
exit 1
fi
195 changes: 189 additions & 6 deletions .github/scripts/cmd/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def setup_logging():
%(prog)s --runtime westend rococo --pallet pallet_balances pallet_multisig --quiet --clean
'''

parser_bench = subparsers.add_parser('bench', help='Runs benchmarks', epilog=bench_example, formatter_class=argparse.RawDescriptionHelpFormatter)
parser_bench = subparsers.add_parser('bench', help='Runs benchmarks (old CLI)', epilog=bench_example, formatter_class=argparse.RawDescriptionHelpFormatter)

for arg, config in common_args.items():
parser_bench.add_argument(arg, **config)
Expand All @@ -67,6 +67,35 @@ def setup_logging():
parser_bench.add_argument('--pallet', help='Pallet(s) space separated', nargs='*', default=[])
parser_bench.add_argument('--fail-fast', help='Fail fast on first failed benchmark', action='store_true')


"""
BENCH OMNI
"""

bench_example = '''**Examples**:
Runs all benchmarks
%(prog)s

Runs benchmarks for pallet_balances and pallet_multisig for all runtimes which have these pallets. **--quiet** makes it to output nothing to PR but reactions
%(prog)s --pallet pallet_balances pallet_xcm_benchmarks::generic --quiet

Runs bench for all pallets for westend runtime and fails fast on first failed benchmark
%(prog)s --runtime westend --fail-fast

Does not output anything and cleans up the previous bot's & author command triggering comments in PR
%(prog)s --runtime westend rococo --pallet pallet_balances pallet_multisig --quiet --clean
'''

parser_bench_old = subparsers.add_parser('bench-omni', help='Runs benchmarks (frame omni bencher)', epilog=bench_example, formatter_class=argparse.RawDescriptionHelpFormatter)

for arg, config in common_args.items():
parser_bench_old.add_argument(arg, **config)

parser_bench_old.add_argument('--runtime', help='Runtime(s) space separated', choices=runtimeNames, nargs='*', default=runtimeNames)
parser_bench_old.add_argument('--pallet', help='Pallet(s) space separated', nargs='*', default=[])
parser_bench_old.add_argument('--fail-fast', help='Fail fast on first failed benchmark', action='store_true')


"""
FMT
"""
Expand Down Expand Up @@ -98,12 +127,12 @@ def main():

print(f'args: {args}')

if args.command == 'bench':
if args.command == 'bench-omni':
runtime_pallets_map = {}
failed_benchmarks = {}
successful_benchmarks = {}

profile = "release"
profile = "production"

print(f'Provided runtimes: {args.runtime}')
# convert to mapped dict
Expand All @@ -113,11 +142,22 @@ def main():

# loop over remaining runtimes to collect available pallets
for runtime in runtimesMatrix.values():
os.system(f"forklift cargo build -p {runtime['package']} --profile {profile} --features={runtime['bench_features']}")
build_command = f"forklift cargo build -p {runtime['package']} --profile {profile} --features={runtime['bench_features']}"
print(f'-- building "{runtime["name"]}" with `{build_command}`')
os.system(build_command)
print(f'-- listing pallets for benchmark for {runtime["name"]}')
wasm_file = f"target/{profile}/wbuild/{runtime['package']}/{runtime['package'].replace('-', '_')}.wasm"
output = os.popen(
f"frame-omni-bencher v1 benchmark pallet --no-csv-header --no-storage-info --no-min-squares --no-median-slopes --all --list --runtime={wasm_file} {runtime['bench_flags']}").read()
list_command = f"frame-omni-bencher v1 benchmark pallet " \
f"--no-csv-header " \
f"--no-storage-info " \
f"--no-min-squares " \
f"--no-median-slopes " \
f"--all " \
f"--list " \
f"--runtime={wasm_file} " \
f"{runtime['bench_flags']}"
print(f'-- running: {list_command}')
output = os.popen(list_command).read()
raw_pallets = output.strip().split('\n')

all_pallets = set()
Expand Down Expand Up @@ -230,6 +270,149 @@ def main():
print_and_log('✅ Successful benchmarks of runtimes/pallets:')
for runtime, pallets in successful_benchmarks.items():
print_and_log(f'-- {runtime}: {pallets}')

if args.command == 'bench':
runtime_pallets_map = {}
failed_benchmarks = {}
successful_benchmarks = {}

profile = "production"

print(f'Provided runtimes: {args.runtime}')
# convert to mapped dict
runtimesMatrix = list(filter(lambda x: x['name'] in args.runtime, runtimesMatrix))
runtimesMatrix = {x['name']: x for x in runtimesMatrix}
print(f'Filtered out runtimes: {runtimesMatrix}')

# loop over remaining runtimes to collect available pallets
for runtime in runtimesMatrix.values():
build_command = f"forklift cargo build -p {runtime['old_package']} --profile {profile} --features={runtime['bench_features']} --locked"
print(f'-- building {runtime["name"]} with `{build_command}`')
os.system(build_command)

chain = runtime['name'] if runtime['name'] == 'dev' else f"{runtime['name']}-dev"

machine_test = f"target/{profile}/{runtime['old_bin']} benchmark machine --chain={chain}"
print(f"Running machine test for `{machine_test}`")
os.system(machine_test)

print(f'-- listing pallets for benchmark for {chain}')
list_command = f"target/{profile}/{runtime['old_bin']} " \
f"benchmark pallet " \
f"--no-csv-header " \
f"--no-storage-info " \
f"--no-min-squares " \
f"--no-median-slopes " \
f"--all " \
f"--list " \
f"--chain={chain}"
print(f'-- running: {list_command}')
output = os.popen(list_command).read()
raw_pallets = output.strip().split('\n')

all_pallets = set()
for pallet in raw_pallets:
if pallet:
all_pallets.add(pallet.split(',')[0].strip())

pallets = list(all_pallets)
print(f'Pallets in {runtime["name"]}: {pallets}')
runtime_pallets_map[runtime['name']] = pallets

print(f'\n')

# filter out only the specified pallets from collected runtimes/pallets
if args.pallet:
print(f'Pallets: {args.pallet}')
new_pallets_map = {}
# keep only specified pallets if they exist in the runtime
for runtime in runtime_pallets_map:
if set(args.pallet).issubset(set(runtime_pallets_map[runtime])):
new_pallets_map[runtime] = args.pallet

runtime_pallets_map = new_pallets_map

print(f'Filtered out runtimes & pallets: {runtime_pallets_map}\n')

if not runtime_pallets_map:
if args.pallet and not args.runtime:
print(f"No pallets {args.pallet} found in any runtime")
elif args.runtime and not args.pallet:
print(f"{args.runtime} runtime does not have any pallets")
elif args.runtime and args.pallet:
print(f"No pallets {args.pallet} found in {args.runtime}")
else:
print('No runtimes found')
sys.exit(1)

for runtime in runtime_pallets_map:
for pallet in runtime_pallets_map[runtime]:
config = runtimesMatrix[runtime]
header_path = os.path.abspath(config['header'])
template = None

chain = config['name'] if runtime == 'dev' else f"{config['name']}-dev"

print(f'-- config: {config}')
if runtime == 'dev':
# to support sub-modules (https://github.com/paritytech/command-bot/issues/275)
search_manifest_path = f"cargo metadata --locked --format-version 1 --no-deps | jq -r '.packages[] | select(.name == \"{pallet.replace('_', '-')}\") | .manifest_path'"
print(f'-- running: {search_manifest_path}')
manifest_path = os.popen(search_manifest_path).read()
if not manifest_path:
print(f'-- pallet {pallet} not found in dev runtime')
if args.fail_fast:
print_and_log(f'Error: {pallet} not found in dev runtime')
sys.exit(1)
package_dir = os.path.dirname(manifest_path)
print(f'-- package_dir: {package_dir}')
print(f'-- manifest_path: {manifest_path}')
output_path = os.path.join(package_dir, "src", "weights.rs")
template = config['template']
else:
default_path = f"./{config['path']}/src/weights"
xcm_path = f"./{config['path']}/src/weights/xcm"
output_path = default_path
if pallet.startswith("pallet_xcm_benchmarks"):
template = config['template']
output_path = xcm_path

print(f'-- benchmarking {pallet} in {runtime} into {output_path}')
cmd = f"target/{profile}/{config['old_bin']} benchmark pallet " \
f"--extrinsic=* " \
f"--chain={chain} " \
f"--pallet={pallet} " \
f"--header={header_path} " \
f"--output={output_path} " \
f"--wasm-execution=compiled " \
f"--steps=50 " \
f"--repeat=20 " \
f"--heap-pages=4096 " \
f"{f'--template={template} ' if template else ''}" \
f"--no-storage-info --no-min-squares --no-median-slopes "
print(f'-- Running: {cmd} \n')
status = os.system(cmd)

if status != 0 and args.fail_fast:
print_and_log(f'❌ Failed to benchmark {pallet} in {runtime}')
sys.exit(1)

# Otherwise collect failed benchmarks and print them at the end
# push failed pallets to failed_benchmarks
if status != 0:
failed_benchmarks[f'{runtime}'] = failed_benchmarks.get(f'{runtime}', []) + [pallet]
else:
successful_benchmarks[f'{runtime}'] = successful_benchmarks.get(f'{runtime}', []) + [pallet]

if failed_benchmarks:
print_and_log('❌ Failed benchmarks of runtimes/pallets:')
for runtime, pallets in failed_benchmarks.items():
print_and_log(f'-- {runtime}: {pallets}')

if successful_benchmarks:
print_and_log('✅ Successful benchmarks of runtimes/pallets:')
for runtime, pallets in successful_benchmarks.items():
print_and_log(f'-- {runtime}: {pallets}')

elif args.command == 'fmt':
command = f"cargo +nightly fmt"
Expand Down
Loading
Loading