mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Update Substrate & Polkadot (#930)
* Update Substrate & Polkadot * Hmm * Set workspace hint path * Test * Use absolute path * Update again
This commit is contained in:
@@ -17,6 +17,7 @@ variables: &default-vars
|
|||||||
CI_IMAGE: "paritytech/ci-linux:production"
|
CI_IMAGE: "paritytech/ci-linux:production"
|
||||||
DOCKER_OS: "debian:stretch"
|
DOCKER_OS: "debian:stretch"
|
||||||
ARCH: "x86_64"
|
ARCH: "x86_64"
|
||||||
|
WASM_BUILD_WORKSPACE_HINT: "/builds/parity/cumulus/"
|
||||||
|
|
||||||
.rust-info-script: &rust-info-script
|
.rust-info-script: &rust-info-script
|
||||||
- rustup show
|
- rustup show
|
||||||
|
|||||||
Generated
+244
-243
File diff suppressed because it is too large
Load Diff
@@ -135,6 +135,7 @@ mod tests {
|
|||||||
|
|
||||||
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
|
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
|
||||||
type Block = frame_system::mocking::MockBlock<Test>;
|
type Block = frame_system::mocking::MockBlock<Test>;
|
||||||
|
const TEST_ACCOUNT: AccountId = AccountId::new([1; 32]);
|
||||||
|
|
||||||
frame_support::construct_runtime!(
|
frame_support::construct_runtime!(
|
||||||
pub enum Test where
|
pub enum Test where
|
||||||
@@ -200,7 +201,7 @@ mod tests {
|
|||||||
where
|
where
|
||||||
I: 'a,
|
I: 'a,
|
||||||
{
|
{
|
||||||
Some(Default::default())
|
Some(TEST_ACCOUNT)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -255,7 +256,7 @@ mod tests {
|
|||||||
let fee = Balances::issue(10);
|
let fee = Balances::issue(10);
|
||||||
let tip = Balances::issue(20);
|
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());
|
DealWithFees::on_unbalanceds(vec![fee, tip].into_iter());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user