Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
ede4d52
Update references
bkchr Oct 8, 2021
cf3e4be
Merge branch 'master' of github.com:paritytech/cumulus into release-s…
apopiak Oct 12, 2021
40bef59
update deps
apopiak Oct 12, 2021
7360a62
set substrate deps for pallet-asset-tx-payment
apopiak Oct 13, 2021
79809c1
add DisabledValidatorsThreshold to parachain template
apopiak Oct 13, 2021
9e9c759
add DisabledValidatorsThreshold to statemint runtimes
apopiak Oct 13, 2021
580dfcd
adjust imports
apopiak Oct 13, 2021
5cc3c13
update Cargo-lock
apopiak Oct 13, 2021
9a28018
add DisabledValidatorsThreshold to mock config
apopiak Oct 13, 2021
efd4079
cargo +nightly fmt
apopiak Oct 13, 2021
eebadf0
adjust on_disabled type
apopiak Oct 13, 2021
0f320d8
remove on_chain_votes function in ParachainHost impl
apopiak Oct 13, 2021
cf04b27
remove ScrapedOnChainVotes
apopiak Oct 13, 2021
f8e5ece
bump polkadot-collator version
apopiak Oct 13, 2021
b4ea44a
update Cargo.lock
apopiak Oct 13, 2021
d4a202a
set spec_versions to 500
apopiak Oct 14, 2021
e632c5f
Statemine cannot execute.
gavofyork Oct 14, 2021
f2941c6
disallow XCM execute on statemint
apopiak Oct 14, 2021
7667119
cargo fmt
apopiak Oct 14, 2021
4a704cc
remove unnecessary dep on node-primitives
apopiak Oct 15, 2021
ae23b3d
select parachains-common/std feature when building rococo-runtime wit…
apopiak Oct 15, 2021
0e01e63
adjust Statemint to the three digit spec_version format
apopiak Oct 15, 2021
86ed61c
Add script to generate simple changelogs (#668)
chevdor Oct 15, 2021
72b0b8b
Update weights from v4 for v5 comparison (#673)
NachoPal Oct 18, 2021
eccc2d0
Fix benchmarks after Parachain Template (#677)
NachoPal Oct 19, 2021
1bed7c6
Weights updates for Statemine v5 (#682)
NachoPal Oct 20, 2021
8ce22ec
mention Storage in construct_runtime macro for pallet-xcm (#680)
apopiak Oct 20, 2021
8ab829f
Use pallet-xcm for version wrapping (#689)
apopiak Oct 20, 2021
6c6d7a0
patch weight for batch_all from rerun
apopiak Oct 21, 2021
a0e7189
Runtime version bump to v503 (#694)
chevdor Oct 22, 2021
35e135e
adjust genesis value generation scripts to output entries array + add…
apopiak Oct 26, 2021
4f3362a
add script to generate shell spec from runtime wasm
apopiak Oct 26, 2021
537d772
Ensure a bad datastream cannot cause problems (#701)
gavofyork Oct 27, 2021
a71e04f
update Polkadot (to 0.9.11 169bab55d)
apopiak Oct 27, 2021
2f73537
bump spec versions
apopiak Oct 27, 2021
1dab315
Allow Queries and Subscriptions
gavofyork Oct 26, 2021
c3240a7
fix build
joepetrowski Oct 27, 2021
e7aa76f
make fmt happy
joepetrowski Oct 27, 2021
215c13a
statemint imports
joepetrowski Oct 27, 2021
4932deb
slight naming changes in script
apopiak Oct 28, 2021
54f59bc
add shell genesis data + wasm + chainspec
apopiak Oct 28, 2021
b933596
adjust generated shell spec with production config values
apopiak Oct 29, 2021
40e6560
Merge branch 'release-statemine-v5' of github.com:paritytech/cumulus …
apopiak Nov 3, 2021
24377a6
update Substrate and Polkadot to master
apopiak Nov 3, 2021
d2ec4ef
fix deps
apopiak Nov 3, 2021
f9cbf07
swap out bootnodes for statemint shell
apopiak Nov 4, 2021
7f74ab2
add a script for verifying the shell chain spec
apopiak Nov 4, 2021
aec894c
add sha checksum for head data
apopiak Nov 4, 2021
07f3d6b
remove verification script
apopiak Nov 4, 2021
08e9343
remove hex wasm file
apopiak Nov 4, 2021
8c3564a
pull recent master
apopiak Nov 4, 2021
ea8b9ff
Merge branch 'release-statemint-shell' of github.com:paritytech/cumul…
apopiak Nov 4, 2021
ece1243
update Substrate and Polkadot again and fix compilation
apopiak Nov 4, 2021
153ee49
Merge branch 'master' of github.com:paritytech/cumulus into apopiak/u…
apopiak Nov 4, 2021
8132b14
update and fix lock file
apopiak Nov 4, 2021
a43ad72
formatting
apopiak Nov 4, 2021
0bd6acf
remove redundant dispatch_as weight
apopiak Nov 4, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update Substrate and Polkadot again and fix compilation
  • Loading branch information
apopiak committed Nov 4, 2021
commit ece1243ffb7c15794453ff17c353f054c84f465d
656 changes: 387 additions & 269 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion client/network/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use polkadot_primitives::v1::{
CommittedCandidateReceipt, CoreState, GroupRotationInfo, Hash as PHash, HeadData, Id as ParaId,
InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParachainHost,
PersistedValidationData, SessionIndex, SessionInfo, SigningContext, ValidationCode,
ValidationCodeHash, ValidatorId, ValidatorIndex,
ValidationCodeHash, ValidatorId, ValidatorIndex, ScrapedOnChainVotes,
};
use polkadot_test_client::{
Client as PClient, ClientBlockImportExt, DefaultTestClientBuilderExt, FullBackend as PBackend,
Expand Down Expand Up @@ -494,5 +494,9 @@ sp_api::mock_impl_runtime_apis! {
fn validation_code_by_hash(_: ValidationCodeHash) -> Option<ValidationCode> {
None
}

fn on_chain_votes() -> Option<ScrapedOnChainVotes<Hash>> {
None
}
}
}
6 changes: 2 additions & 4 deletions pallets/collator-selection/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use sp_core::H256;
use sp_runtime::{
testing::{Header, UintAuthorityId},
traits::{BlakeTwo256, IdentityLookup, OpaqueKeys},
Perbill, RuntimeAppPublic,
RuntimeAppPublic,
};

type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
Expand Down Expand Up @@ -161,13 +161,12 @@ impl pallet_session::SessionHandler<u64> for TestSessionHandler {
SessionHandlerCollators::set(keys.into_iter().map(|(a, _)| *a).collect::<Vec<_>>())
}
fn on_before_session_ending() {}
fn on_disabled(_: usize) {}
fn on_disabled(_: u32) {}
}

parameter_types! {
pub const Offset: u64 = 0;
pub const Period: u64 = 10;
pub const DisabledValidatorsThreshold: Perbill = Perbill::from_percent(17);
}

impl pallet_session::Config for Test {
Expand All @@ -180,7 +179,6 @@ impl pallet_session::Config for Test {
type SessionManager = CollatorSelection;
type SessionHandler = TestSessionHandler;
type Keys = MockSessionKeys;
type DisabledValidatorsThreshold = DisabledValidatorsThreshold;
type WeightInfo = ();
}

Expand Down
1 change: 1 addition & 0 deletions polkadot-parachains/statemine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ impl pallet_multisig::Config for Runtime {
impl pallet_utility::Config for Runtime {
type Event = Event;
type Call = Call;
type PalletsOrigin = OriginCaller;
type WeightInfo = weights::pallet_utility::WeightInfo<Runtime>;
}

Expand Down
4 changes: 4 additions & 0 deletions polkadot-parachains/statemine/src/weights/pallet_utility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Standard Error: 3_000
.saturating_add((7_719_000 as Weight).saturating_mul(c as Weight))
}
fn dispatch_as() -> Weight {
// TODO: update weights
0
}
}
3 changes: 2 additions & 1 deletion polkadot-parachains/statemint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ use codec::{Decode, Encode, MaxEncodedLen};
use constants::{currency::*, fee::WeightToFee};
use frame_support::{
construct_runtime, match_type, parameter_types,
traits::{Everything, InstanceFilter, Nothing},
traits::{Contains, Everything, InstanceFilter, Nothing},
weights::{
constants::{BlockExecutionWeight, ExtrinsicBaseWeight},
DispatchClass, IdentityFee, Weight,
Expand Down Expand Up @@ -281,6 +281,7 @@ impl pallet_multisig::Config for Runtime {
impl pallet_utility::Config for Runtime {
type Event = Event;
type Call = Call;
type PalletsOrigin = OriginCaller;
type WeightInfo = weights::pallet_utility::WeightInfo<Runtime>;
}

Expand Down
4 changes: 4 additions & 0 deletions polkadot-parachains/statemint/src/weights/pallet_utility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Standard Error: 4_000
.saturating_add((7_471_000 as Weight).saturating_mul(c as Weight))
}
fn dispatch_as() -> Weight {
// TODO: update weights
0
}
}
1 change: 1 addition & 0 deletions polkadot-parachains/westmint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ impl pallet_multisig::Config for Runtime {
impl pallet_utility::Config for Runtime {
type Event = Event;
type Call = Call;
type PalletsOrigin = OriginCaller;
type WeightInfo = weights::pallet_utility::WeightInfo<Runtime>;
}

Expand Down
4 changes: 4 additions & 0 deletions polkadot-parachains/westmint/src/weights/pallet_utility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Standard Error: 3_000
.saturating_add((7_343_000 as Weight).saturating_mul(c as Weight))
}
fn dispatch_as() -> Weight {
// TODO: update weights
0
}
}
1 change: 0 additions & 1 deletion test/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,6 @@ pub fn node_config(
base_path: Some(base_path),
informant_output_format: Default::default(),
wasm_runtime_overrides: None,
ws_max_out_buffer_capacity: None,
})
}

Expand Down