Joystream / Joystream/joystream

Cannot execute spendFromBudget extrinsic with a rationale

Open
#3,969 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

As the Lead, I'd like to reward my top performing workers with a bonus payment disseminated via operationsWorkingGroupAlpha.spendFromBudget extrinsic. However, when setting a rationale value, I get a validation error:

Screenshot 2022-06-26 at 20 31 57

This value was obtained by hashing the string "This is just a test!!!" using this utility: https://polkadot.js.org/apps/?rpc=wss://rpc.joystream.org:9944/#/utilities/hash

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the validation error on the operationsWorkingGroupAlpha.spendFromBudget extrinsic using the hashed rationale value described in the issue and compare it with a request without rationale. Trace the extrinsic's validation path to identify where the rationale is checked; done means a valid rationale is accepted without the reported validation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.