.env 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # Address of the Joystream node.
  2. NODE_URL = ws://127.0.0.1:9944
  3. # Address of the Joystream query node.
  4. QUERY_NODE_URL = http://127.0.0.1:8081/graphql
  5. # Account which is expected to provide sufficient funds to test accounts.
  6. TREASURY_ACCOUNT_URI = //Alice
  7. # Sudo Account
  8. SUDO_ACCOUNT_URI = //Alice
  9. # Amount of members able to buy membership in membership creation test.
  10. MEMBERSHIP_CREATION_N = 2
  11. # Amount of members able to invite in members invite test.
  12. MEMBERS_INVITE_N = 2
  13. # Amount of staking accounts to add during "add staking accounts" test
  14. STAKING_ACCOUNTS_ADD_N = 3
  15. # Amount of applications to create in openingAndApplicationsStatus test
  16. APPLICATION_STATUS_CREATE_N = 5
  17. # Amount of applications to withdraw in openingAndApplicationsStatus test
  18. APPLICATION_STATUS_WITHDRAW_N = 3
  19. # ID of the membership paid terms used in membership creation test.
  20. MEMBERSHIP_PAID_TERMS = 0
  21. # Council stake amount for first K accounts in council election test.
  22. COUNCIL_STAKE_GREATER_AMOUNT = 3000
  23. # Council stake amount for first the rest participants in council election test.
  24. COUNCIL_STAKE_LESSER_AMOUNT = 2000
  25. # Number of members with greater stake in council election test.
  26. COUNCIL_ELECTION_K = 2
  27. # Balance to spend using spending proposal
  28. SPENDING_BALANCE = 1000
  29. # Minting capacity increment for content working group minting capacity test.
  30. MINTING_CAPACITY_INCREMENT = 20
  31. # Minting capacity for council mint for spending proposal.
  32. COUNCIL_MINTING_CAPACITY = 100000
  33. # Stake amount for Rome runtime upgrade proposal
  34. RUNTIME_UPGRADE_PROPOSAL_STAKE = 100000
  35. # Validator count increment for Validator count test.
  36. VALIDATOR_COUNT_INCREMENT = 2
  37. # Constantinople runtime path
  38. RUNTIME_WASM_PATH = ../../target/release/wbuild/joystream-node-runtime/joystream_node_runtime.compact.wasm
  39. # Working group size N
  40. WORKING_GROUP_N = 3
  41. # Working group application stake
  42. WORKING_GROUP_APPLICATION_STAKE = 10
  43. # Working group role stake
  44. WORKING_GROUP_ROLE_STAKE = 10
  45. # Reward interval for working group tests
  46. LONG_REWARD_INTERVAL = 99999
  47. # First reward interval for working group reward test
  48. SHORT_FIRST_REWARD_INTERVAL = 3
  49. # Reward interval for working group reward test
  50. SHORT_REWARD_INTERVAL = 3
  51. # Payout amount for working group tests
  52. PAYOUT_AMOUNT = 3
  53. # Payout amount for leader-related proposals tests
  54. ALTERED_PAYOUT_AMOUNT = 7
  55. # Mint capacity for storage working group
  56. STORAGE_WORKING_GROUP_MINTING_CAPACITY = 100000
  57. # Default unstaking period for storage working group
  58. STORAGE_WORKING_GROUP_UNSTAKING_PERIOD = 1
  59. # Slash value for manage working group lead testing scenario
  60. SLASH_AMOUNT = 2
  61. # Stake decrement amount for manage working group lead testing scenario
  62. STAKE_DECREMENT = 3
  63. # Mint capacity increment value for working gorup mint capacity test
  64. MINT_CAPACITY_INCREMENT = 1000
  65. # Storage node address to download content from
  66. STORAGE_NODE_URL = http://localhost:3001/asset/v0