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

feat: 🔀 Merge upstream into wasmtime-precompile PR #14

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3576 commits
Select commit Hold shift + click to select a range
13d3f58
Bump prost-build from 0.12.4 to 0.13.2 (#6144)
dependabot[bot] Oct 21, 2024
225536c
Bump the ci_dependencies group across 1 directory with 5 updates (#6035)
dependabot[bot] Oct 21, 2024
ee803b7
runtime: remove ttl (#5461)
alindima Oct 21, 2024
03f1d2d
[pallet-nfts, pallet_uniques] - Expose private structs (#6087)
dudo50 Oct 21, 2024
d1cf996
[Backport] Version bumps from stable2409-1 (#6153)
EgorPopelyaev Oct 22, 2024
356386b
Fix TrustedQueryApi Error (#6170)
serban300 Oct 22, 2024
21930ed
[pallet-revive] Eth RPC integration (#5866)
pgherveou Oct 22, 2024
aeebf2f
[pallet-revive] fix fixture build path (#6174)
pgherveou Oct 22, 2024
77836cf
`fatxpool`: `LocalTransactionPool` implemented (#6104)
michalkucharczyk Oct 22, 2024
6418131
Use bool::then instead of then_some with function calls (#6156)
tmpolaczyk Oct 22, 2024
b4732ad
Assets in pool with native can be used in `query_weight_to_asset_fee`…
franciscoaguirre Oct 22, 2024
ed23182
[pallet-revive] Add pallet to AH westend (#5502)
pgherveou Oct 23, 2024
fc486e5
Polkadot OmniNode Docs (#6094)
kianenigma Oct 23, 2024
2324bd7
Fix `zombienet-bridges-0001-asset-transfer-works` (#6175)
serban300 Oct 24, 2024
d4b01ad
[pallet-revive] fix hardcoded gas in tests (#6192)
pgherveou Oct 24, 2024
b9c3172
Added Trusted Query API implementation for Westend and Rococo relay c…
x3c41a Oct 24, 2024
5682f9a
Snowbridge: PNA Audit Better Documentation and minor Refactorings (#6…
alistair-singh Oct 24, 2024
c0df223
Enable approval-voting-parallel by default on kusama (#6218)
alexggh Oct 24, 2024
68af85e
pallet macro: Support instantiable pallets in tasks (#5194)
gui1117 Oct 24, 2024
860d93b
Disable tests reported in #6062 (#6064)
pepoviola Oct 24, 2024
0596928
Fix a tiny typo (#6229)
jasl Oct 24, 2024
5d7181c
pallet-message-queue: Fix max message size calculation (#6205)
bkchr Oct 24, 2024
7e99621
`RuntimeGenesiConfig`: json macro added (#5813)
michalkucharczyk Oct 25, 2024
5a14285
substrate-offchain: upgrade hyper to v1 (#5919)
ShoyuVanilla Oct 25, 2024
0796326
pallet-revive: Add stateful address mapping (#6096)
athei Oct 25, 2024
efd6603
Fix migrations for pallet-xcm (#6148)
bkontur Oct 25, 2024
a072ce8
asset-hubs: simplify xcm-config (#6222)
acatangiu Oct 25, 2024
4c618a8
Switch node side to v2 candidate receipts (#5679)
sandreim Oct 25, 2024
df66d76
Fix a flaky zombienet test - 0004-coretime-smoke-test (#6236)
tdimitrov Oct 28, 2024
935eeb5
fix experimental-ump-signals tests (#6214)
alindima Oct 28, 2024
8590122
remove parachains_assigner code (#6171)
alindima Oct 28, 2024
58fd5ae
[pallet-revive] Add Ethereum JSON-RPC server (#6147)
pgherveou Oct 28, 2024
7e87654
[pallet-revive] Update typeInfo (#6263)
pgherveou Oct 28, 2024
54c19f5
pallet-revive: Trade code size for call stack depth (#6264)
athei Oct 28, 2024
35535ef
[pallet-revive] implement tx origin API (#6105)
xermicus Oct 29, 2024
9584dbd
Use frame umbrella crate in `pallet-proxy` and `pallet-multisig` (#5995)
kianenigma Oct 29, 2024
1497635
Migrate pallet-vesting benchmark to v2 (#6254)
aurexav Oct 29, 2024
80cd5fd
Migrate pallet-timestamp benchmark to v2 (#6258)
aurexav Oct 29, 2024
cc4fe1e
[Identity] Decouple usernames from identities (#5554)
georgepisaltu Oct 29, 2024
db40a66
pallet-revive: Use custom target to build test fixtures (#6266)
athei Oct 29, 2024
5e8a96a
Fix review in #6258 (#6275)
aurexav Oct 29, 2024
a42dcbf
Refactor `pallet-grandpa` to use `v2` benchmarks (#6073)
rockbmb Oct 29, 2024
3d50716
[pallet-revive] rpc server add docker file (#6278)
pgherveou Oct 30, 2024
4e24733
Bump a timeout in zombienet coretime smoke test (#6268)
tdimitrov Oct 30, 2024
06debd0
Migrate pallet-utility to benchmark v2 (#6276)
aurexav Oct 30, 2024
6f96f72
[ci] Add publish docker for eth-rpc (#6286)
alvicsam Oct 30, 2024
40547f9
Add overhead benchmark to frame-omni-bencher (#5891)
skunert Oct 30, 2024
7aa3143
[pallet-revive] code size API (#6260)
xermicus Oct 30, 2024
01936b3
Publish `polkadot-omni-node` binary (#6057)
serban300 Oct 30, 2024
2b6b696
[pallet-revive] implement the block hash API (#6246)
xermicus Oct 30, 2024
5f782a4
[pallet-revive] Add metrics to eth-rpc (#6288)
pgherveou Oct 30, 2024
dd9924f
Remove `riscv` feature flag (#6305)
athei Oct 31, 2024
2700dbf
`candidate-validation`: RFC103 implementation (#5847)
sandreim Oct 31, 2024
fa52407
Update Treasury to Support Relay Chain Block Number Provider (#3970)
shawntabrizi Nov 1, 2024
68e0563
collation-generation: use v2 receipts (#5908)
alindima Nov 4, 2024
7f80f45
[eth-rpc] Fixes (#6317)
pgherveou Nov 4, 2024
657b550
Refactor pallet `claims` (#6318)
re-gius Nov 4, 2024
2a84917
templates: make node compilation optional (#5954)
iulianbarbu Nov 4, 2024
f4ded5c
Migrate pallet-glutton benchmark to v2 (#6296)
aurexav Nov 4, 2024
9353a28
Migrate pallet-election-provider-multi-phase benchmark to v2 and impr…
aurexav Nov 4, 2024
f4133b0
fix claim queue size (#6257)
alindima Nov 4, 2024
8b6f815
Bump the ci_dependencies group across 1 directory with 3 updates (#6340)
dependabot[bot] Nov 4, 2024
b326540
inclusion emulator: correctly handle UMP signals (#6178)
sandreim Nov 4, 2024
b1084e7
migrate pallet-recovery to benchmark V2 syntax (#6299)
clangenb Nov 4, 2024
028e61b
Disable flaky tests reported in #6343 / #6345 (#6346)
pepoviola Nov 4, 2024
38cd03c
`statement-distribution`: RFC103 implementation (#5883)
sandreim Nov 4, 2024
d69a80e
[pallet-revive] rework balance transfers (#6187)
xermicus Nov 4, 2024
f1e416a
Silent annoying log (#6351)
s0me0ne-unkn0wn Nov 4, 2024
2ae79be
Bounty Pallet: add `approve_bounty_with_curator` call to `bounties` p…
davidk-pt Nov 5, 2024
762f824
authority-discovery: Populate DHT records with public listen addresse…
lexnv Nov 5, 2024
6969be3
snowbridge: allow account conversion for Ethereum accounts (#6221)
acatangiu Nov 5, 2024
ec61396
Remove leftover references of Wococo (#6361)
acatangiu Nov 5, 2024
3c6ea86
migrate pallet-remarks to v2 bench syntax (#6291)
clangenb Nov 5, 2024
be26d62
[pallet-staking] Additional check for virtual stakers (#5985)
Ank4n Nov 5, 2024
94389a9
litep2p: Update litep2p to v0.8.0 (#6353)
lexnv Nov 5, 2024
74ec1ee
refactor and harden check_core_index (#6217)
alindima Nov 5, 2024
7725890
[Deprecation] deprecate treasury `spend_local` call and related items…
davidk-pt Nov 5, 2024
16e877b
Run check semver in MQ (#6287)
alvicsam Nov 5, 2024
c4ef438
Bump the known_good_semver group across 1 directory with 3 updates (#…
dependabot[bot] Nov 5, 2024
32e116a
[Release|CI/CD] adjust release pipelines (#6366)
EgorPopelyaev Nov 5, 2024
76f297d
[eth-rpc] proxy /health (#6360)
pgherveou Nov 5, 2024
6f078d1
pallet-revive: Use `RUSTUP_TOOLCHAIN` if set (#6365)
athei Nov 5, 2024
8b6c6eb
Migrate pallet-im-online benchmark to v2 (#6295)
aurexav Nov 5, 2024
52a7325
Fix statement distribution benchmark (#6369)
sandreim Nov 5, 2024
c5444f3
Remove `sp_runtime::RuntimeString` and replace with `Cow<'static, str…
nazar-pc Nov 5, 2024
b667c27
`chain-spec-builder`: info about patch/full files added (#6373)
michalkucharczyk Nov 5, 2024
a479161
pallet-child-bounties index child bounty by parent bounty (#6255)
davidk-pt Nov 6, 2024
ccb2a88
litep2p/peerset: Do not disconnect all peers on `SetReservedPeers` co…
lexnv Nov 6, 2024
d1620f0
polkadot-service: Fix flaky tests (#6376)
bkchr Nov 6, 2024
c81569e
Don't expose metadata for Runtime APIs that haven't been implemented …
jsdw Nov 6, 2024
6170c37
[Release|CI/CD] Fix GH_TOKEN owner (#6381)
EgorPopelyaev Nov 6, 2024
67394cd
collator protocol: validate descriptor version on the validator side …
alindima Nov 6, 2024
a1aa71e
sp-api: `impl_runtime_apis!` replace the use of `Self` as a type argu…
dastansam Nov 6, 2024
86e1e38
Fix #6102 (#6384)
eskimor Nov 6, 2024
c1238b6
pallet-revive: The fixtures are only required for benchmarking (#6385)
bkchr Nov 6, 2024
85521e8
XCM v5 (#4826)
franciscoaguirre Nov 6, 2024
1f381f6
[Pools] New runtime api that returns the pot accounts associated with…
Ank4n Nov 6, 2024
27bf54b
Bump futures from 0.3.30 to 0.3.31 (#6252)
dependabot[bot] Nov 7, 2024
1d351bf
Migrate pallet-election-provider-support-benchmarking benchmark to v2…
aurexav Nov 7, 2024
ec77843
fix shared-core-idle-parachain flaky test (#6387)
alindima Nov 7, 2024
3c7b9a0
substrate/zombienet: Fix 0002-validators-warp-sync (#6379)
lexnv Nov 7, 2024
12d9052
Syncing strategy refactoring (part 3) (#5737)
nazar-pc Nov 7, 2024
8c146a7
[pallet-staking] Add page info to `PayoutStarted` event (#5984)
Ank4n Nov 7, 2024
bb8c7a3
net/discovery: Do not propagate external addr with different peerIDs …
lexnv Nov 7, 2024
6c8a347
PVF: drop backing jobs if it is too late (#5616)
AndreiEres Nov 7, 2024
1100c18
[Release|CI/CD] Add node version to deb package version (#6399)
EgorPopelyaev Nov 7, 2024
566706d
gensis-config: patching default `RuntimeGenesisConfig` fixed (#6382)
michalkucharczyk Nov 7, 2024
65e7972
Add missing events to identity pallet (#6261)
rockbmb Nov 7, 2024
8795ae6
Add networking benchmarks for libp2p (#6077)
AndreiEres Nov 7, 2024
2680f20
make prospective-parachains debug logs less spammy (#6406)
alindima Nov 7, 2024
c4e94d3
Migrate pallet-elections-phragmen benchmark to v2 and improve doc (#6…
aurexav Nov 7, 2024
0e09ad4
Expose more syncing types to enable custom syncing strategy (#6163)
liuchengxu Nov 7, 2024
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
b5fd357
fix: ➖ Remove use of `log` in favour of `tracing` in `sc-executor`
ffarall Dec 3, 2024
e6e5fae
fix: 🚨 Fix `node-cli` build for missing parameter added to `cmd.run()`
ffarall Dec 3, 2024
acb95bd
fix: :adhesive_bandage: Fix doc for `wasmtime-precompiled` argument
ffarall Dec 3, 2024
41a5d8e
`fatxpool`: handling limits and priorities improvements (#6405)
michalkucharczyk Dec 3, 2024
8fe1a28
fix: :adhesive_bandage: Avoid looping through precompiles directory a…
ffarall Dec 3, 2024
266c4a2
docs: :bulb: Comment fixes and clarifying which WASM code is precompiled
ffarall Dec 3, 2024
1bdf7a7
fix: :adhesive_bandage: Use configured hasher instead of blake2 always
ffarall Dec 3, 2024
1535d1a
fix: :adhesive_bandage: Error out if chainspec does not contain `:cod…
ffarall Dec 3, 2024
5d36bd4
feat: :sparkles: Add parser to CLI path arguments to check that they …
ffarall Dec 3, 2024
d45574e
fix: :adhesive_bandage: Change `with_wasmtime_precompiled_path` to `w…
ffarall Dec 3, 2024
8a7442d
fix: :bulb: Improve doc comments
ffarall Dec 3, 2024
9a4b02b
fix: :adhesive_bandage: Write directly to file instead of creating it…
ffarall Dec 4, 2024
57392f0
style: :art: Apply `cargo fmt`
ffarall Dec 4, 2024
d43c240
Merge remote-tracking branch 'upstream/master' into facu-wasmtime-pre…
ffarall Dec 4, 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
f019ada
fix: :rotating_light: Post merge compile error fixes
ffarall Dec 4, 2024
2779043
[CI/CD] Fix permissions issue in the backport to stable flow (#6754)
EgorPopelyaev Dec 4, 2024
0f086af
fix: :rotating_light: Compiler error fixes after merge
ffarall Dec 4, 2024
9353409
style: :art: Apply `cargo fmt`
ffarall Dec 4, 2024
e796a53
feat: :sparkles: Add `precompile-wasm` subcommand to parachain and mi…
ffarall Dec 4, 2024
3e68a6b
Merge remote-tracking branch 'upstream/master' into facu-wasmtime-pre…
ffarall Dec 4, 2024
4415a3f
fix: :rotating_light: Update Cargo.lock after merge
ffarall Dec 4, 2024
8c3c7e5
Merge remote-tracking branch 'origin/elois-wasmtime-precompiled' into…
ffarall Dec 4, 2024
e6bbcea
fix: :rotating_light: Fix Cargo.lock after merge
ffarall Dec 4, 2024
37e176a
fix: :rotating_light: Fix unused import
ffarall Dec 5, 2024
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
42 changes: 10 additions & 32 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,11 @@
#
# An auto defined `clippy` feature was introduced,
# but it was found to clash with user defined features,
# so was renamed to `cargo-clippy`.
#
# If you want standard clippy run:
# RUSTFLAGS= cargo clippy
[target.'cfg(feature = "cargo-clippy")']
rustflags = [
"-Aclippy::all",
"-Dclippy::correctness",
"-Aclippy::if-same-then-else",
"-Aclippy::clone-double-ref",
"-Dclippy::complexity",
"-Aclippy::zero-prefixed-literal", # 00_1000_000
"-Aclippy::type_complexity", # raison d'etre
"-Aclippy::nonminimal-bool", # maybe
"-Aclippy::borrowed-box", # Reasonable to fix this one
"-Aclippy::too-many-arguments", # (Turning this on would lead to)
"-Aclippy::unnecessary_cast", # Types may change
"-Aclippy::identity-op", # One case where we do 0 +
"-Aclippy::useless_conversion", # Types may change
"-Aclippy::unit_arg", # styalistic.
"-Aclippy::option-map-unit-fn", # styalistic
"-Aclippy::bind_instead_of_map", # styalistic
"-Aclippy::erasing_op", # E.g. 0 * DOLLARS
"-Aclippy::eq_op", # In tests we test equality.
"-Aclippy::while_immutable_condition", # false positives
"-Aclippy::needless_option_as_deref", # false positives
"-Aclippy::derivable_impls", # false positives
"-Aclippy::stable_sort_primitive", # prefer stable sort
"-Aclippy::extra-unused-type-parameters", # stylistic
[build]
rustdocflags = [
"-Dwarnings",
"-Arustdoc::redundant_explicit_links", # stylistic
]

[env]
# Needed for musl builds so user doesn't have to install musl-tools.
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 }
7 changes: 7 additions & 0 deletions .cargo/musl-g++
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

# Wrapper for building with musl.
#
# See comments for musl-gcc in this repo.

g++ "$@"
13 changes: 13 additions & 0 deletions .cargo/musl-gcc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

# Wrapper for building with musl.
#
# musl unfortunately requires a musl-enabled C compiler (musl-gcc) to be
# installed, which can be kind of a pain to get installed depending on the
# distro. That's not a very good user experience.
#
# The real musl-gcc wrapper sets the correct system include paths for linking
# with musl libc library. Since this is not actually used to link any binaries
# it should most likely work just fine.

gcc "$@"
59 changes: 59 additions & 0 deletions .config/lychee.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Config file for lychee link checker: <https://github.com/lycheeverse/lychee>
# Run with `lychee -c .config/lychee.toml ./**/*.rs ./**/*.prdoc`

cache = true
max_cache_age = "10d"
max_redirects = 10
max_retries = 3

# Exclude localhost et.al.
exclude_all_private = true

# Treat these codes as success condition:
accept = [
# Ok
"200",

# Rate limited - GitHub likes to throw this.
"429",
]

exclude_path = [
"./prdoc",
"./target",
]

exclude = [
# Place holders (no need to fix these):
"http://visitme/",
"https://visitme/",

# TODO <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/",
"https://github.com/paritytech/polkadot-sdk/substrate/frame/timestamp",
"https://github.com/paritytech/substrate/frame/fast-unstake",
"https://github.com/zkcrypto/bls12_381/blob/e224ad4ea1babfc582ccd751c2bf128611d10936/src/test-data/mod.rs",
"https://polkadot.network/the-path-of-a-parachain-block/",
"https://research.web3.foundation/en/latest/polkadot/NPoS/3.%20Balancing.html",
"https://research.web3.foundation/en/latest/polkadot/Token%20Economics.html#inflation-model",
"https://research.web3.foundation/en/latest/polkadot/networking/3-avail-valid.html#topology",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html#inflation-model",
"https://research.web3.foundation/en/latest/polkadot/slashing/npos.html",
"https://rpc.polkadot.io/",
"https://try-runtime.polkadot.io/",
"https://w3f.github.io/parachain-implementers-guide/node/approval/approval-distribution.html",
"https://w3f.github.io/parachain-implementers-guide/node/index.html",
"https://w3f.github.io/parachain-implementers-guide/protocol-chain-selection.html",
"https://w3f.github.io/parachain-implementers-guide/runtime/session_info.html",

# Behind a captcha (code 403):
"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/",
"https://substrate.stackexchange.com/.*",
]
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'
42 changes: 42 additions & 0 deletions .config/taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# all options https://taplo.tamasfe.dev/configuration/formatter-options.html

# ignore zombienet as they do some deliberate custom toml stuff
exclude = [
"bridges/testing/**",
"cumulus/zombienet/**",
"polkadot/node/malus/integrationtests/**",
"polkadot/zombienet_tests/**",
"substrate/zombienet/**",
"target/**",
]

# global rules
[formatting]
reorder_arrays = true
inline_table_expand = false
array_auto_expand = false
array_auto_collapse = false
indent_string = " " # tab

# don't re-order order-dependent deb package metadata
[[rule]]
include = ["polkadot/Cargo.toml"]
keys = ["package.metadata.deb"]

[rule.formatting]
reorder_arrays = false

# don't re-order order-dependent rustflags
[[rule]]
include = [".cargo/config.toml"]
keys = ["build"]

[rule.formatting]
reorder_arrays = false

[[rule]]
include = ["Cargo.toml"]
keys = ["workspace.dependencies"]

[rule.formatting]
reorder_keys = true
44 changes: 44 additions & 0 deletions .config/zepter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
version:
format: 1
# Minimum version of the binary that is expected to work. This is just for printing a nice error
# message when someone tries to use an older version.
binary: 0.13.2

# The examples in this file assume crate `A` to have a dependency on crate `B`.
workflows:
check:
- [
'lint',
# Check that `A` activates the features of `B`.
'propagate-feature',
# These are the features to check:
'--features=try-runtime,runtime-benchmarks,std',
# Do not try to add a new section into `[features]` of `A` only because `B` expose that feature. There are edge-cases where this is still needed, but we can add them manually.
'--left-side-feature-missing=ignore',
# Ignore the case that `A` it outside of the workspace. Otherwise it will report errors in external dependencies that we have no influence on.
'--left-side-outside-workspace=ignore',
# Some features imply that they activate a specific dependency as non-optional. Otherwise the default behaviour with a `?` is used.
'--feature-enables-dep=try-runtime:frame-try-runtime,runtime-benchmarks:frame-benchmarking',
# Auxillary flags:
'--offline',
'--locked',
'--show-path',
'--quiet',
]
# The umbrella crate uses more features, so we to check those too:
check_umbrella:
- [ $check.0, '--features=serde,experimental,runtime,with-tracing,tuples-96,with-tracing', '-p=polkadot-sdk' ]
# Same as `check_*`, but with the `--fix` flag.
default:
- [ $check.0, '--fix' ]
- [ $check_umbrella.0, '--fix' ]

# Will be displayed when any workflow fails:
help:
text: |
Polkadot-SDK uses the Zepter CLI to detect abnormalities in the feature configuration.
It looks like one more more checks failed; please check the console output. You can try to automatically address them by running `zepter`.
Otherwise please ask directly in the Merge Request, GitHub Discussions or on Matrix Chat, thank you.
links:
- "https://github.com/paritytech/polkadot-sdk/issues/1831"
- "https://github.com/ggwpez/zepter"
33 changes: 33 additions & 0 deletions .forklift/config-gitlab.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[compression]
type = "zstd"

[compression.zstd]
compressionLevel = 3

[general]
jobNameVariable = "CI_JOB_NAME"
jobsBlackList = []
logLevel = "warn"
threadsCount = 6

[cache]
extraEnv = ["RUNTIME_METADATA_HASH"]

[metrics]
enabled = true
pushEndpoint = "placeholder"

[metrics.extraLabels]
environment = "production"
job_name = "$CI_JOB_NAME"
project_name = "$CI_PROJECT_PATH"

[storage]
type = "s3"

[storage.s3]
accessKeyId = "placeholder"
bucketName = "placeholder"
concurrency = 10
endpointUrl = "placeholder"
secretAccessKey = "placeholder"
29 changes: 29 additions & 0 deletions .forklift/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[compression]
type = "zstd"

[compression.zstd]
compressionLevel = 3

[general]
jobNameVariable = "CI_JOB_NAME"
jobsBlackList = []
logLevel = "warn"
threadsCount = 6

[cache]
extraEnv = ["RUNTIME_METADATA_HASH"]

[metrics]
enabled = true
pushEndpoint = "placeholder"

[metrics.extraLabels]
environment = "production"
job_name = "$CI_JOB_NAME"
project_name = "$CI_PROJECT_PATH"

[storage]
type = "gcs"

[storage.gcs]
bucketName = "parity-ci-forklift"
5 changes: 3 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# - Multiple owners are supported.
# - Either handle (e.g, @github_user or @github/team) or email can be used. Keep in mind,
# that handles might work better because they are more recognizable on GitHub,
# eyou can use them for mentioning unlike an email.
# you can use them for mentioning unlike an email.
# - The latest matching rule, if multiple, takes precedence.

# CI
Expand Down Expand Up @@ -64,7 +64,8 @@
/substrate/primitives/merkle-mountain-range/ @acatangiu

# Contracts
/substrate/frame/contracts/ @athei @paritytech/docs-audit
/substrate/frame/contracts/ @paritytech/smart-contracts @paritytech/docs-audit
/substrate/frame/revive/ @paritytech/smart-contracts @paritytech/docs-audit

# NPoS and election
/substrate/frame/election-provider-multi-phase/ @paritytech/staking-core @paritytech/docs-audit
Expand Down
47 changes: 47 additions & 0 deletions .github/actions/build-push-image/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: 'build and push image'
inputs:
dockerfile:
description: "dockerfile to build"
required: true
image-name:
description: ""
required: true
outputs:
branch:
description: 'Branch name for the PR'
value: ${{ steps.branch.outputs.branch }}


runs:
using: "composite"
steps:

# gcloud
# https://github.com/paritytech/ci_cd/wiki/GitHub:-Push-Docker-image-to-GCP-Registry
- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v2"
- name: "gcloud info"
shell: bash
run: "gcloud info"
- name: "Auth in gcloud registry"
shell: bash
run: "gcloud auth configure-docker europe-docker.pkg.dev --quiet"

- name: build
shell: bash
env:
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.105"
run: |
export BRANCH_NAME=${{ github.head_ref || github.ref_name }}
export DOCKER_IMAGES_VERSION=${BRANCH_NAME/\//-}
if [[ ${{ github.event_name }} == "merge_group" ]]; then export DOCKER_IMAGES_VERSION="${GITHUB_SHA::8}"; fi
docker build \
--build-arg VCS_REF="${GITHUB_SHA}" \
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \
--build-arg IMAGE_NAME="${{ inputs.image-name }}" \
--build-arg ZOMBIENET_IMAGE="${ZOMBIENET_IMAGE}" \
-t "${{ inputs.image-name }}:$DOCKER_IMAGES_VERSION" \
-f ${{ inputs.dockerfile }} \
.
docker push "${{ inputs.image-name }}:$DOCKER_IMAGES_VERSION"

22 changes: 22 additions & 0 deletions .github/actions/cargo-check-runtimes/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'cargo check runtimes'
description: 'Runs `cargo check` for every directory in provided root.'
inputs:
root:
description: "Root directory. Expected to contain several cargo packages inside."
required: true
runs:
using: "composite"
steps:
- name: Check
shell: bash
run: |
mkdir -p ~/.forklift
cp .forklift/config.toml ~/.forklift/config.toml
cd ${{ inputs.root }}
for directory in $(echo */); do
echo "_____Running cargo check for ${directory} ______";
cd ${directory};
pwd;
SKIP_WASM_BUILD=1 forklift cargo check --locked;
cd ..;
done
Loading
Loading