ghost-portal/packages/test-support/scripts
Jaco 3be558f1dc
Bump deps (#8217)
* Bump deps

* Adjust bounties weights
2022-10-08 13:37:19 +03:00
..
lib Bump deps (#8217) 2022-10-08 13:37:19 +03:00
createBounties.ts 2022 (#6764) 2022-01-01 09:30:15 +02:00
readme.md

Scripts for bounty testing

The scripts are prepared to run on a local, development version of substrate with following changes:

  • bin/node/runtime/src/lib.rs
    pub const SpendPeriod: BlockNumber = 1 * MINUTES;
    pub const BountyDepositPayoutDelay: BlockNumber = 1 * MINUTES
    

To run a script enter the packages/test-support directory and run:

ts-node scripts/<script-name>

Available scripts:

  • createBounties - creates a list of bounties, one in each status ( Proposed, Funded, Curator Proposed, Active, Pending Payout, Closed )