mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-17 01:51:04 +00:00
Rebrand: polkadot → pezkuwi build fixes
- Fixed TypeScript type assertion issues - Updated imports from api-augment/substrate to api-augment/bizinikiwi - Fixed imgConvert.mjs header and imports - Added @ts-expect-error for runtime-converted types - Fixed all @polkadot copyright headers to @pezkuwi
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// Copyright 2017-2025 @polkadot/test-support authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/test-support authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { createApi } from '@polkadot/test-support/api';
|
||||
import { aliceSigner } from '@polkadot/test-support/keyring';
|
||||
import { createApi } from '@pezkuwi/test-support/api';
|
||||
import { aliceSigner } from '@pezkuwi/test-support/keyring';
|
||||
|
||||
import { multiAcceptCurator, multiApproveBounty, multiAwardBounty, multiClaimBounty, multiProposeBounty, multiProposeCurator, multiWaitForBountyFunded, multiWaitForClaim } from './lib/multiFunctions.js';
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Copyright 2017-2025 @polkadot/test-support authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/test-support authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiPromise } from '@polkadot/api';
|
||||
import type { DeriveBounty } from '@polkadot/api-derive/types';
|
||||
import type { WaitOptions } from '@polkadot/test-support/types';
|
||||
import type { ApiPromise } from '@pezkuwi/api';
|
||||
import type { DeriveBounty } from '@pezkuwi/api-derive/types';
|
||||
import type { WaitOptions } from '@pezkuwi/test-support/types';
|
||||
|
||||
import { waitFor } from '@polkadot/test-support/utils';
|
||||
import { waitFor } from '@pezkuwi/test-support/utils';
|
||||
|
||||
type bStatus = 'isFunded' | 'isActive';
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Copyright 2017-2025 @polkadot/test-support authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/test-support authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiPromise } from '@polkadot/api';
|
||||
import type { KeyringPair } from '@polkadot/keyring/types';
|
||||
import type { BN } from '@polkadot/util';
|
||||
import type { ApiPromise } from '@pezkuwi/api';
|
||||
import type { KeyringPair } from '@pezkuwi/keyring/types';
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
|
||||
import { execute } from '@polkadot/test-support/transaction';
|
||||
import { execute } from '@pezkuwi/test-support/transaction';
|
||||
|
||||
import { acceptMotion, fillTreasury, getMotion, proposeMotion } from './helpers.js';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/test-support authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/test-support authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { BN } from '@polkadot/util';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
|
||||
export const TREASURY_ADDRESS = '13UVJyLnbVp9RBZYFwFGyDvVd1y27Tt8tkntv6Q7JVPhFsTB';
|
||||
export const FUNDING_TIME = 150000;
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
// Copyright 2017-2025 @polkadot/test-support authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/test-support authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiPromise } from '@polkadot/api';
|
||||
import type { SubmittableExtrinsic } from '@polkadot/api/types';
|
||||
import type { DeriveCollectiveProposal } from '@polkadot/api-derive/types';
|
||||
import type { KeyringPair } from '@polkadot/keyring/types';
|
||||
import type { Hash } from '@polkadot/types/interfaces';
|
||||
import type { ApiPromise } from '@pezkuwi/api';
|
||||
import type { SubmittableExtrinsic } from '@pezkuwi/api/types';
|
||||
import type { DeriveCollectiveProposal } from '@pezkuwi/api-derive/types';
|
||||
import type { KeyringPair } from '@pezkuwi/keyring/types';
|
||||
import type { Hash } from '@pezkuwi/types/interfaces';
|
||||
|
||||
import { charlieSigner, daveSigner, eveSigner, ferdieSigner } from '@polkadot/test-support/keyring';
|
||||
import { execute } from '@polkadot/test-support/transaction';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { charlieSigner, daveSigner, eveSigner, ferdieSigner } from '@pezkuwi/test-support/keyring';
|
||||
import { execute } from '@pezkuwi/test-support/transaction';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
|
||||
import { LENGTH_BOUND, TREASURY_ADDRESS, WEIGHT_BOUND } from './constants.js';
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Copyright 2017-2025 @polkadot/test-support authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/test-support authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiPromise } from '@polkadot/api';
|
||||
import type { KeyringPair } from '@polkadot/keyring/types';
|
||||
import type { ApiPromise } from '@pezkuwi/api';
|
||||
import type { KeyringPair } from '@pezkuwi/keyring/types';
|
||||
|
||||
import { execute } from '@polkadot/test-support/transaction';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { execute } from '@pezkuwi/test-support/transaction';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
|
||||
import { waitForBountyState, waitForClaim } from './bountyWaitFunctions.js';
|
||||
import { FUNDING_TIME, PAYOUT_TIME } from './constants.js';
|
||||
|
||||
Reference in New Issue
Block a user