Skip to content

Commit

Permalink
🚀 Luxor release 3.5.0 (#4836)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdembler authored Apr 18, 2024
2 parents f1ad151 + 7337a7d commit 6254af1
Show file tree
Hide file tree
Showing 55 changed files with 2,634 additions and 579 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
BRANCH=$(echo -n '${{ env.LABEL }}' | cut -d ':' -f2-)
fi
URL_BRANCH=$(echo -n "$BRANCH" | tr -d '#' | tr -c '[:alnum:]' '-' | tr '[:upper:]' '[:lower:]')
URL_BRANCH=$(echo -n "$BRANCH" | sed 's/\//-/' | tr -d '/#' | tr -c '[:alnum:]' '-' | tr '[:upper:]' '[:lower:]')
SUBDOMAIN="${{ env.PROJECT }}-${{ env.PREFIX }}-$URL_BRANCH-joystream"
if [ ${#SUBDOMAIN} -gt 63 ]; then
Expand Down
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]


## [3.5.0 (Luxor)][3.5.0] - 2024-03-18

### Added
- Decrease council budget proposal.
- Update CRT pallet constraints proposal.
- Set Era Payout Damping Factor proposal.

### Fixed
- Keep the app usable if an error happen.
- Number input behavior.

## [3.4.0] - 2024-03-19

### Fixed
Expand Down Expand Up @@ -368,7 +380,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.1.1] - 2022-12-02

[unreleased]: https://github.com/Joystream/pioneer/compare/v3.4.0...HEAD
[unreleased]: https://github.com/Joystream/pioneer/compare/v3.5.0...HEAD
[3.5.0]: https://github.com/Joystream/pioneer/compare/v3.4.0...v3.5.0
[3.4.0]: https://github.com/Joystream/pioneer/compare/v3.3.1...v3.4.0
[3.3.1]: https://github.com/Joystream/pioneer/compare/v3.3.0...v3.3.1
[3.3.0]: https://github.com/Joystream/pioneer/compare/v3.2.0...v3.3.0
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@
"@babel/parser": "~7.21.0",
"@babel/traverse": "~7.21.0",
"@babel/types": "~7.21.0",
"@joystream/types": "4.3.0",
"@polkadot/api": "10.1.4",
"@polkadot/api-contract": "10.1.4",
"@polkadot/api-derive": "10.1.4",
"@polkadot/hw-ledger": "11.1.1",
"@polkadot/keyring": "11.1.1",
"@polkadot/networks": "11.1.1",
"@polkadot/rpc-core": "10.1.4",
"@polkadot/rpc-provider": "10.1.4",
"@polkadot/types": "10.1.4",
"@polkadot/types-known": "10.1.4",
"@polkadot/util": "11.1.1",
"@polkadot/util-crypto": "11.1.1",
"@joystream/types": "4.5.0",
"@polkadot/api": "10.7.1",
"@polkadot/api-contract": "10.7.1",
"@polkadot/api-derive": "10.7.1",
"@polkadot/hw-ledger": "12.2.1",
"@polkadot/keyring": "12.2.1",
"@polkadot/networks": "12.2.1",
"@polkadot/rpc-core": "10.7.1",
"@polkadot/rpc-provider": "10.7.1",
"@polkadot/types": "10.7.1",
"@polkadot/types-known": "10.7.1",
"@polkadot/util": "12.2.1",
"@polkadot/util-crypto": "12.2.1",
"bn.js": "^4.11.9"
},
"engines": {
Expand Down
220 changes: 220 additions & 0 deletions packages/server/src/common/queries/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ enum EventTypeOptions {
CommentPinnedEvent
CommentReactedEvent
CommentTextUpdatedEvent
CouncilBudgetDecreasedEvent
CouncilBudgetFundedEvent
CouncilorRewardUpdatedEvent
EnglishAuctionSettledEvent
Expand Down Expand Up @@ -2590,6 +2591,8 @@ union ProposalDetails =
| UpdateChannelPayoutsProposalDetails
| UpdatePalletFrozenStatusProposalDetails
| UpdateGlobalNftLimitProposalDetails
| DecreaseCouncilBudgetProposalDetails
| UpdateTokenPalletTokenConstraintsProposalDetails

union ProposalStatus =
ProposalStatusDeciding
Expand Down Expand Up @@ -2976,6 +2979,13 @@ type DataObjectTypeVideoThumbnail {
video: Video
}

type DecreaseCouncilBudgetProposalDetails {
"""
Proposed amount of token to burn
"""
amount: BigInt!
}

type DecreaseWorkingGroupLeadStakeProposalDetails {
"""
The lead that should be affected
Expand Down Expand Up @@ -3553,6 +3563,53 @@ type UpdatePalletFrozenStatusProposalDetails {
pallet: String!
}

type UpdateTokenPalletTokenConstraintsProposalDetails {
"""
Proposed maximum patronage yearly interest rate (in part per million)
"""
maxYearlyRate: Int

"""
Proposed minimum value of the slope amm parameter
"""
minAmmSlope: BigInt

"""
Proposed minimum block duration of sales
"""
minSaleDuration: Int

"""
Proposed minimum block duration for a revenue split
"""
minRevenueSplitDuration: Int

"""
Proposed minimum blocks between revenue share issuance block and actual revenue share starting block
"""
minRevenueSplitTimeToStart: Int

"""
Proposed platform fee ratio charged on top of each sale and burned (in part per million)
"""
salePlatformFee: Int

"""
Proposed ratio of fees charged on top of each token purchase from the AMM (in part per million)
"""
ammBuyTxFees: Int

"""
Proposed ratio of fees charged on top of each token sold to the AMM (in part per million)
"""
ammSellTxFees: Int

"""
Proposed bloat bond value used during account creation
"""
bloatBond: BigInt
}

type UpdateWorkingGroupBudgetProposalDetails {
"""
Amount to increase / decrease the working group budget by (will be decudted from / appended to council budget accordingly)
Expand Down Expand Up @@ -5261,6 +5318,17 @@ type CommentConnection {
pageInfo: PageInfo!
}

type CouncilBudgetDecreasedEventEdge {
node: CouncilBudgetDecreasedEvent!
cursor: String!
}

type CouncilBudgetDecreasedEventConnection {
totalCount: Int!
edges: [CouncilBudgetDecreasedEventEdge!]!
pageInfo: PageInfo!
}

type CouncilBudgetFundedEventEdge {
node: CouncilBudgetFundedEvent!
cursor: String!
Expand Down Expand Up @@ -22796,6 +22864,81 @@ input ChannelVisibilitySetByModeratorEventUpdateInput {
rationale: String
}

input CouncilBudgetDecreasedEventWhereInput {
id_eq: ID
id_in: [ID!]
createdAt_eq: DateTime
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
createdById_eq: ID
createdById_in: [ID!]
updatedAt_eq: DateTime
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
updatedById_eq: ID
updatedById_in: [ID!]
deletedAt_all: Boolean
deletedAt_eq: DateTime
deletedAt_lt: DateTime
deletedAt_lte: DateTime
deletedAt_gt: DateTime
deletedAt_gte: DateTime
deletedById_eq: ID
deletedById_in: [ID!]
inExtrinsic_eq: String
inExtrinsic_contains: String
inExtrinsic_startsWith: String
inExtrinsic_endsWith: String
inExtrinsic_in: [String!]
inBlock_eq: Int
inBlock_gt: Int
inBlock_gte: Int
inBlock_lt: Int
inBlock_lte: Int
inBlock_in: [Int!]
network_eq: Network
network_in: [Network!]
indexInBlock_eq: Int
indexInBlock_gt: Int
indexInBlock_gte: Int
indexInBlock_lt: Int
indexInBlock_lte: Int
indexInBlock_in: [Int!]
amount_eq: BigInt
amount_gt: BigInt
amount_gte: BigInt
amount_lt: BigInt
amount_lte: BigInt
amount_in: [BigInt!]
AND: [CouncilBudgetDecreasedEventWhereInput!]
OR: [CouncilBudgetDecreasedEventWhereInput!]
NOT: [CouncilBudgetDecreasedEventWhereInput!]
}

input CouncilBudgetDecreasedEventWhereUniqueInput {
id: ID!
}

input CouncilBudgetDecreasedEventCreateInput {
inExtrinsic: String
inBlock: Float!
network: Network!
indexInBlock: Float!
amount: String!
}

input CouncilBudgetDecreasedEventUpdateInput {
inExtrinsic: String
inBlock: Float
network: Network
indexInBlock: Float
amount: String
}

input CouncilBudgetFundedEventWhereInput {
id_eq: ID
id_in: [ID!]
Expand Down Expand Up @@ -29529,6 +29672,47 @@ type BudgetRefillPlannedEvent implements Event & BaseGraphQLObject {
nextRefillInBlock: Int!
}

type CouncilBudgetDecreasedEvent implements Event & BaseGraphQLObject {
id: ID!
createdAt: DateTime!
createdById: ID!
updatedAt: DateTime
updatedById: ID
deletedAt: DateTime
deletedById: ID
version: Int!

"""
Hash of the extrinsic which caused the event to be emitted
"""
inExtrinsic: String

"""
Blocknumber of the block in which the event was emitted.
"""
inBlock: Int!

"""
Network the block was produced in
"""
network: Network!

"""
Index of event in block from which it was emitted.
"""
indexInBlock: Int!

"""
Filtering options for interface implementers
"""
type: EventTypeOptions

"""
Funding amount.
"""
amount: BigInt!
}

type CouncilBudgetFundedEvent implements Event & BaseGraphQLObject {
id: ID!
createdAt: DateTime!
Expand Down Expand Up @@ -31193,6 +31377,23 @@ type Query {
where: CommentWhereInput
orderBy: [CommentOrderByInput!]
): CommentConnection!
councilBudgetDecreasedEvents(
offset: Int
limit: Int = 50
where: CouncilBudgetDecreasedEventWhereInput
orderBy: [CouncilBudgetDecreasedEventOrderByInput!]
): [CouncilBudgetDecreasedEvent!]!
councilBudgetDecreasedEventByUniqueInput(
where: CouncilBudgetDecreasedEventWhereUniqueInput!
): CouncilBudgetDecreasedEvent
councilBudgetDecreasedEventsConnection(
first: Int
after: String
last: Int
before: String
where: CouncilBudgetDecreasedEventWhereInput
orderBy: [CouncilBudgetDecreasedEventOrderByInput!]
): CouncilBudgetDecreasedEventConnection!
councilBudgetFundedEvents(
offset: Int
limit: Int = 50
Expand Down Expand Up @@ -34940,6 +35141,25 @@ enum CommentOrderByInput {
isEdited_DESC
}

enum CouncilBudgetDecreasedEventOrderByInput {
createdAt_ASC
createdAt_DESC
updatedAt_ASC
updatedAt_DESC
deletedAt_ASC
deletedAt_DESC
inExtrinsic_ASC
inExtrinsic_DESC
inBlock_ASC
inBlock_DESC
network_ASC
network_DESC
indexInBlock_ASC
indexInBlock_DESC
amount_ASC
amount_DESC
}

enum CouncilBudgetFundedEventOrderByInput {
createdAt_ASC
createdAt_DESC
Expand Down
20 changes: 10 additions & 10 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joystream/pioneer",
"version": "3.4.0",
"version": "3.5.0",
"license": "GPL-3.0-only",
"scripts": {
"build": "node --max_old_space_size=4096 ./build.js",
Expand Down Expand Up @@ -29,19 +29,19 @@
"@joystream/js": "1.10.0",
"@joystream/markdown-editor": "^0.1.0",
"@joystream/metadata-protobuf": "2.15.0",
"@joystream/types": "4.3.0",
"@joystream/types": "4.5.0",
"@nivo/bar": "^0.79.1",
"@nivo/core": "^0.79.0",
"@noble/hashes": "^1.1.5",
"@oneidentity/zstd-js": "^1.0.3",
"@polkadot/api": "10.1.4",
"@polkadot/extension-dapp": "0.45.3",
"@polkadot/keyring": "11.1.1",
"@polkadot/react-identicon": "3.1.1",
"@polkadot/types": "10.1.4",
"@polkadot/ui-keyring": "3.1.1",
"@polkadot/util": "11.1.1",
"@polkadot/util-crypto": "11.1.1",
"@polkadot/api": "10.7.1",
"@polkadot/extension-dapp": "0.46.3",
"@polkadot/keyring": "12.2.1",
"@polkadot/react-identicon": "3.4.1",
"@polkadot/types": "10.7.1",
"@polkadot/ui-keyring": "3.4.1",
"@polkadot/util": "12.2.1",
"@polkadot/util-crypto": "12.2.1",
"@popperjs/core": "^2.10.2",
"@types/jest": "^27.0.2",
"@types/react": "^17.0.27",
Expand Down
Loading

0 comments on commit 6254af1

Please sign in to comment.