Dependency (Substrate/Polkadot/Frontier/Cumulus/...) update to v0.9.40#2202
Dependency (Substrate/Polkadot/Frontier/Cumulus/...) update to v0.9.40#2202
Conversation
|
It seems to fail with |
|
I also tried |
|
build works now, but warp-sync still fails with: |
|
@girazoki the test for XCM fails The test is supposed to be computing the weight but I don't understand what it gets wrong |
This reverts commit 882b85e.
|
Coverage generated "Thu May 25 07:47:38 UTC 2023": Master coverage: 72.61% |
notlesh
left a comment
There was a problem hiding this comment.
LGTM. I'm concerned about some of the new proof_size benchmark values, do you think they might reduce block fullness if they are overestimates? (If they're underestimates, they're still better than 0...) See my other comment for more context.
| // Measured: `2479 + x * (79 ±0) + y * (38 ±0)` | ||
| // Estimated: `32988 + x * (405 ±0) + y * (195 ±0)` | ||
| // Minimum execution time: 94_976_000 picoseconds. | ||
| Weight::from_parts(83_764_148, 32988) |
There was a problem hiding this comment.
This storage_proof size is probably excessively high because it depends on at least one Vec in storage... eww.
There was a problem hiding this comment.
Notice that the generated code here has _ separators for time but not proof size. I'm guessing Parity doesn't have many benchmarks where proof_size > 999...
| return this; | ||
| } | ||
|
|
||
| // Add one or more `BuyExecution` instruction |
There was a problem hiding this comment.
| // Add one or more `BuyExecution` instruction | |
| // Add one or more `RefundSurplus` instruction(s) |
| .joinCandidates(MIN_GLMR_STAKING, maxDelegationsPerDelegator) | ||
| .signAsync(randomCandidate) | ||
| // We split the candidates since they won't fit in a single block | ||
| for (const randomCandidatesChunk of chunk(randomCandidates, 50)) { |
There was a problem hiding this comment.
This test always breaks, hopefully this alleviates that! 👍
| Weight::from_ref_time( | ||
| Weight::from_parts( | ||
| T::Erc20TransferGasLimit::get().saturating_mul(T::WeightPerGas::get().ref_time()), | ||
| 0, |
There was a problem hiding this comment.
Good catch, it's not good, I will fix that on a follow up PR
* update to v0.9.40 * update benchmarking weight template * fix build * make test compile * Includes page heap fixes * compile runtime-benchmarks * make warp sync work * toml sort * fix editorconfig * use new substrate version * fix warp sync * sort * fix --dev * remove duplicate SetMembersOrigin * toml-sort * remove kitchensink-runtime * fix builkd * use new weights * set manual weights for xcm fungible * use Weight::from_parts * use 0 pov_size for ref_time weight * update nimbus * exclude generated weight files from editorconfig * fmt * fmt * fix rust tests * fix import * fix tests * use Weight part pov_size to 0 * make dalek test work * fix transfer tests * use BoundedVec for auto compound delegations * fix modexp test * fix modexp test * fix tests * fix weight tests * fix staking tests via chunking * fix modexp test * fix lint and test * fix rust weight tests * fix partial ts tests * temp fix for xcm v2 * Fixes weight until benchmarking is fixed * set manual weight, fix ts tests * Adds temp hack for xcm tests * Use RefundSurplus as the no-op for saturating the queue, which does not have pov * Update evm to 0.39 * Revert "Update evm to 0.39" This reverts commit 882b85e. * upgrade polkadot for better support of xcm v2 * prettier * prettier * Revert temp fix for XCM weight * upgrade polkadot fork * Fixing hrmp-mock tests * clean up * prettier --------- Co-authored-by: crystalin <alan.sapede@gmail.com> Co-authored-by: librelois <c@elo.tf> Co-authored-by: girazoki <gorka.irazoki@gmail.com> Co-authored-by: tgmichel <telmo@purestake.com>
What does it do?
Important Changes
Substrate
pallet-random-collective-flipto Insecure... paritytech/substrate#13301pallet-randomness-collective-fliptopallet-insecure-randomness-collective-flipto state the fact that the pallet should not be used for production use-cases.sc-finality-grandpatosc-consensus-grandpaFungiblesAdapters support +WeightTrader::buy_weightmore accurate error paritytech/polkadot#6739MatchError::AssetNotFound>MatchError::AssetNotHandledSetMembersOriginnew typeSubmitOriginKeyIteratorsRework storage iterators paritytech/substrate#13284, Fix thestorage_size/state_getStorageSizeRPC call paritytech/substrate#13154storage_keys,storage_pairs,child_storage_keys.sc-network-commonback tosc-networkparitytech/substrate#13592sc-network-commonis moved tosc-networksc-networkparitytech/substrate#12828sc-networkCumulus
polkadot-serviceparitytech/cumulus#2287RelayChainError::ApplicationtoRelayChainError::ServiceError(affectsnimbus)Frontier