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

Update substrate and subxt #435

Merged
merged 14 commits into from
Oct 26, 2023
Merged

Update substrate and subxt #435

merged 14 commits into from
Oct 26, 2023

Conversation

JesseAbram
Copy link
Member

@JesseAbram JesseAbram commented Oct 18, 2023

  • Updates Substrate to v 1.0.0
  • updates subxt to match
  • updates get_all_keys to no longer require batching

Z4-involved
(paritytech/substrate#14084) contracts: switch to wasmi gas metering

Z3-substantial
(paritytech/substrate#14449) contracts: switch from parity-wasm-based to wasmi-based module validation

U1-asap
(paritytech/polkadot#7337) 98.6% OF DEVELOPERS CANNOT REVIEW THIS PR! [read more...]

T9-release
(paritytech/substrate#14738) Publish subkey

T8-release
(paritytech/polkadot#7358) sync master with 0.9.43
(paritytech/polkadot#7556) Publish RC container images
(paritytech/polkadot#7588) Don't publish test crates

T7-system_parachains
(paritytech/cumulus#2614) Update & revamp e2e tests
(paritytech/cumulus#2638) Glutton script chain spec generator
(paritytech/cumulus#2656) Add correct Sign Extensions to Glutton parachain
(paritytech/cumulus#2714) Add account nonce api to Glutton Parachain
(paritytech/cumulus#2800) Fix for xcm-emulator - Wrong Parachain processing message
(paritytech/cumulus#2812) Add Bridges to xcm-emulator
(paritytech/cumulus#2958) Replicate e2e integration test as emulated

T6-XCM
(paritytech/polkadot#7278) XCM: Fix issue with RequestUnlock
(paritytech/polkadot#7563) XcmContext to buy_weight / refund_weight
(paritytech/polkadot#7319) Add tests for PayOverXcm
(paritytech/cumulus#2680) companion for xcm alias origin

T5-parachains_protocol
(paritytech/polkadot#6667) runtime: past session slashing runtime API
(paritytech/polkadot#6811) dispute-coordinator: past session dispute slashing

T4-smart_contracts
(paritytech/substrate#14493) contracts: stabilize [seal0] instantiation_nonce()
(paritytech/substrate#14449) contracts: switch from parity-wasm-based to wasmi-based module validation
(paritytech/cumulus#2751) Add migration for substrate#14084

T4-parachains_engineering
(paritytech/polkadot#7246) PVF: Instantiate wasm in pre-checking
(paritytech/polkadot#7317) approval-distribution: Add approvals/assignments spans on all paths
(paritytech/polkadot#7335) metrics: Increase the resolution of histogram metrics
(paritytech/polkadot#7263) av-store: Move prune on a separate thread
(paritytech/polkadot#7214) Delay reputation updates
(paritytech/polkadot#7375) Wait peers to connect before doing anything else
(paritytech/polkadot#7330) PVF worker: Prevent access to env vars

T3-relay_chain
(paritytech/cumulus#2160) polkompanion 6667: past session slashing

T2-API
(paritytech/substrate#12984) Asset Conversion pallet
(paritytech/substrate#14244) RPC-Spec-V2: Rename runtimeUpdates flag to withRuntime
(paritytech/substrate#14267) sp-api: Make the generated code act based on std in sp-api
(paritytech/substrate#14551) chainHead_storage: Backport queries for value types
(paritytech/substrate#14628) chainHead_storage: Iterate over keys
(paritytech/substrate#14483) change HashFor to HashingFor
(paritytech/substrate#14654) chainHead: Sync events with spec
(paritytech/substrate#14692) chainHead: Produce method responses on chainHead_follow
(paritytech/substrate#14699) chainHead: Limit ongoing operations
(paritytech/substrate#14755) chainHead: Add support for storage pagination and cancellation
(paritytech/polkadot#6667) runtime: past session slashing runtime API
(paritytech/cumulus#2729) Add TransactionPaymentCallApi to Bridge Hubs
(paritytech/cumulus#2875) Rename squatted crates

T1-runtime
(paritytech/substrate#14214) pallet-merkle-mountain-range: Remove extra Hash type
(paritytech/substrate#13869) HoldReason: Improve usage
(paritytech/substrate#14210) Soft deprecate GenesisConfig
(paritytech/substrate#14185) Improves documentation on num_slashing_spans when calling withdraw_unbounded in Staking.
(paritytech/substrate#14228) wasm-builder: Enforce runtime_version wasm section
(paritytech/substrate#14258) Pay trait gets Error item
(paritytech/substrate#14259) FRAME: Pay trait benchmark helper should use asset kind
(paritytech/substrate#13454) [FRAME Core] Default Pallet Config Trait / derive_impl
(paritytech/substrate#14045) contracts: Multi block migrations
(paritytech/substrate#14270) FRAME: Introduce ConvertToValue adapter
(paritytech/substrate#14261) frame: support for serde added
(paritytech/substrate#14281) Runtime: Add common morph utility types
(paritytech/substrate#14297) Frame: Introduce TryConvert and MaybeConvert family of traits
(paritytech/substrate#14260) frame_system::remark: Allow any kind of origin
(paritytech/substrate#14241) migration(tips): unreserve deposits
(paritytech/substrate#13031) arkworks integration
(paritytech/substrate#14052) add pallet macro kitchensink example/template
(paritytech/substrate#14309) Move type Migrations to Config
(paritytech/substrate#14024) pallet-aura: Allow multiple blocks per slot
(paritytech/substrate#14326) Frame: Give Referendum SubmitOrigin argument
(paritytech/substrate#13958) Take into account proof size for transaction payment and priority
(paritytech/substrate#14338) pallet-glutton: over-unity consumption
(paritytech/substrate#14226) migration(democracy): unreserve deposits and clear locks
(paritytech/substrate#14218) migration(elections-phragmen): unreserve deposits and clear locks
(paritytech/substrate#14375) Restructure macro-related exports into private mods for frame
(paritytech/substrate#14224) Add a deprecation warning to the old runtime GenesisConfig
(paritytech/substrate#14397) Delete 1D weight ctors and set explicit deprecation dates
(paritytech/substrate#14356) update macro_magic to 0.4.1
(paritytech/substrate#11324) Society v2
(paritytech/substrate#14365) fix(remote-externalities): child trie not loaded
(paritytech/substrate#14417) suppress unused warning in kitchensink example
(paritytech/substrate#14343) try-runtime-cli: execute-block & create-snapshot tests
(paritytech/substrate#14131) GenesisBuilder runtime API
(paritytech/substrate#13950) [FRAME Core] Adds ability to split a pallet across multiple files
(paritytech/substrate#14411) fix(test-externalities): include memory db reference counts in snapshots
(paritytech/substrate#14318) pallet-message-queue: add queue pausing
(paritytech/substrate#14143) Metadata V15: Expose types for the overarching Call, Event, Error enums
(paritytech/substrate#14123) Metadata V15: Enrich extrinsic type info for decoding
(paritytech/substrate#14481) Stabilize V15 Metadata
(paritytech/substrate#14311) migrations: VersionedRuntimeUpgrade
(paritytech/substrate#14492) Removes pallet::call_index from dev_mode example
(paritytech/substrate#14084) contracts: switch to wasmi gas metering
(paritytech/substrate#14496) Nomination pools: disallow setting above global max commission
(paritytech/substrate#14513) nom-pool try-state: improve logs
(paritytech/substrate#14535) Fix spellcheck for benchmarking comments
(paritytech/substrate#14306) GenesisBuild<T,I> deprecated. BuildGenesisConfig added.
(paritytech/substrate#14570) update to docify 0.2.0 / crate-relative embed paths
(paritytech/substrate#14437) Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber
(paritytech/substrate#14567) Re-add deprecated --execution arg on benchmark pallet
(paritytech/substrate#14290) Replace system config Index for Nonce
(paritytech/substrate#14546) Run integrity_test in Externalities
(paritytech/substrate#14292) Improves the EPM/Staking e2e test setup
(paritytech/substrate#14586) WeightMeter: more consistent naming
(paritytech/substrate#14120) Introduce Pallet paged-list
(paritytech/substrate#14245) Do not include voters that have zero voter weight in the election snapshot
(paritytech/substrate#14186) Removes incorrect try-state check in staking
(paritytech/substrate#14627) upgrade to macro_magic 0.4.2
(paritytech/substrate#14395) changes to nfts pallet for xcm integration
(paritytech/substrate#14079) Contracts Add deposit for dependencies
(paritytech/substrate#13894) Update reservable docs to reflect actual ed
(paritytech/substrate#13949) Try-state for Referenda pallet
(paritytech/substrate#14685) [FRAME] Remove V1 Module Syntax
(paritytech/substrate#14634) Add FixedPointOperand blanket implementation
(paritytech/substrate#14020) Contracts: migrate to fungible traits
(paritytech/substrate#14649) pallet-aura: add feature-flagged explicit slot duration type
(paritytech/substrate#10621) CountedNMap implementation
(paritytech/substrate#14678) Cross-contract calling: simple debugger
(paritytech/substrate#14706) Remove deprecated old weight items
(paritytech/substrate#12970) [NPoS] Implements dynamic number of nominators
(paritytech/substrate#14538) Pallets: Treasury deprecate propose_spend dispatchable
(paritytech/substrate#14453) add frame_system::DefaultConfig to individual pallet DefaultConfigs
(paritytech/substrate#14763) Fixes CI
(paritytech/substrate#13502) Add try_state check to Pallet MessageQueue
(paritytech/substrate#14740) Update Scheduler Pallet Documentation
(paritytech/substrate#14773) Improve storage_alias and make UnlockAndUnreserveAllFunds independent of the pallet
(paritytech/substrate#14779) Free standing elections-phragmen and tips Gov V1 unlock/unreserve migrations
(paritytech/substrate#14759) Disarm OnRuntimeUpgrade::pre/post_upgrade Tuple footgun
(paritytech/substrate#14589) Contracts remove deposit accounts
(paritytech/substrate#14793) fix: try_on_runtime_upgrade for Tuple weight summation
(paritytech/substrate#14750) contracts: Expose environment types for offchain tooling
(paritytech/substrate#14745) Restructure frame_support macro related exports
(paritytech/substrate#14789) Contracts: Update Config::Debug
(paritytech/substrate#14787) Restructure frame_benchmarking macro related exports
(paritytech/substrate#14568) Frame: Agile Coretime Broker pallet (RFC-1)
(paritytech/substrate#12092) [FRAME Core] New pallets: safe-mode and tx-pause
(paritytech/substrate#14682) Adds ability to provide defaults for types provided by construct_runtime
(paritytech/polkadot#7234) XCM: Tools for uniquely referencing messages
(paritytech/polkadot#6667) runtime: past session slashing runtime API
(paritytech/polkadot#7321) XCM: Utility struct for AccountId conversion
(paritytech/polkadot#7329) XCM: Remove & replace XCM Convert trait
(paritytech/polkadot#7245) Implement AliasOrigin processing in XCVM
(paritytech/polkadot#7340) Fix migrations
(paritytech/polkadot#7339) para scheduler: fix division
(paritytech/polkadot#7298) update weights
(paritytech/polkadot#7309) [frame/im-online] remove network state from heartbeats
(paritytech/polkadot#7356) Runtime: Kusama gets Society v2
(paritytech/polkadot#7389) Clear Existing HRMP Channel Request When Force Opening
(paritytech/polkadot#7015) Kusama state version switch and migration.
(paritytech/polkadot#7448) Add Nomination Pools and Voters List to Staking Proxy
(paritytech/polkadot#7454) fix migrations (also companion for #14421)
(paritytech/polkadot#7431) Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber
(paritytech/polkadot#7477) Put HRMP Channel Management on General Admin Track
(paritytech/polkadot#7077) Change Fixed to WeightInfoBounds for Polkadot
(paritytech/polkadot#7528) Overcharging on limited_teleport_assets
(paritytech/polkadot#7540) Remove unused code in runtime/polkadot/src/lib.rs
(paritytech/polkadot#6807) Companion for substrate#12970
(paritytech/polkadot#7217) Change the Config of the MaxRococoNum Slot from a Constant to a Storage function
(paritytech/polkadot#7595) [Polkadot] 28 days as conviction voting period
(paritytech/polkadot#7301) Polkadot gets topic-based message IDs
(paritytech/polkadot#7314) migration: unlock/unreserve Gov v1 balances, remove Gov V1 pallets from polkadot runtime, and remove Gov V1 pallet key/values from storage
(paritytech/polkadot#7638) scheduler migration minor fixes
(paritytech/polkadot#7641) Bound number of assets which can be withdrawn to pay for execution.
(paritytech/cumulus#2601) Companion for polkadot#7234 (XCM: Tools for uniquely referencing messages)
(paritytech/cumulus#2160) polkompanion 6667: past session slashing
(paritytech/cumulus#2596) Add Ability to Add/Remove Invulnerable Collators
(paritytech/cumulus#2633) Rename Statemint to Asset Hub
(paritytech/cumulus#2688) Companion for #7329: XCM: Remove & replace Polkadot's Convert trait
(paritytech/cumulus#2607) Runtime: Polkadot Fellowship promotion/demotion periods, members activity and salaries
(paritytech/cumulus#2707) Update all uses of pallet-aura to disallow multiple blocks per slot
(paritytech/cumulus#2683) Rename Statemint* bootNodes to Asset Hub
(paritytech/cumulus#2725) Fellowship: Voters can initiate proposals on their votable tracks
(paritytech/cumulus#2748) Add sudo to template node
(paritytech/cumulus#2148) Asset Conversion release to westmint
(paritytech/cumulus#2781) Runtime: Root can promote on Polkadot Collectives
(paritytech/cumulus#2784) Runtime: Success value and reachable location for Polkadot Collectives benchmarks
(paritytech/cumulus#2808) Fix Unused Variable for PoolAssets Benchmark
(paritytech/cumulus#2769) NFT Fractionalization on AssetHub Kusama
(paritytech/cumulus#2839) Add New Assets Privileged Functions to Appropriate Proxy Types
(paritytech/cumulus#2801) Better Handling of Candidates Who Become Invulnerable
(paritytech/cumulus#2573) Asynchronous-backing compatible Aura, not plugged in
(paritytech/cumulus#2790) Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber
(paritytech/cumulus#2642) Polkadot parachains get topic-based message IDs
(paritytech/cumulus#3012) XcmpQueue simplify - PriceForSiblingDelivery replaced by runtime::common::PriceForParachainDelivery
(paritytech/cumulus#2952) set-metadata is a safe call
(paritytech/cumulus#3006) Remove as_derivative from SafeCallFilter
(paritytech/cumulus#2935) Added Asset Conversion in Kusama
(paritytech/cumulus#3044) Assets force_set_metadata is Safe

T0-node
(paritytech/substrate#14216) Don't start evicting peers right after SyncingEngine is started
(paritytech/substrate#14252) sp-api: Set correct where bound in the generated code
(paritytech/substrate#14236) Incorporate sc-peerset into sc-network
(paritytech/substrate#14230) Make offchain tx pool creation reusable
(paritytech/substrate#14285) sc-transaction-pool: Always use best block to check if we should skip enactment
(paritytech/substrate#14391) expose setting kademlia replication factor through node CLI
(paritytech/substrate#14464) Cleanup dependencies
(paritytech/substrate#14455) sc-network: Improve invalid boot node reporting
(paritytech/substrate#13317) Update Reference Hardware Specs
(paritytech/substrate#14474) frame-benchmarking-cli: Remove native dispatch requirement
(paritytech/substrate#14447) sp-api: Support nested transactions
(paritytech/substrate#14398) sp-api: Put frame-metadata behind some feature
(paritytech/substrate#14490) wasm-builder: Make hash and date optional
(paritytech/substrate#14511) sc-cli: Remove SubstrateCli::native_runtime_version function
(paritytech/substrate#14387) Removal of execution strategies
(paritytech/substrate#14508) WasmExecutor flag to ignore onchain heappages value
(paritytech/substrate#14516) Make trie-cache resettable from backend
(paritytech/substrate#14337) Get rid of Peerset compatibility layer
(paritytech/substrate#14412) Bandersnatch VRF
(paritytech/substrate#14731) deprecate try-runtime subcommand and direct users to standalone cli
(paritytech/substrate#14663) Runtime: avoid duplication and test all signature
(paritytech/substrate#14612) Set StateBackend::Transaction to PrefixedMemoryDB
(paritytech/polkadot#7293) cli: enable BEEFY by default on test networks
(paritytech/polkadot#6811) dispute-coordinator: past session dispute slashing
(paritytech/polkadot#7399) fix dependency for "cli" feature in polkadot-cli
(paritytech/polkadot#7429) Companion for substrate #14464
(paritytech/polkadot#7435) Companion for substrate#14403
(paritytech/polkadot#7451) Do not depend on native runtimes for RuntimeApi
(paritytech/polkadot#7303) PVF: add landlock sandboxing
(paritytech/polkadot#7337) 98.6% OF DEVELOPERS CANNOT REVIEW THIS PR! [read more...]
(paritytech/polkadot#7599) cli: remove deprecated try-runtime subcommand (also companion for #14731)
(paritytech/polkadot#5022) Asynchronous Backing MegaPR
(paritytech/polkadot#7591) Add BEEFY capabilities to Westend and Kusama
(paritytech/polkadot#7661) cli: disallow BEEFY and warp sync together
(paritytech/cumulus#2821) Companion for Substrate#14511
(paritytech/cumulus#2929) Companion for Polkadot#7337
(paritytech/cumulus#2300) Asynchronous backing PR
(paritytech/cumulus#2270) Allow integrated relay chain light client
(paritytech/cumulus#3046) Fix CI check and remove try-runtime command

I9-optimisation
(paritytech/substrate#14449) contracts: switch from parity-wasm-based to wasmi-based module validation

I7-documentation
(paritytech/polkadot#7587) PVF: Add missing crate descriptions

I6-documentation
(paritytech/substrate#14552) Update subkey README.md
(paritytech/substrate#14591) [fix lint warnings: Uniques pallet] fix clippy::missing_docs_in_private_items warnings
(paritytech/substrate#14592) [fix lint warnings: Uniques pallet] fix clippy::doc_markdown warnings
(paritytech/substrate#14668) [fix docs compiler warnings] Nicks pallet
(paritytech/substrate#14674) Add discord invite to contributing doc
(paritytech/substrate#14694) Update missing dev mode docs
(paritytech/substrate#14664) [fix docs compiler warnings] Glutton pallet
(paritytech/substrate#14588) [fix lint warnings: Uniques pallet] fix clippy::missing_errors_doc lint warnings
(paritytech/substrate#14648) [fix lint warnings: NFTs pallet] fix clippy::missing_errors_doc lint warnings
(paritytech/substrate#14610) [fix lint warnings: NFTs pallet] fix clippy::missing_docs_in_private_items warnings

I5-tests
(paritytech/substrate#14292) Improves the EPM/Staking e2e test setup
(paritytech/substrate#14247) Staking e2e test - Add case when ledger active balance falls below ED
(paritytech/polkadot#7282) Fix flaky test and error reporting

I3-bug
(paritytech/substrate#14642) Contracts: Bugfix Wasm prepare check for chain extension

F3-breaks_API
(paritytech/substrate#14309) Move type Migrations to Config
(paritytech/substrate#14437) Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber
(paritytech/substrate#14290) Replace system config Index for Nonce
(paritytech/substrate#14514) Pallets: Asset Rate - Rename AssetId to AssetKind, Introduce AssetKindFactory Trait
(paritytech/substrate#14020) Contracts: migrate to fungible traits
(paritytech/polkadot#7563) XcmContext to buy_weight / refund_weight
(paritytech/cumulus#2790) Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber

E6-needs_polkadot_pr
(paritytech/substrate#14318) pallet-message-queue: add queue pausing

E5-needs_cumulus_pr
(paritytech/polkadot#7253) PVF: Refactor workers into separate crates, remove host dependency
(paritytech/polkadot#7337) 98.6% OF DEVELOPERS CANNOT REVIEW THIS PR! [read more...]
(paritytech/polkadot#7538) pvf: use test-utils feature to export test only

E4-node_first_update
(paritytech/cumulus#2852) Better scoped fallback in read_messaging_state_snapshot()

E3-host_functions
(paritytech/substrate#13031) arkworks integration

E2-dependencies
(paritytech/substrate#13625) Bump platforms from 2.0.0 to 3.0.2
(paritytech/substrate#14211) Bump lru from 0.8.1 to 0.10.0
(paritytech/substrate#14171) Bump proc-macro-warning from 0.3.1 to 0.4.1
(paritytech/substrate#14253) Bump quote from 1.0.27 to 1.0.28
(paritytech/substrate#14271) Bump serde from 1.0.162 to 1.0.163
(paritytech/substrate#14303) upgrade macro_magic to v0.3.5
(paritytech/substrate#14333) build(deps): bump comfy-table from 6.2.0 to 7.0.0
(paritytech/substrate#14361) build(deps): bump expander from 1.0.0 to 2.0.0
(paritytech/substrate#14233) Bump hyper-rustls from 0.23.2 to 0.24.0
(paritytech/substrate#14356) update macro_magic to 0.4.1
(paritytech/substrate#14449) contracts: switch from parity-wasm-based to wasmi-based module validation
(paritytech/substrate#14570) update to docify 0.2.0 / crate-relative embed paths
(paritytech/substrate#14627) upgrade to macro_magic 0.4.2
(paritytech/substrate#14672) Use relative docify paths
(paritytech/substrate#14798) Bump comfy-table from 7.0.0 to 7.0.1
(paritytech/substrate#14808) Bump cfg-expr from 0.15.2 to 0.15.4
(paritytech/substrate#14812) Bump rustls-webpki from 0.100.1 to 0.100.2
(paritytech/substrate#14824) Bump tar from 0.4.38 to 0.4.40
(paritytech/polkadot#7315) bump serde to 1.0.163
(paritytech/polkadot#7414) Bump openssl from 0.10.48 to 0.10.55
(paritytech/polkadot#7429) Companion for substrate #14464
(paritytech/polkadot#7471) Bump actions/setup-node from 3.6.0 to 3.7.0
(paritytech/polkadot#7622) Bump actions/setup-node from 3.7.0 to 3.8.0
(paritytech/polkadot#7639) Bump actions/setup-node from 3.8.0 to 3.8.1
(paritytech/polkadot#7660) Bump chevdor/srtool-actions from 0.7.0 to 0.8.0
(paritytech/polkadot#7653) Bump rustls-webpki from 0.101.2 to 0.101.4
(paritytech/cumulus#2412) Bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.3
(paritytech/cumulus#2618) Bump ruby/setup-ruby from 1.149.0 to 1.150.0
(paritytech/cumulus#2661) bump serde to 1.0.163
(paritytech/cumulus#2717) Bump ruby/setup-ruby from 1.150.0 to 1.151.0
(paritytech/cumulus#2705) Bump docker/login-action from 2.1.0 to 2.2.0
(paritytech/cumulus#2723) Bump actions/checkout from 3.5.2 to 3.5.3
(paritytech/cumulus#2737) Bump ruby/setup-ruby from 1.151.0 to 1.152.0
(paritytech/cumulus#2759) Bump Swatinem/rust-cache from 2.4.0 to 2.5.0
(paritytech/cumulus#2968) Bump Swatinem/rust-cache from 2.5.0 to 2.6.0
(paritytech/cumulus#3011) Bump Swatinem/rust-cache from 2.6.0 to 2.6.1
(paritytech/cumulus#3043) Bump Swatinem/rust-cache from 2.6.1 to 2.6.2

E1-database_migration
(paritytech/polkadot#7204) RollingSessionWindow cleanup
(paritytech/polkadot#7015) Kusama state version switch and migration.

E0-runtime_migration
(paritytech/substrate#14338) pallet-glutton: over-unity consumption
(paritytech/substrate#14084) contracts: switch to wasmi gas metering
(paritytech/substrate#14421) Fix Society v2 migration
(paritytech/substrate#14079) Contracts Add deposit for dependencies
(paritytech/substrate#14589) Contracts remove deposit accounts
(paritytech/polkadot#7340) Fix migrations
(paritytech/polkadot#7356) Runtime: Kusama gets Society v2
(paritytech/polkadot#7387) add pallet_im_online::migration to Unreleased migrations
(paritytech/polkadot#7015) Kusama state version switch and migration.
(paritytech/polkadot#7396) configuration: drop pvf_checking_enabled parameter
(paritytech/polkadot#7489) configuration: optionally read pending configs in migration
(paritytech/polkadot#7454) fix migrations (also companion for #14421)
(paritytech/polkadot#7495) Remove Executed Migrations
(paritytech/polkadot#7235) Remove xcm on_runtime_upgrade pallet hook
(paritytech/polkadot#7217) Change the Config of the MaxRococoNum Slot from a Constant to a Storage function
(paritytech/polkadot#7314) migration: unlock/unreserve Gov v1 balances, remove Gov V1 pallets from polkadot runtime, and remove Gov V1 pallet key/values from storage
(paritytech/cumulus#2570) Contracts: Use RuntimeUpgrade hooks instead of Hooks::on_runtime_upgrade

D9-needsaudit 👮
(paritytech/substrate#13031) arkworks integration
(paritytech/polkadot#7438) [xcm] BridgeBlobDispatcher - prepend bridge instance discriminator.
(paritytech/polkadot#7486) paras: count upgrade delay from inclusion
(paritytech/polkadot#7641) Bound number of assets which can be withdrawn to pay for execution.
(paritytech/cumulus#2725) Fellowship: Voters can initiate proposals on their votable tracks

D2-breaksapi
(paritytech/substrate#14309) Move type Migrations to Config
(paritytech/substrate#14437) Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber
(paritytech/substrate#14290) Replace system config Index for Nonce
(paritytech/substrate#14337) Get rid of Peerset compatibility layer
(paritytech/substrate#14020) Contracts: migrate to fungible traits
(paritytech/substrate#14745) Restructure frame_support macro related exports
(paritytech/substrate#14787) Restructure frame_benchmarking macro related exports

C7-high
(paritytech/polkadot#7337) 98.6% OF DEVELOPERS CANNOT REVIEW THIS PR! [read more...]

C5-high
(paritytech/substrate#14084) contracts: switch to wasmi gas metering
(paritytech/cumulus#2929) Companion for Polkadot#7337
(paritytech/cumulus#2935) Added Asset Conversion in Kusama

B1-note_worthy
(paritytech/substrate#14214) pallet-merkle-mountain-range: Remove extra Hash type
(paritytech/substrate#13869) HoldReason: Improve usage
(paritytech/substrate#12984) Asset Conversion pallet
(paritytech/substrate#14244) RPC-Spec-V2: Rename runtimeUpdates flag to withRuntime
(paritytech/substrate#14228) wasm-builder: Enforce runtime_version wasm section
(paritytech/substrate#14252) sp-api: Set correct where bound in the generated code
(paritytech/substrate#14236) Incorporate sc-peerset into sc-network
(paritytech/substrate#13454) [FRAME Core] Default Pallet Config Trait / derive_impl
(paritytech/substrate#14230) Make offchain tx pool creation reusable
(paritytech/substrate#14045) contracts: Multi block migrations
(paritytech/substrate#14267) sp-api: Make the generated code act based on std in sp-api
(paritytech/substrate#14261) frame: support for serde added
(paritytech/substrate#14285) sc-transaction-pool: Always use best block to check if we should skip enactment
(paritytech/substrate#14260) frame_system::remark: Allow any kind of origin
(paritytech/substrate#14241) migration(tips): unreserve deposits
(paritytech/substrate#13031) arkworks integration
(paritytech/substrate#14052) add pallet macro kitchensink example/template
(paritytech/substrate#14309) Move type Migrations to Config
(paritytech/substrate#14024) pallet-aura: Allow multiple blocks per slot
(paritytech/substrate#14326) Frame: Give Referendum SubmitOrigin argument
(paritytech/substrate#13958) Take into account proof size for transaction payment and priority
(paritytech/substrate#14226) migration(democracy): unreserve deposits and clear locks
(paritytech/substrate#14218) migration(elections-phragmen): unreserve deposits and clear locks
(paritytech/substrate#14375) Restructure macro-related exports into private mods for frame
(paritytech/substrate#14224) Add a deprecation warning to the old runtime GenesisConfig
(paritytech/substrate#14397) Delete 1D weight ctors and set explicit deprecation dates
(paritytech/substrate#11324) Society v2
(paritytech/substrate#14391) expose setting kademlia replication factor through node CLI
(paritytech/substrate#14131) GenesisBuilder runtime API
(paritytech/substrate#13950) [FRAME Core] Adds ability to split a pallet across multiple files
(paritytech/substrate#14411) fix(test-externalities): include memory db reference counts in snapshots
(paritytech/substrate#14318) pallet-message-queue: add queue pausing
(paritytech/substrate#14143) Metadata V15: Expose types for the overarching Call, Event, Error enums
(paritytech/substrate#14455) sc-network: Improve invalid boot node reporting
(paritytech/substrate#14123) Metadata V15: Enrich extrinsic type info for decoding
(paritytech/substrate#13317) Update Reference Hardware Specs
(paritytech/substrate#14474) frame-benchmarking-cli: Remove native dispatch requirement
(paritytech/substrate#14447) sp-api: Support nested transactions
(paritytech/substrate#14481) Stabilize V15 Metadata
(paritytech/substrate#14311) migrations: VersionedRuntimeUpgrade
(paritytech/substrate#14398) sp-api: Put frame-metadata behind some feature
(paritytech/substrate#14490) wasm-builder: Make hash and date optional
(paritytech/substrate#14084) contracts: switch to wasmi gas metering
(paritytech/substrate#14511) sc-cli: Remove SubstrateCli::native_runtime_version function
(paritytech/substrate#14387) Removal of execution strategies
(paritytech/substrate#14306) GenesisBuild<T,I> deprecated. BuildGenesisConfig added.
(paritytech/substrate#14437) Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber
(paritytech/substrate#14508) WasmExecutor flag to ignore onchain heappages value
(paritytech/substrate#14290) Replace system config Index for Nonce
(paritytech/substrate#14546) Run integrity_test in Externalities
(paritytech/substrate#14586) WeightMeter: more consistent naming
(paritytech/substrate#14120) Introduce Pallet paged-list
(paritytech/substrate#14551) chainHead_storage: Backport queries for value types
(paritytech/substrate#14395) changes to nfts pallet for xcm integration
(paritytech/substrate#14628) chainHead_storage: Iterate over keys
(paritytech/substrate#14483) change HashFor to HashingFor
(paritytech/substrate#14079) Contracts Add deposit for dependencies
(paritytech/substrate#14654) chainHead: Sync events with spec
(paritytech/substrate#14685) [FRAME] Remove V1 Module Syntax
(paritytech/substrate#14337) Get rid of Peerset compatibility layer
(paritytech/substrate#14020) Contracts: migrate to fungible traits
(paritytech/substrate#10621) CountedNMap implementation
(paritytech/substrate#14678) Cross-contract calling: simple debugger
(paritytech/substrate#14692) chainHead: Produce method responses on chainHead_follow
(paritytech/substrate#14706) Remove deprecated old weight items
(paritytech/substrate#14412) Bandersnatch VRF
(paritytech/substrate#12970) [NPoS] Implements dynamic number of nominators
(paritytech/substrate#14538) Pallets: Treasury deprecate propose_spend dispatchable
(paritytech/substrate#14453) add frame_system::DefaultConfig to individual pallet DefaultConfigs
(paritytech/substrate#14699) chainHead: Limit ongoing operations
(paritytech/substrate#14740) Update Scheduler Pallet Documentation
(paritytech/substrate#14773) Improve storage_alias and make UnlockAndUnreserveAllFunds independent of the pallet
(paritytech/substrate#14731) deprecate try-runtime subcommand and direct users to standalone cli
(paritytech/substrate#14612) Set StateBackend::Transaction to PrefixedMemoryDB
(paritytech/substrate#14589) Contracts remove deposit accounts
(paritytech/substrate#14793) fix: try_on_runtime_upgrade for Tuple weight summation
(paritytech/substrate#14750) contracts: Expose environment types for offchain tooling
(paritytech/substrate#14745) Restructure frame_support macro related exports
(paritytech/substrate#14789) Contracts: Update Config::Debug
(paritytech/substrate#14755) chainHead: Add support for storage pagination and cancellation
(paritytech/substrate#14787) Restructure frame_benchmarking macro related exports
(paritytech/substrate#14568) Frame: Agile Coretime Broker pallet (RFC-1)
(paritytech/substrate#12092) [FRAME Core] New pallets: safe-mode and tx-pause
(paritytech/substrate#14682) Adds ability to provide defaults for types provided by construct_runtime
(paritytech/polkadot#7234) XCM: Tools for uniquely referencing messages
(paritytech/polkadot#7293) cli: enable BEEFY by default on test networks
(paritytech/polkadot#7329) XCM: Remove & replace XCM Convert trait
(paritytech/polkadot#7245) Implement AliasOrigin processing in XCVM
(paritytech/polkadot#7340) Fix migrations
(paritytech/polkadot#7309) [frame/im-online] remove network state from heartbeats
(paritytech/polkadot#7356) Runtime: Kusama gets Society v2
(paritytech/polkadot#7389) Clear Existing HRMP Channel Request When Force Opening
(paritytech/polkadot#7451) Do not depend on native runtimes for RuntimeApi
(paritytech/polkadot#7015) Kusama state version switch and migration.
(paritytech/polkadot#7448) Add Nomination Pools and Voters List to Staking Proxy
(paritytech/polkadot#7303) PVF: add landlock sandboxing
(paritytech/polkadot#7431) Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber
(paritytech/polkadot#7477) Put HRMP Channel Management on General Admin Track
(paritytech/polkadot#7077) Change Fixed to WeightInfoBounds for Polkadot
(paritytech/polkadot#7528) Overcharging on limited_teleport_assets
(paritytech/polkadot#7337) 98.6% OF DEVELOPERS CANNOT REVIEW THIS PR! [read more...]
(paritytech/polkadot#6807) Companion for substrate#12970
(paritytech/polkadot#7217) Change the Config of the MaxRococoNum Slot from a Constant to a Storage function
(paritytech/polkadot#7595) [Polkadot] 28 days as conviction voting period
(paritytech/polkadot#7599) cli: remove deprecated try-runtime subcommand (also companion for #14731)
(paritytech/polkadot#7301) Polkadot gets topic-based message IDs
(paritytech/polkadot#7314) migration: unlock/unreserve Gov v1 balances, remove Gov V1 pallets from polkadot runtime, and remove Gov V1 pallet key/values from storage
(paritytech/polkadot#5022) Asynchronous Backing MegaPR
(paritytech/polkadot#7591) Add BEEFY capabilities to Westend and Kusama
(paritytech/polkadot#7661) cli: disallow BEEFY and warp sync together
(paritytech/cumulus#2601) Companion for polkadot#7234 (XCM: Tools for uniquely referencing messages)
(paritytech/cumulus#2596) Add Ability to Add/Remove Invulnerable Collators
(paritytech/cumulus#2633) Rename Statemint to Asset Hub
(paritytech/cumulus#2607) Runtime: Polkadot Fellowship promotion/demotion periods, members activity and salaries
(paritytech/cumulus#2707) Update all uses of pallet-aura to disallow multiple blocks per slot
(paritytech/cumulus#2683) Rename Statemint* bootNodes to Asset Hub
(paritytech/cumulus#2725) Fellowship: Voters can initiate proposals on their votable tracks
(paritytech/cumulus#2748) Add sudo to template node
(paritytech/cumulus#2148) Asset Conversion release to westmint
(paritytech/cumulus#2821) Companion for Substrate#14511
(paritytech/cumulus#2769) NFT Fractionalization on AssetHub Kusama
(paritytech/cumulus#2801) Better Handling of Candidates Who Become Invulnerable
(paritytech/cumulus#2790) Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber
(paritytech/cumulus#2929) Companion for Polkadot#7337
(paritytech/cumulus#2642) Polkadot parachains get topic-based message IDs
(paritytech/cumulus#2952) set-metadata is a safe call
(paritytech/cumulus#2875) Rename squatted crates
(paritytech/cumulus#2300) Asynchronous backing PR
(paritytech/cumulus#2935) Added Asset Conversion in Kusama
(paritytech/cumulus#2270) Allow integrated relay chain light client
(paritytech/cumulus#3046) Fix CI check and remove try-runtime command

@vercel
Copy link

vercel bot commented Oct 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
entropy-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2023 3:40pm

@JesseAbram JesseAbram changed the title one test working Update substrate and subxt Oct 18, 2023
@HCastano
Copy link
Collaborator

Can you give a bit of context around the version we're currently on, what we're moving to, why we're updating, and any special considerations (maybe from the CHANGELOG of the new release)?

Copy link
Collaborator

@HCastano HCastano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few things to clean up, but generally looks fine. The upgrade was less painful than I expected.

Can you also add more links to the PR description about breaking changes? For example, see Phala or Moonbeam's upgrade PRs.

This helps reviewers figure out what areas of the code to focus on and ensure that changes were applied correctly.

crypto/server/src/user/tests.rs Outdated Show resolved Hide resolved
pallets/relayer/src/lib.rs Show resolved Hide resolved
pallets/slashing/src/mock.rs Show resolved Hide resolved
pallets/transaction-pause/src/lib.rs Show resolved Hide resolved
cliff.toml Show resolved Hide resolved

task_manager.spawn_handle().spawn(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related change: paritytech/substrate#14387

pallets/constraints/src/lib.rs Outdated Show resolved Hide resolved
pallets/transaction-pause/src/mock.rs Show resolved Hide resolved
runtime/src/lib.rs Show resolved Hide resolved
runtime/src/lib.rs Show resolved Hide resolved
Copy link
Contributor

@ameba23 ameba23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it was a lot of work. And not the nice kind of work. So nice one @JesseAbram!

It's annoying that we now have to pass rpc around everywhere, but if thats needed then its needed i guess.

api.storage().at_latest().await.unwrap().fetch(&registering_query).await;
let block_hash_2 = rpc.chain_get_block_hash(None).await.unwrap().unwrap();

let query_registering_status = api.storage().at(block_hash_2).fetch(&registering_query).await;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why we are switching from at_latest() to .at(block_hash). It makes sense when we are making more than one query and don't want things to have changed in between. But when we just make one query why not use at_latest()?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya this was brutal so pretty much at_latest checks only finalized blocks, so we need to get the non finalized blocks now as the finalization lags and in tests due to running one node never happens

crypto/server/src/validator/api.rs Outdated Show resolved Hide resolved
crypto/server/src/validator/api.rs Show resolved Hide resolved
crypto/server/src/validator/tests.rs Show resolved Hide resolved
runtime/src/lib.rs Show resolved Hide resolved
@JesseAbram JesseAbram merged commit 9090303 into master Oct 26, 2023
9 of 10 checks passed
@JesseAbram JesseAbram deleted the update-subxt branch October 26, 2023 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants