Skip to content

Deployment Script Error #48

@Sheldenshi

Description

@Sheldenshi

The deployment script doesn't work.

utils/deploy.ts:110:5 - error TS2739: Type '{ lusdToken: string; lqtyToken: string; multiTroveGetter: string; activePool: string; borrowerOperations: string; troveManager: string; collSurplusPool: string; communityIssuance: string; ... 8 more ...; unipool: string; }' is missing the following properties from type 'Pick<Record<"activePool" | "borrowerOperations" | "troveManager" | "lusdToken" | "collSurplusPool" | "communityIssuance" | "defaultPool" | "lqtyToken" | "hintHelpers" | "lockupContractFactory" | ... 11 more ... | "pngToken", string>, "activePool" | ... 19 more ... | "pngToken">': tjUnipool, tjToken, pngUnipool, pngToken

110     {
        ~
111       ...addresses,
    ~~~~~~~~~~~~~~~~~~~
...
142       )
    ~~~~~~~
143     },
    ~~~~~
utils/deploy.ts:331:9 - error TS2322: Type '{ chainId: number; addresses: Record<"activePool" | "borrowerOperations" | "troveManager" | "lusdToken" | "collSurplusPool" | "communityIssuance" | "defaultPool" | "lqtyToken" | ... 13 more ... | "pngToken", string>; ... 10 more ...; _isDev: boolean; } | { ...; }' is not assignable to type '_LiquityDeploymentJSON'.
  Type '{ startBlock: number; addresses: { uniToken: string; activePool: string; borrowerOperations: string; troveManager: string; lusdToken: string; collSurplusPool: string; communityIssuance: string; ... 14 more ...; pngToken: string; }; ... 8 more ...; _isDev: boolean; }' is missing the following properties from type '_LiquityDeploymentJSON': pngLiquidityMiningLQTYRewardRate, tjLiquidityMiningLQTYRewardRate

331   const deployment: _LiquityDeploymentJSON = {

when runyarn deploy --network fuji

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions