Skip to content

Commit

Permalink
Merge pull request #4482 from Joystream/mainnet
Browse files Browse the repository at this point in the history
Mainnet Release
  • Loading branch information
bedeho committed Dec 10, 2022
2 parents 21b3931 + a01b261 commit d8dd45d
Show file tree
Hide file tree
Showing 81 changed files with 16,819 additions and 965 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/joystream-node-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
repository=${{ env.REPOSITORY }} dockerfile=${{ matrix.file }} \
platform=${{ matrix.platform }} \
cargo_features='' \
code_shasum=${{ needs.repo_check.outputs.shasum }}"
code_shasum=${{ needs.repo-check.outputs.shasum }}"
if: ${{ steps.compute_image_exists.outputs.image_exists == 1 }}

- name: Delete CloudFormation Stack
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ yarn start
```sh
git checkout master
WASM_BUILD_TOOLCHAIN=nightly-2022-05-11 cargo build --release
./target/release/joystream-node -- --pruning archive --chain testnets/joy-testnet-7-carthage.json
./target/release/joystream-node -- --pruning archive --chain joy-mainnet.json
```

Learn more about [joystream-node](bin/node/README.md).
Expand Down
2 changes: 1 addition & 1 deletion bin/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ['Joystream contributors']
build = 'build.rs'
edition = '2018'
name = 'joystream-node'
version = '7.4.1'
version = '8.0.0'
default-run = "joystream-node"

[[bin]]
Expand Down
4 changes: 2 additions & 2 deletions bin/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ this script will build and run a fresh new local development chain (purging exis
Use the `--chain` argument, and specify the path to the genesis `chain.json` file for that public network. The JSON "chain spec" files for Joystream public networks can be found in [../testnets/](../testnets/).

```bash
./target/release/joystream-node --chain testnets/joy-testnet-7-carthage.json
./target/release/joystream-node --chain joy-mainnet.json
```

### Tests and code quality
Expand Down Expand Up @@ -83,5 +83,5 @@ WASM_BUILD_TOOLCHAIN=nightly-2022-05-11 cargo +nightly-2022-05-11 install joystr
Now you can run and connect to the testnet:

```bash
joystream-node --chain testnets/joy-testnet-7-carthage.json
joystream-node --chain joy-mainnet.json
```
2 changes: 1 addition & 1 deletion bin/utils/chain-spec-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ['Joystream contributors']
build = 'build.rs'
edition = '2018'
name = 'chain-spec-builder'
version = '6.8.0'
version = '8.0.0'

[dependencies]
enum-utils = "0.1.2"
Expand Down
2 changes: 1 addition & 1 deletion chain-metadata.json

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $ npm install -g @joystream/cli
$ joystream-cli COMMAND
running command...
$ joystream-cli (-v|--version|version)
@joystream/cli/0.9.0 darwin-x64 node-v14.16.1
@joystream/cli/0.10.0 darwin-x64 node-v14.16.1
$ joystream-cli --help [COMMAND]
USAGE
$ joystream-cli COMMAND
Expand Down Expand Up @@ -1887,9 +1887,9 @@ ARGUMENTS
WGAPPLICATIONID Working Group Application ID
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--useMemberId=useMemberId
Expand All @@ -1910,9 +1910,9 @@ USAGE
$ joystream-cli working-groups:apply
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--answers=answers
Expand Down Expand Up @@ -1951,9 +1951,9 @@ ARGUMENTS
OPENINGID Opening ID
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--useMemberId=useMemberId
Expand All @@ -1977,9 +1977,9 @@ OPTIONS
-e, --edit
If provided along with --input - launches in edit mode allowing to modify the input before sending the exstinsic
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
-i, --input=input
Expand Down Expand Up @@ -2023,9 +2023,9 @@ ARGUMENTS
AMOUNT Amount of JOY to decrease the current worker stake by
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--useMemberId=useMemberId
Expand All @@ -2049,9 +2049,9 @@ ARGUMENTS
WORKERID Worker ID
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--penalty=penalty
Expand All @@ -2078,9 +2078,9 @@ USAGE
$ joystream-cli working-groups:fillOpening
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--applicationIds=applicationIds
Expand Down Expand Up @@ -2110,9 +2110,9 @@ ARGUMENTS
AMOUNT Amount of JOY to increase the current stake by
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--useMemberId=useMemberId
Expand All @@ -2133,9 +2133,9 @@ USAGE
$ joystream-cli working-groups:leaveRole
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--rationale=rationale
Expand All @@ -2158,9 +2158,9 @@ USAGE
$ joystream-cli working-groups:opening
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--id=id
Expand All @@ -2187,9 +2187,9 @@ USAGE
$ joystream-cli working-groups:openings
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--upcoming
Expand All @@ -2213,9 +2213,9 @@ USAGE
$ joystream-cli working-groups:overview
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--useMemberId=useMemberId
Expand All @@ -2236,9 +2236,9 @@ USAGE
$ joystream-cli working-groups:removeUpcomingOpening
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
-i, --id=id
Expand All @@ -2262,9 +2262,9 @@ USAGE
$ joystream-cli working-groups:setDefaultGroup
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--useMemberId=useMemberId
Expand All @@ -2289,9 +2289,9 @@ ARGUMENTS
AMOUNT Slash amount
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--rationale=rationale
Expand All @@ -2314,9 +2314,9 @@ USAGE
$ joystream-cli working-groups:updateGroupMetadata
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
-i, --input=input
Expand All @@ -2343,9 +2343,9 @@ ARGUMENTS
ADDRESS New reward account address (if omitted, can be provided interactivel)
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--useMemberId=useMemberId
Expand All @@ -2369,9 +2369,9 @@ ARGUMENTS
ADDRESS New role account address (if omitted, can be provided interactively)
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--useMemberId=useMemberId
Expand All @@ -2396,9 +2396,9 @@ ARGUMENTS
NEWREWARD New reward
OPTIONS
-g, --group=(storageProviders|curators|forum|membership|gateway|builders|humanResources|marketing|distributors)
-g, --group=(storageProviders|curators|forum|membership|app|builders|humanResources|marketing|distributors)
The working group context in which the command should be executed
Available values are: storageProviders, curators, forum, membership, gateway, builders, humanResources, marketing,
Available values are: storageProviders, curators, forum, membership, app, builders, humanResources, marketing,
distributors.
--useMemberId=useMemberId
Expand Down
4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@joystream/cli",
"description": "Command Line Interface for Joystream community and governance activities",
"version": "0.9.0",
"version": "0.10.0",
"author": "Leszek Wiesner",
"bin": {
"joystream-cli": "./bin/run"
Expand All @@ -12,7 +12,7 @@
"@apollo/client": "^3.3.13",
"@ffprobe-installer/ffprobe": "^1.4.1",
"@joystream/metadata-protobuf": "^2.5.0",
"@joystream/types": "^0.20.4",
"@joystream/types": "^0.20.5",
"@oclif/command": "^1.5.19",
"@oclif/config": "^1.14.0",
"@oclif/plugin-autocomplete": "^0.2.0",
Expand Down
2 changes: 1 addition & 1 deletion cli/src/Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const apiModuleByGroup = {
[WorkingGroups.Curators]: 'contentWorkingGroup',
[WorkingGroups.Forum]: 'forumWorkingGroup',
[WorkingGroups.Membership]: 'membershipWorkingGroup',
[WorkingGroups.Gateway]: 'gatewayWorkingGroup',
[WorkingGroups.App]: 'appWorkingGroup',
[WorkingGroups.Builders]: 'operationsWorkingGroupAlpha',
[WorkingGroups.HumanResources]: 'operationsWorkingGroupBeta',
[WorkingGroups.Marketing]: 'operationsWorkingGroupGamma',
Expand Down
4 changes: 2 additions & 2 deletions cli/src/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export enum WorkingGroups {
Builders = 'builders',
HumanResources = 'humanResources',
Marketing = 'marketing',
Gateway = 'gateway',
App = 'app',
Distribution = 'distributors',
}

Expand All @@ -73,7 +73,7 @@ export const AvailableGroups: readonly WorkingGroups[] = [
WorkingGroups.Curators,
WorkingGroups.Forum,
WorkingGroups.Membership,
WorkingGroups.Gateway,
WorkingGroups.App,
WorkingGroups.Builders,
WorkingGroups.HumanResources,
WorkingGroups.Marketing,
Expand Down

0 comments on commit d8dd45d

Please sign in to comment.