Joystream / Joystream/joystream

Bounty module: validate oracle input while creating bounty

Open
#3,086 0 comments 1 reaction 1 assignee View on GitHub

@zeeshanakram3 is already working on this.

Since Jan 31, 2022.

bounty-pallet enhancement runtime
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

In the create_bounty extrinsic, while creating bounty ensure_create_bounty_parameters_valid(params: &BountyCreationParameters<T>) function does not validate that oracle: BountyActor<T> input has a valid member.

https://github.com/Joystream/joystream/blob/5920eaeedf19aaf868970657c1536b17f9a8eeb3/runtime-modules/bounty/src/lib.rs#L1256

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.