ghost-portal/packages/test-support/scripts
Jaco e23c8cf152
Bump pjs deps (#9794)
* Bump pjs deps

* Some cleanups

* Additional fixes

* Additional fixes

* kilt

* Additional fixes

* Headers

* Additional headers

* Additional

* Additional

* Additional

* Additional

* It seems to lint... locally.

* It seems to build... locally.

* Review adjustments
2023-08-19 09:38:42 +03:00
..
lib Bump pjs deps (#9794) 2023-08-19 09:38:42 +03:00
createBounties.ts Bump TS to 5.0, adjust TS aliases (#9193) 2023-03-17 10:16:43 +02:00
readme.md Add create bounty script for easier manual testing (#4416) 2021-01-14 18:02:39 +01:00

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 )