Skip to content
Snippets Groups Projects
Commit 12fc58d1 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Update Substrate & Polkadot (#930)

* Update Substrate & Polkadot

* Hmm

* Set workspace hint path

* Test

* Use absolute path

* Update again
parent 035f7cee
No related merge requests found
......@@ -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
......
This diff is collapsed.
......@@ -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());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment