Skip to content

v12.2001.0 (Ephesus)

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Apr 06:42
· 1339 commits to master since this release
e118a4f

Overview of the release

New versions of packages, binaries and applications:

Whats new

Runtime

  • Bug fix in update_channel_payouts implementation
    • proposal creator pays for upload of payload not arbitrary specified account
  • Enabled UpdateChannelPayouts proposal creation
  • Exposed content pallet MinimumCashoutAllowedLimit and MaximumCashoutAllowedLimit constants
  • membership:MemberInvited event payload contains initial balance - #4643
  • Add support for payments with membership:member_remark()
  • Referendum: Add "Opt Out of Voting" feature #2927
  • Removed sudo pallet - aka "Liberated" #4478
  • Adjust constitutionality to max 2 for all proposals #4655
  • Tweak worker remarks - #4644
  • Full list

Cli @joystream/cli

  • New commands added to work with channel payouts:
    • content:channelPayoutProof
    • content:channelPayoutProofAtByteOffset
    • content:channelPayoutsPayloadHeader
    • content:claimChannelReward
    • content:directChannelPayment
    • content:generateChannelPayoutsCommitment
    • content:generateChannelPayoutsPayload
    • content:getPayoutsOnchainCommitment
    • content:updateChannelPayoutsProposal
  • New command to fund council budget
    • council:fundBudget

Argus

No feature changes, primarily code cleanup (no more sudo helper functions) and dependency updates.

  • dev:batchUpload command was removed as it relied on no longer available sudo extrinsic
  • Any other references to sudo were removed (not affecting any functionality besides the removed dev:batchUpload command)
  • Updated @joystream/types and @joystream/metadata-protobuf dependencies
  • Minor fix for invalid elasticsearch log metadata format in verbose mode (#3877)

Colossus

No feature changes, primarily code cleanup (no more sudo helper functions) and dependency updates.

Query-Node

  • New mappings to support channel payouts features
  • Adds support to the Query Node for successfully processing the events across Runtime upgrades.
    • Previously the event type signature generated by @joystream/hydra-typegen,e.g., for a MemberRemarked event, looked as Members.MemberRemarkedEvent, now the generated event type would look as Members_MemberRemarkedEvent_V1001 where suffix(V1001) represents the runtime spec version.
    • The metadata of each spec version - for which the event type should be generated - needs to be part of single directory with spec version as file name (e.g. 1001.json, 2001.json etc). The directory path then should be provided as typegen source in manifest.yml file.

Upgrading from older version is necessary. Assuming master branch is used locally and upstream remote is the official joystream repo, you can take these steps to upgrade:

git pull upstream master
yarn build:packages
./query-node/reset-processor.sh

It will take several minutes to re-process all blocks, so you should not be actively using the query-node during this time.

@joystream/metadata-protobuf

  • ChannelPayouts protobuf message type added

New @joystream/js library

A utility library to help with interacting with joystream network.
Currently it has functions for working with channel payouts, such as creating channel payout proofs and generating payloads, to help with constructing the claim channel reward extrinsic.

Integration tests

  • Integration tests updated to work without depending on sudo.
  • Additional test coverage for channel payouts

joystream-node

New binaries released. If you do not upgrade, your node will still continue to work normally.

Pioneer

Corresponding release https://github.com/Joystream/pioneer/releases/tag/v1.4.0

Atlas

Corresponding release https://github.com/Joystream/atlas/releases

Mainnet chainspec file (unchanged, just added here for quick access)
https://github.com/Joystream/joystream/releases/download/v12.1000.0/joy-mainnet.json