Skip to content

Commit 6254af1

Browse files
authored
🚀 Luxor release 3.5.0 (#4836)
2 parents f1ad151 + 7337a7d commit 6254af1

55 files changed

Lines changed: 2634 additions & 579 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/CI.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
BRANCH=$(echo -n '${{ env.LABEL }}' | cut -d ':' -f2-)
111111
fi
112112
113-
URL_BRANCH=$(echo -n "$BRANCH" | tr -d '#' | tr -c '[:alnum:]' '-' | tr '[:upper:]' '[:lower:]')
113+
URL_BRANCH=$(echo -n "$BRANCH" | sed 's/\//-/' | tr -d '/#' | tr -c '[:alnum:]' '-' | tr '[:upper:]' '[:lower:]')
114114
SUBDOMAIN="${{ env.PROJECT }}-${{ env.PREFIX }}-$URL_BRANCH-joystream"
115115
116116
if [ ${#SUBDOMAIN} -gt 63 ]; then

‎CHANGELOG.md‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
11+
## [3.5.0 (Luxor)][3.5.0] - 2024-03-18
12+
13+
### Added
14+
- Decrease council budget proposal.
15+
- Update CRT pallet constraints proposal.
16+
- Set Era Payout Damping Factor proposal.
17+
18+
### Fixed
19+
- Keep the app usable if an error happen.
20+
- Number input behavior.
21+
1022
## [3.4.0] - 2024-03-19
1123

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

369381
## [0.1.1] - 2022-12-02
370382

371-
[unreleased]: https://github.com/Joystream/pioneer/compare/v3.4.0...HEAD
383+
[unreleased]: https://github.com/Joystream/pioneer/compare/v3.5.0...HEAD
384+
[3.5.0]: https://github.com/Joystream/pioneer/compare/v3.4.0...v3.5.0
372385
[3.4.0]: https://github.com/Joystream/pioneer/compare/v3.3.1...v3.4.0
373386
[3.3.1]: https://github.com/Joystream/pioneer/compare/v3.3.0...v3.3.1
374387
[3.3.0]: https://github.com/Joystream/pioneer/compare/v3.2.0...v3.3.0

‎package.json‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@
3434
"@babel/parser": "~7.21.0",
3535
"@babel/traverse": "~7.21.0",
3636
"@babel/types": "~7.21.0",
37-
"@joystream/types": "4.3.0",
38-
"@polkadot/api": "10.1.4",
39-
"@polkadot/api-contract": "10.1.4",
40-
"@polkadot/api-derive": "10.1.4",
41-
"@polkadot/hw-ledger": "11.1.1",
42-
"@polkadot/keyring": "11.1.1",
43-
"@polkadot/networks": "11.1.1",
44-
"@polkadot/rpc-core": "10.1.4",
45-
"@polkadot/rpc-provider": "10.1.4",
46-
"@polkadot/types": "10.1.4",
47-
"@polkadot/types-known": "10.1.4",
48-
"@polkadot/util": "11.1.1",
49-
"@polkadot/util-crypto": "11.1.1",
37+
"@joystream/types": "4.5.0",
38+
"@polkadot/api": "10.7.1",
39+
"@polkadot/api-contract": "10.7.1",
40+
"@polkadot/api-derive": "10.7.1",
41+
"@polkadot/hw-ledger": "12.2.1",
42+
"@polkadot/keyring": "12.2.1",
43+
"@polkadot/networks": "12.2.1",
44+
"@polkadot/rpc-core": "10.7.1",
45+
"@polkadot/rpc-provider": "10.7.1",
46+
"@polkadot/types": "10.7.1",
47+
"@polkadot/types-known": "10.7.1",
48+
"@polkadot/util": "12.2.1",
49+
"@polkadot/util-crypto": "12.2.1",
5050
"bn.js": "^4.11.9"
5151
},
5252
"engines": {

‎packages/server/src/common/queries/schema.graphql‎

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ enum EventTypeOptions {
8787
CommentPinnedEvent
8888
CommentReactedEvent
8989
CommentTextUpdatedEvent
90+
CouncilBudgetDecreasedEvent
9091
CouncilBudgetFundedEvent
9192
CouncilorRewardUpdatedEvent
9293
EnglishAuctionSettledEvent
@@ -2590,6 +2591,8 @@ union ProposalDetails =
25902591
| UpdateChannelPayoutsProposalDetails
25912592
| UpdatePalletFrozenStatusProposalDetails
25922593
| UpdateGlobalNftLimitProposalDetails
2594+
| DecreaseCouncilBudgetProposalDetails
2595+
| UpdateTokenPalletTokenConstraintsProposalDetails
25932596

25942597
union ProposalStatus =
25952598
ProposalStatusDeciding
@@ -2976,6 +2979,13 @@ type DataObjectTypeVideoThumbnail {
29762979
video: Video
29772980
}
29782981

2982+
type DecreaseCouncilBudgetProposalDetails {
2983+
"""
2984+
Proposed amount of token to burn
2985+
"""
2986+
amount: BigInt!
2987+
}
2988+
29792989
type DecreaseWorkingGroupLeadStakeProposalDetails {
29802990
"""
29812991
The lead that should be affected
@@ -3553,6 +3563,53 @@ type UpdatePalletFrozenStatusProposalDetails {
35533563
pallet: String!
35543564
}
35553565

3566+
type UpdateTokenPalletTokenConstraintsProposalDetails {
3567+
"""
3568+
Proposed maximum patronage yearly interest rate (in part per million)
3569+
"""
3570+
maxYearlyRate: Int
3571+
3572+
"""
3573+
Proposed minimum value of the slope amm parameter
3574+
"""
3575+
minAmmSlope: BigInt
3576+
3577+
"""
3578+
Proposed minimum block duration of sales
3579+
"""
3580+
minSaleDuration: Int
3581+
3582+
"""
3583+
Proposed minimum block duration for a revenue split
3584+
"""
3585+
minRevenueSplitDuration: Int
3586+
3587+
"""
3588+
Proposed minimum blocks between revenue share issuance block and actual revenue share starting block
3589+
"""
3590+
minRevenueSplitTimeToStart: Int
3591+
3592+
"""
3593+
Proposed platform fee ratio charged on top of each sale and burned (in part per million)
3594+
"""
3595+
salePlatformFee: Int
3596+
3597+
"""
3598+
Proposed ratio of fees charged on top of each token purchase from the AMM (in part per million)
3599+
"""
3600+
ammBuyTxFees: Int
3601+
3602+
"""
3603+
Proposed ratio of fees charged on top of each token sold to the AMM (in part per million)
3604+
"""
3605+
ammSellTxFees: Int
3606+
3607+
"""
3608+
Proposed bloat bond value used during account creation
3609+
"""
3610+
bloatBond: BigInt
3611+
}
3612+
35563613
type UpdateWorkingGroupBudgetProposalDetails {
35573614
"""
35583615
Amount to increase / decrease the working group budget by (will be decudted from / appended to council budget accordingly)
@@ -5261,6 +5318,17 @@ type CommentConnection {
52615318
pageInfo: PageInfo!
52625319
}
52635320

5321+
type CouncilBudgetDecreasedEventEdge {
5322+
node: CouncilBudgetDecreasedEvent!
5323+
cursor: String!
5324+
}
5325+
5326+
type CouncilBudgetDecreasedEventConnection {
5327+
totalCount: Int!
5328+
edges: [CouncilBudgetDecreasedEventEdge!]!
5329+
pageInfo: PageInfo!
5330+
}
5331+
52645332
type CouncilBudgetFundedEventEdge {
52655333
node: CouncilBudgetFundedEvent!
52665334
cursor: String!
@@ -22796,6 +22864,81 @@ input ChannelVisibilitySetByModeratorEventUpdateInput {
2279622864
rationale: String
2279722865
}
2279822866

22867+
input CouncilBudgetDecreasedEventWhereInput {
22868+
id_eq: ID
22869+
id_in: [ID!]
22870+
createdAt_eq: DateTime
22871+
createdAt_lt: DateTime
22872+
createdAt_lte: DateTime
22873+
createdAt_gt: DateTime
22874+
createdAt_gte: DateTime
22875+
createdById_eq: ID
22876+
createdById_in: [ID!]
22877+
updatedAt_eq: DateTime
22878+
updatedAt_lt: DateTime
22879+
updatedAt_lte: DateTime
22880+
updatedAt_gt: DateTime
22881+
updatedAt_gte: DateTime
22882+
updatedById_eq: ID
22883+
updatedById_in: [ID!]
22884+
deletedAt_all: Boolean
22885+
deletedAt_eq: DateTime
22886+
deletedAt_lt: DateTime
22887+
deletedAt_lte: DateTime
22888+
deletedAt_gt: DateTime
22889+
deletedAt_gte: DateTime
22890+
deletedById_eq: ID
22891+
deletedById_in: [ID!]
22892+
inExtrinsic_eq: String
22893+
inExtrinsic_contains: String
22894+
inExtrinsic_startsWith: String
22895+
inExtrinsic_endsWith: String
22896+
inExtrinsic_in: [String!]
22897+
inBlock_eq: Int
22898+
inBlock_gt: Int
22899+
inBlock_gte: Int
22900+
inBlock_lt: Int
22901+
inBlock_lte: Int
22902+
inBlock_in: [Int!]
22903+
network_eq: Network
22904+
network_in: [Network!]
22905+
indexInBlock_eq: Int
22906+
indexInBlock_gt: Int
22907+
indexInBlock_gte: Int
22908+
indexInBlock_lt: Int
22909+
indexInBlock_lte: Int
22910+
indexInBlock_in: [Int!]
22911+
amount_eq: BigInt
22912+
amount_gt: BigInt
22913+
amount_gte: BigInt
22914+
amount_lt: BigInt
22915+
amount_lte: BigInt
22916+
amount_in: [BigInt!]
22917+
AND: [CouncilBudgetDecreasedEventWhereInput!]
22918+
OR: [CouncilBudgetDecreasedEventWhereInput!]
22919+
NOT: [CouncilBudgetDecreasedEventWhereInput!]
22920+
}
22921+
22922+
input CouncilBudgetDecreasedEventWhereUniqueInput {
22923+
id: ID!
22924+
}
22925+
22926+
input CouncilBudgetDecreasedEventCreateInput {
22927+
inExtrinsic: String
22928+
inBlock: Float!
22929+
network: Network!
22930+
indexInBlock: Float!
22931+
amount: String!
22932+
}
22933+
22934+
input CouncilBudgetDecreasedEventUpdateInput {
22935+
inExtrinsic: String
22936+
inBlock: Float
22937+
network: Network
22938+
indexInBlock: Float
22939+
amount: String
22940+
}
22941+
2279922942
input CouncilBudgetFundedEventWhereInput {
2280022943
id_eq: ID
2280122944
id_in: [ID!]
@@ -29529,6 +29672,47 @@ type BudgetRefillPlannedEvent implements Event & BaseGraphQLObject {
2952929672
nextRefillInBlock: Int!
2953029673
}
2953129674

29675+
type CouncilBudgetDecreasedEvent implements Event & BaseGraphQLObject {
29676+
id: ID!
29677+
createdAt: DateTime!
29678+
createdById: ID!
29679+
updatedAt: DateTime
29680+
updatedById: ID
29681+
deletedAt: DateTime
29682+
deletedById: ID
29683+
version: Int!
29684+
29685+
"""
29686+
Hash of the extrinsic which caused the event to be emitted
29687+
"""
29688+
inExtrinsic: String
29689+
29690+
"""
29691+
Blocknumber of the block in which the event was emitted.
29692+
"""
29693+
inBlock: Int!
29694+
29695+
"""
29696+
Network the block was produced in
29697+
"""
29698+
network: Network!
29699+
29700+
"""
29701+
Index of event in block from which it was emitted.
29702+
"""
29703+
indexInBlock: Int!
29704+
29705+
"""
29706+
Filtering options for interface implementers
29707+
"""
29708+
type: EventTypeOptions
29709+
29710+
"""
29711+
Funding amount.
29712+
"""
29713+
amount: BigInt!
29714+
}
29715+
2953229716
type CouncilBudgetFundedEvent implements Event & BaseGraphQLObject {
2953329717
id: ID!
2953429718
createdAt: DateTime!
@@ -31193,6 +31377,23 @@ type Query {
3119331377
where: CommentWhereInput
3119431378
orderBy: [CommentOrderByInput!]
3119531379
): CommentConnection!
31380+
councilBudgetDecreasedEvents(
31381+
offset: Int
31382+
limit: Int = 50
31383+
where: CouncilBudgetDecreasedEventWhereInput
31384+
orderBy: [CouncilBudgetDecreasedEventOrderByInput!]
31385+
): [CouncilBudgetDecreasedEvent!]!
31386+
councilBudgetDecreasedEventByUniqueInput(
31387+
where: CouncilBudgetDecreasedEventWhereUniqueInput!
31388+
): CouncilBudgetDecreasedEvent
31389+
councilBudgetDecreasedEventsConnection(
31390+
first: Int
31391+
after: String
31392+
last: Int
31393+
before: String
31394+
where: CouncilBudgetDecreasedEventWhereInput
31395+
orderBy: [CouncilBudgetDecreasedEventOrderByInput!]
31396+
): CouncilBudgetDecreasedEventConnection!
3119631397
councilBudgetFundedEvents(
3119731398
offset: Int
3119831399
limit: Int = 50
@@ -34940,6 +35141,25 @@ enum CommentOrderByInput {
3494035141
isEdited_DESC
3494135142
}
3494235143

35144+
enum CouncilBudgetDecreasedEventOrderByInput {
35145+
createdAt_ASC
35146+
createdAt_DESC
35147+
updatedAt_ASC
35148+
updatedAt_DESC
35149+
deletedAt_ASC
35150+
deletedAt_DESC
35151+
inExtrinsic_ASC
35152+
inExtrinsic_DESC
35153+
inBlock_ASC
35154+
inBlock_DESC
35155+
network_ASC
35156+
network_DESC
35157+
indexInBlock_ASC
35158+
indexInBlock_DESC
35159+
amount_ASC
35160+
amount_DESC
35161+
}
35162+
3494335163
enum CouncilBudgetFundedEventOrderByInput {
3494435164
createdAt_ASC
3494535165
createdAt_DESC

‎packages/ui/package.json‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@joystream/pioneer",
3-
"version": "3.4.0",
3+
"version": "3.5.0",
44
"license": "GPL-3.0-only",
55
"scripts": {
66
"build": "node --max_old_space_size=4096 ./build.js",
@@ -29,19 +29,19 @@
2929
"@joystream/js": "1.10.0",
3030
"@joystream/markdown-editor": "^0.1.0",
3131
"@joystream/metadata-protobuf": "2.15.0",
32-
"@joystream/types": "4.3.0",
32+
"@joystream/types": "4.5.0",
3333
"@nivo/bar": "^0.79.1",
3434
"@nivo/core": "^0.79.0",
3535
"@noble/hashes": "^1.1.5",
3636
"@oneidentity/zstd-js": "^1.0.3",
37-
"@polkadot/api": "10.1.4",
38-
"@polkadot/extension-dapp": "0.45.3",
39-
"@polkadot/keyring": "11.1.1",
40-
"@polkadot/react-identicon": "3.1.1",
41-
"@polkadot/types": "10.1.4",
42-
"@polkadot/ui-keyring": "3.1.1",
43-
"@polkadot/util": "11.1.1",
44-
"@polkadot/util-crypto": "11.1.1",
37+
"@polkadot/api": "10.7.1",
38+
"@polkadot/extension-dapp": "0.46.3",
39+
"@polkadot/keyring": "12.2.1",
40+
"@polkadot/react-identicon": "3.4.1",
41+
"@polkadot/types": "10.7.1",
42+
"@polkadot/ui-keyring": "3.4.1",
43+
"@polkadot/util": "12.2.1",
44+
"@polkadot/util-crypto": "12.2.1",
4545
"@popperjs/core": "^2.10.2",
4646
"@types/jest": "^27.0.2",
4747
"@types/react": "^17.0.27",

0 commit comments

Comments
 (0)