Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Jan 7, 2025
1 parent 5bd4e9a commit a8010d2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
16 changes: 16 additions & 0 deletions integration-tests/ahm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Copyright (C) Parity Technologies (UK) Ltd.
// This file is part of Polkadot.

// Polkadot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// Polkadot is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

#[cfg(test)]
pub mod mock;
#[cfg(test)]
Expand Down
16 changes: 16 additions & 0 deletions integration-tests/ahm/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Copyright (C) Parity Technologies (UK) Ltd.
// This file is part of Polkadot.

// Polkadot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// Polkadot is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

use asset_hub_polkadot_runtime::Block as AssetHubBlock;
use polkadot_runtime::Block as PolkadotBlock;
use remote_externalities::{Builder, Mode, OfflineConfig, RemoteExternalities};
Expand Down
1 change: 0 additions & 1 deletion relay/polkadot/tests/ahm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ use remote_externalities::{Builder, Mode, OfflineConfig, RemoteExternalities};
async fn remote_ext_test_setup() -> Option<RemoteExternalities<Block>> {
sp_tracing::try_init_simple();
let snap = std::env::var("SNAP").ok()?;
//let snap = "/home/oliver/polkadot.snap".to_string(); // FIXME dont push
let abs = std::path::absolute(snap.clone());

let ext = Builder::<Block>::default()
Expand Down

0 comments on commit a8010d2

Please sign in to comment.