Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie <[email protected]>
  • Loading branch information
Dengjianping committed May 15, 2024
1 parent fabb21a commit 2151491
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion runtime/calamari/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ mod benches {
// always get this error(Unimplemented) while benchmarking pallet_xcm_benchmarks::fungible::initiate_teleport
// so this time we will use statemint's fungible weights
// and actually we don't support teleport now
[pallet_xcm_benchmarks::fungible, pallet_xcm_benchmarks::fungible::Pallet::<Runtime>]
// [pallet_xcm_benchmarks::fungible, pallet_xcm_benchmarks::fungible::Pallet::<Runtime>]
[pallet_xcm_benchmarks::generic, pallet_xcm_benchmarks::generic::Pallet::<Runtime>]
// Nimbus pallets
// [pallet_author_inherent, AuthorInherent]
Expand Down
4 changes: 1 addition & 3 deletions runtime/manta/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ mod benches {
[cumulus_pallet_xcmp_queue, XcmpQueue]
// always get this error(Unimplemented) while benchmarking pallet_xcm_benchmarks::fungible::initiate_teleport
// so this time we will use statemint's fungible weights
[pallet_xcm_benchmarks::fungible, XcmBalances]
// [pallet_xcm_benchmarks::fungible, XcmBalances]
[pallet_xcm_benchmarks::generic, XcmGeneric]
[pallet_session, SessionBench::<Runtime>]
// Manta pallets
Expand Down Expand Up @@ -1448,7 +1448,6 @@ impl_runtime_apis! {
use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
use frame_system_benchmarking::Pallet as SystemBench;

type XcmBalances = pallet_xcm_benchmarks::fungible::Pallet::<Runtime>;
type XcmGeneric = pallet_xcm_benchmarks::generic::Pallet::<Runtime>;

let mut list = Vec::<BenchmarkList>::new();
Expand Down Expand Up @@ -1625,7 +1624,6 @@ impl_runtime_apis! {
}
}

type XcmBalances = pallet_xcm_benchmarks::fungible::Pallet::<Runtime>;
type XcmGeneric = pallet_xcm_benchmarks::generic::Pallet::<Runtime>;

let whitelist: Vec<TrackedStorageKey> = vec![
Expand Down
2 changes: 1 addition & 1 deletion tests/check_parachain_lease_expiration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function createPromiseApi(nodeAddress: string) {

describe('Check Parachain_Lease_Expiration', () => {
it('Check Manta Parachain Lease', async () => {
const polkadotNode = 'wss://1rpc.io/dot';
const polkadotNode = 'wss://polkadot.api.onfinality.io/public-ws';
const polkadotApi = await createPromiseApi(polkadotNode);
const mantaParaId = 2104;
const oneDay = 3600 * 24;
Expand Down

0 comments on commit 2151491

Please sign in to comment.