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.31 #76

Merged
merged 173 commits into from
Dec 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
021f712
Update contract weights (#12192)
athei Sep 7, 2022
5e2ffeb
Move Get and bounded types to sp-core (#12203)
KiChjang Sep 7, 2022
c0e1cdb
Add `--header` to `benchmark overhead + storage` (#12204)
ggwpez Sep 7, 2022
2619394
Remove Ord impl for Weights V2 and add comparison fns (#12183)
KiChjang Sep 8, 2022
8075aa4
pallet-identity: Be more paranoid ;) (#12170)
bkchr Sep 8, 2022
e202092
Upgrade wasmtime to 0.40.0 (#12096)
bkchr Sep 8, 2022
0478535
Use parameter_types instead of thread_local for test-setup (#12036)
tifecool Sep 8, 2022
cd66db5
Fully remove `rusty-cachier` from the `node-bench-regression-guard` j…
rcny Sep 8, 2022
b8c3d8c
Upgrade wasm crate dependencies (#12173)
athei Sep 8, 2022
f9fdee1
Removing without_storage_info from scored-pool pallet. (#11996)
hbulgarini Sep 8, 2022
c8bfc91
Update ss58-registry (#12220)
MOZGIII Sep 8, 2022
5a48536
Add missing metadata specs to crate manifests (#12221)
Sep 8, 2022
51f60d0
construct_runtime: Fix generation of types behind features (#12229)
bkchr Sep 10, 2022
7de3d78
Remove native call (#12201)
bkchr Sep 12, 2022
d5de897
Fuzz testing for nomination pools (#12002)
kianenigma Sep 12, 2022
c997a62
Add `ConstFeeMultiplier` to the transaction payment pallet (#12222)
mrshiposha Sep 12, 2022
7cb78ff
Don't run `cargo-check-benches` for `master` based downstream staging…
rcny Sep 12, 2022
dd1f1b5
Expose some of the staking miner types over metadata (#12245)
kianenigma Sep 12, 2022
f1c60e5
extract some grandpa types to Primitives crate (#12208)
yjhmelody Sep 12, 2022
5527263
BREAKING: Rename Call & Event (#11981)
Szegoo Sep 12, 2022
379813c
Update README (#12247)
nuke-web3 Sep 13, 2022
5daa20c
Add inspect trait for asset roles (#11738)
girazoki Sep 13, 2022
c1103fd
Move bitswap to its own crate (#12242)
altonen Sep 13, 2022
9df9448
benches: disable caching per default (#12232)
ggwpez Sep 13, 2022
bb7fb64
Make `BasePath::new_temp_dir` return the same path for the program li…
bkchr Sep 13, 2022
3449fb0
Remove CanAuthorWith trait (#12213)
michalkucharczyk Sep 13, 2022
23bb5a6
Create sp-weights crate to store weight primitives (#12219)
KiChjang Sep 13, 2022
b5e2542
fix sp-weight std (#12265)
shawntabrizi Sep 14, 2022
7c2c0c1
Improve base weights consistency and make sure they're never zero (#1…
koute Sep 14, 2022
dc22e48
Fix Rust features (#11976)
ggwpez Sep 14, 2022
1dcb9ce
Clean up the logging output (#12253)
bkchr Sep 14, 2022
fd54957
Bump wasm-instrument (#12234)
athei Sep 15, 2022
3bef1ba
Include Bitswap into request response protocols (#12262)
altonen Sep 15, 2022
12b5b5a
Use `--locked` for Cargo in CI everywhere (#12270)
rcny Sep 15, 2022
8bd5510
Replace 'blake2-rfc' with rust-crypto 'blake2' crate (#12266)
davxy Sep 15, 2022
21adbaf
Expose tracks as a constant. (#12273)
gavofyork Sep 15, 2022
d65f4bb
client/beefy: fix voter initialization (#12274)
acatangiu Sep 16, 2022
7202ca6
Fix warp sync (#12281)
arkpar Sep 16, 2022
4d04aba
Add special tag to exclude runtime storage items from benchmarking (#…
sam0x17 Sep 16, 2022
03eb807
[Feature] Part 1: add TargetList for validator ranking (#12034)
ruseinov Sep 18, 2022
91b97b0
[Fix] Benchmark issue in staking (#12290)
ruseinov Sep 18, 2022
ee3c159
support upgrade hooks to directly pass data (#12185)
NingLin-P Sep 19, 2022
b541b2d
contracts: Use `WeakBoundedVec` for instrumented code (#12186)
athei Sep 19, 2022
c24431e
Fix CI (#12297)
ggwpez Sep 19, 2022
df3722c
Fix `cargo-check-benches` job (#12301)
rcny Sep 20, 2022
625de4f
[ci] Revert cancel-pipeline job (#12309)
alvicsam Sep 20, 2022
e7c515d
Proper naming wrt expectations (#12311)
sandreim Sep 20, 2022
97ad64b
Import target block body during warp sync (#12300)
dmitry-markin Sep 20, 2022
de5a7f6
rpc: Implement `chainSpec` RPC API (#12261)
lexnv Sep 20, 2022
006dbc0
Use temporary db for benchmarking (#12254)
michalkucharczyk Sep 20, 2022
a47f200
BREAKING: Rename Origin (#12258)
Szegoo Sep 20, 2022
409167e
Use `array-bytes` for All Array/Bytes/Hex Operations (#12190)
aurexav Sep 21, 2022
4e53bdc
Bound staking storage items (#12230)
Ank4n Sep 21, 2022
9df7ac8
Introduce 'intermediate_insert' method to hide implementation details…
davxy Sep 21, 2022
ae4ba19
Bump `wasmtime` to 1.0.0 (#12317)
koute Sep 21, 2022
be97615
Format templates and fix `--steps` default value (#12286)
ggwpez Sep 21, 2022
493b58b
Make automatic storage deposits resistant against changing deposit pr…
athei Sep 21, 2022
1253de6
pallet-utility: Disallow none origin (#12321)
bkchr Sep 22, 2022
cc4d5cc
Migrate remaining old decl_* macros to the new pallet attribute macro…
koushiro Sep 22, 2022
1f720c1
Rename anonymous to pure proxy (#12283)
shawntabrizi Sep 22, 2022
bffd6a3
Fast Unstake Pallet (#12129)
kianenigma Sep 23, 2022
397da27
bench: Use `_` instead of `::` in auto-generated file names (#12332)
ggwpez Sep 23, 2022
8161ee1
[Feature] Sequential migration execution for try-runtime (#12319)
ruseinov Sep 23, 2022
b34936a
[Fix] parameter_types! dead code errors (#12340)
ruseinov Sep 23, 2022
ffcd523
Independence of Slot-based algorithms from system Timestamp (#12224)
davxy Sep 23, 2022
fb77921
Const impls of base arithmetics for `Weights` with `u64` (#12322)
mustermeiszer Sep 24, 2022
9476d21
Add base-weight to `System::Extrinsic*` events (#12329)
ggwpez Sep 24, 2022
d0214e7
re add the migration checks for staking (#12330)
Ank4n Sep 24, 2022
4219b3a
Allow specifying immediate finalize for `manual-seal` (#12106)
cmichi Sep 25, 2022
badc92a
Removed OuterCall alias & doc fixes (#12349)
Szegoo Sep 25, 2022
fbd7e5a
[Enhancement] Remove optional Pool subscription from fast-unstake (#1…
ruseinov Sep 26, 2022
a0ec652
Remove discarded blocks and states from database by default (#11983)
hzy1919 Sep 26, 2022
0dbeaa0
re-export weight file for fast-unstsake pallet (#12352)
kianenigma Sep 26, 2022
f360c87
Move transactions protocol to its own crate (#12264)
altonen Sep 26, 2022
519fbaa
export more types from fast-untsake 🤦‍♂️ (#12353)
kianenigma Sep 27, 2022
1763ff2
Fix compilation on 1.66 nightly (#12363)
bkchr Sep 27, 2022
edca891
Relax Slots-based engines from Epochs (#12360)
davxy Sep 27, 2022
2a6c314
Pallet staking events to named enum (#12342)
Szegoo Sep 27, 2022
74daaf1
[fix] Bound staking ledger correctly with MaxUnlockingChunks from con…
Ank4n Sep 27, 2022
94b9646
[Feature] Add deposit to fast-unstake (#12366)
ruseinov Sep 27, 2022
2ee4cb4
Add missing CountedStorageMap in pallet::storage error info (#12356)
liuchengxu Sep 27, 2022
17c07af
Add storage size component to weights (#12277)
KiChjang Sep 28, 2022
01a905e
pallet-utility: Only disallow the `None` origin (#12351)
bkchr Sep 28, 2022
1b1a5e1
Fix staking migration (#12373)
ggwpez Sep 28, 2022
0ec4373
Support running the pallet benchmarks analysis without running the be…
koute Sep 28, 2022
d66adfa
fix: typo in AllPalletsWithSystem deprecated msg (#12379)
Sep 28, 2022
96de768
New Pallet: Root offences (#11943)
Szegoo Sep 28, 2022
e7f994d
bounding staking: `BoundedElectionProvider` trait (#12362)
Ank4n Sep 28, 2022
427fd09
BEEFY: impl TypeInfo for SignedCommitment (#12382)
serban300 Sep 29, 2022
61b9a4d
Properly set the max proof size weight on defaults and tests (#12383)
KiChjang Sep 29, 2022
c2026ca
Carry over where clauses defined in Config to Call and Hook (#12388)
KiChjang Sep 30, 2022
dbb72f3
unsafe_pruning flag removed (#12385)
michalkucharczyk Sep 30, 2022
952030c
pallet-mmr: generate historical proofs (#12324)
serban300 Sep 30, 2022
37664fe
Remove contracts RPCs (#12358)
athei Oct 2, 2022
9472af8
Beefy on-demand justifications as a custom RequestResponse protocol (…
acatangiu Oct 3, 2022
2579550
Fix `Weight::is_zero` (#12396)
ggwpez Oct 3, 2022
1b23ec9
Remove unnecessary Clone trait bounds on CountedStorageMap (#12402)
KiChjang Oct 3, 2022
6d7f76b
docs/CODEOWNERS: add @acatangiu as MMR owner (#12406)
acatangiu Oct 4, 2022
594d71a
Add @koute to `docs/CODEOWNERS` and update stale paths (#12408)
koute Oct 4, 2022
e77cbe3
BEEFY: Simplify hashing for pallet-beefy-mmr (#12393)
serban300 Oct 4, 2022
0051950
client/beefy: small code improvements (#12414)
acatangiu Oct 4, 2022
07e5ec5
[Fix] Rename VoterBagsList -> VoterList to match pdot (#12416)
ruseinov Oct 4, 2022
d11dd02
Use saturating add for alliance::disband witness data (#12418)
muharem Oct 4, 2022
91d072d
Bump prost to 0.11+ (#12419)
chevdor Oct 4, 2022
241b0d0
Improved election pallet testing (#12327)
Szegoo Oct 4, 2022
7a8de49
Adapt `pallet-contracts` to WeightV2 (#12421)
athei Oct 5, 2022
2cd4088
MMR: impl `TypeInfo` for some structures (#12423)
serban300 Oct 5, 2022
4cd3248
Don't send back empty proofs if light request fails (#12372)
tomaka Oct 5, 2022
87224cf
Implement `Clone` and `Default` for `Config` (#12397)
s0me0ne-unkn0wn Oct 5, 2022
eefba93
Bound uses of `Call` (#11649)
gavofyork Oct 5, 2022
fc67cbb
update kvdb & co (#12312)
ordian Oct 5, 2022
f447bee
Use `Option<Weight>` for contract dry-runs (#12429)
athei Oct 6, 2022
3cb5a40
Add pluggable BEEFY payload constructors (#12428)
acatangiu Oct 6, 2022
a84def9
Maximum value for `MultiplierUpdate` (#12282)
Szegoo Oct 6, 2022
f77f788
macro stubs for all pallet:: macros to improve documentation visibili…
sam0x17 Oct 6, 2022
4a5a9de
Upgrade pin-project (#12426)
bkchr Oct 7, 2022
a8e951d
Extend the lower bounds of some of the benchmarks to also include `0`…
koute Oct 7, 2022
1a5cdc8
BEEFY: Define a `BeefyVerify` trait for signatures (#12299)
serban300 Oct 7, 2022
b7c0562
fix comment math (#12452)
nuke-web3 Oct 8, 2022
460fff9
Remove "to_block" field from BlockRequests (#12447)
tomaka Oct 8, 2022
73c4f94
Vesting pallet - make WithdrawReasons configurable (#12109)
Lezek123 Oct 9, 2022
0c1ccda
Move block announcement protocol config out of `Protocol` (#12441)
altonen Oct 10, 2022
df81976
Dont ignore errors in pallet benchmarking (#12449)
ggwpez Oct 10, 2022
9672c36
Update UI tests for Rust 1.64 (#12440)
rcny Oct 10, 2022
488fc24
rpc: Implement `transaction` RPC API (#12328)
lexnv Oct 11, 2022
60be7b8
Remove the unused light client requests (#12470)
tomaka Oct 11, 2022
6072b90
Fix flaky service test (#12472)
altonen Oct 11, 2022
1bf2e6d
Rename `from_components` to `from_parts` (#12473)
KiChjang Oct 11, 2022
ccc8f6c
Avoid Unstable Sort (#12455)
shawntabrizi Oct 11, 2022
94b731c
Finalized block event triggers tx maintanance (#12305)
michalkucharczyk Oct 11, 2022
88db102
tx-pool: failing tests fixed (#12481)
michalkucharczyk Oct 12, 2022
06a9f0a
Clarify the "direction" field of block requests (#12438)
tomaka Oct 12, 2022
f8a0b7a
BlockId::Number refactor: trivial changes to BlockId::Hash (#12471)
michalkucharczyk Oct 12, 2022
b324e51
Dont use benchmark range on constant functions (#12456)
shawntabrizi Oct 12, 2022
94941a8
Punish peers for duplicate GRANDPA neighbor messages (#12462)
dmitry-markin Oct 13, 2022
983b6b0
Introduce mockable `ChainSync` object for testing (#12480)
altonen Oct 13, 2022
1f39c90
pallet-mmr: RPC API and Runtime API work with block numbers (#12345)
Szegoo Oct 13, 2022
fd00b14
Enable the `wasmtime`-based WASM executor by default (#12486)
koute Oct 13, 2022
6e04e48
Trivial BlockId::Number => Hash (#12490)
michalkucharczyk Oct 13, 2022
f313987
BlockId removal: refactor: Backend::state_at (#12488)
michalkucharczyk Oct 14, 2022
0ee0327
Try-runtime CLI fix weight parsing (#12491)
ggwpez Oct 14, 2022
6f453b5
Export fn code_hash (#12479)
kvinwang Oct 17, 2022
30a7a5b
Introduce `ChainSyncInterface` (#12489)
altonen Oct 17, 2022
951f075
sp-api: Remove invalid unsafe trait bounds (#12502)
bkchr Oct 17, 2022
273e264
pallet-mmr: fix offchain db for sync from zero (#12498)
acatangiu Oct 17, 2022
acacb53
Fix: typo (#12505)
omahs Oct 17, 2022
444cf9d
Upgrade libp2p to 0.49.0 (#12256)
dmitry-markin Oct 17, 2022
ed2466e
Execute try-state at end of each test to ensure pallet data integrity…
Ank4n Oct 17, 2022
e8a4408
Bump clap to 4.0.x and adjust to best practices (#12381)
skunert Oct 18, 2022
b9a555d
implement storage decode length for BTreeSet (#12503)
dharjeezy Oct 18, 2022
415648d
Decrease default --out-peers from 25 to 15 (#12434)
tomaka Oct 18, 2022
4c45673
Prepare for latest clippy (nightly 09-10-2022) (#12466)
bkchr Oct 18, 2022
281bcd4
derive Serialize/Deserialize for BeefyAuthoritySet (#12516)
serban300 Oct 18, 2022
e34b840
BlockId removal: refactor: StorageProvider (#12510)
michalkucharczyk Oct 18, 2022
487ac5c
Use `ArgAction::Set` for enable-offchain-indexing flag (#12521)
skunert Oct 18, 2022
49734dd
frame/utils: introduce `substrate-rpc-client` crate for RPC utils (#1…
niklasad1 Oct 18, 2022
399ab89
Force base weights to be the minimum only when the intercept is negat…
koute Oct 20, 2022
7a4e516
Update `pallet-multisig` benches (#12558)
ggwpez Oct 26, 2022
7eab46f
resolve conflicts version 31
devdanco Nov 14, 2022
6304e5a
Update TargetedFeeAdjustment struct
devdanco Nov 18, 2022
1dfd9b4
Merge branch 'mangata-dev' into mangata-dev-v0.9.31
devdanco Nov 28, 2022
c2f6367
add feature to crate
devdanco Nov 28, 2022
1f23be6
update orml version in test
devdanco Nov 28, 2022
f61d829
remove unnecessary try-runtime feature
devdanco Nov 30, 2022
3696593
feat: resolve confclits and fix fmt
devdanco Dec 12, 2022
b31aa9d
fix: benchmarking types
devdanco Dec 13, 2022
7b6b521
Merge branch 'mangata-dev' into mangata-dev-v0.9.31
devdanco Dec 20, 2022
c5a1bbe
feat: resolve conflicts after storage queue
devdanco Dec 21, 2022
34c492c
fix: tests
devdanco Dec 21, 2022
a73d548
Added pre and post upgrade hooks for try0runtime and remove pallet-tr…
Dec 23, 2022
f84f481
Minor try-runtime bug
Dec 23, 2022
61bcb2e
fix: inject inherets
devdanco Dec 30, 2022
3d36c5e
update reference
devdanco Dec 31, 2022
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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ rustflags = [
"-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::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::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
]
16 changes: 13 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ workflow:
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH

variables: &default-vars
variables:
GIT_STRATEGY: fetch
GIT_DEPTH: 100
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -131,6 +131,18 @@ default:
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1

# handle the specific case where benches could store incorrect bench data because of the downstream staging runs
# exclude cargo-check-benches from such runs
.test-refs-check-benches:
rules:
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "parent_pipeline" && $CI_IMAGE =~ /staging$/
when: never
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1

.test-refs-no-trigger:
rules:
- if: $CI_PIPELINE_SOURCE == "pipeline"
Expand Down Expand Up @@ -266,8 +278,6 @@ rusty-cachier-notify:
PR_NUM: "${PR_NUM}"
trigger:
project: "parity/infrastructure/ci_cd/pipeline-stopper"
# remove branch, when pipeline-stopper for polakdot is updated to the same branch
branch: "as-improve"

# need to copy jobs this way because otherwise gitlab will wait
# for all 3 jobs to finish instead of cancelling if one fails
Expand Down
2 changes: 2 additions & 0 deletions .maintain/frame-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ 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 {
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
Weight::from_ref_time({{underscore benchmark.base_weight}} as u64)
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
Expand Down Expand Up @@ -99,6 +100,7 @@ impl WeightInfo for () {
{{~#each benchmark.components as |c| ~}}
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
) -> Weight {
// Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds.
Weight::from_ref_time({{underscore benchmark.base_weight}} as u64)
{{#each benchmark.component_weight as |cw|}}
// Standard Error: {{underscore cw.error}}
Expand Down
Loading