Update Substrate & Polkadot (#930)

* Update Substrate & Polkadot

* Hmm

* Set workspace hint path

* Test

* Use absolute path

* Update again
This commit is contained in:
Bastian Köcher
2022-01-22 21:49:01 +01:00
committed by GitHub
parent 035f7cee9f
commit 12fc58d1bb
3 changed files with 248 additions and 245 deletions
+1
View File
@@ -17,6 +17,7 @@ variables: &default-vars
CI_IMAGE: "paritytech/ci-linux:production"
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"
WASM_BUILD_WORKSPACE_HINT: "/builds/parity/cumulus/"
.rust-info-script: &rust-info-script
- rustup show
+244 -243
View File
File diff suppressed because it is too large Load Diff
@@ -135,6 +135,7 @@ mod tests {
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
type Block = frame_system::mocking::MockBlock<Test>;
const TEST_ACCOUNT: AccountId = AccountId::new([1; 32]);
frame_support::construct_runtime!(
pub enum Test where
@@ -200,7 +201,7 @@ mod tests {
where
I: 'a,
{
Some(Default::default())
Some(TEST_ACCOUNT)
}
}
@@ -255,7 +256,7 @@ mod tests {
let fee = Balances::issue(10);
let tip = Balances::issue(20);
assert_eq!(Balances::free_balance(AccountId::default()), 0);
assert_eq!(Balances::free_balance(TEST_ACCOUNT), 0);
DealWithFees::on_unbalanceds(vec![fee, tip].into_iter());