Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support creating referenda from Inline preimage #10414

Open
1 of 10 tasks
ggwpez opened this issue Mar 30, 2024 · 0 comments
Open
1 of 10 tasks

Support creating referenda from Inline preimage #10414

ggwpez opened this issue Mar 30, 2024 · 0 comments

Comments

@ggwpez
Copy link

ggwpez commented Mar 30, 2024

  • I'm submitting a ...
  • Bug report
  • Feature request
  • Support request
  • Other
  • What is the current behavior and expected behavior?

PJS currently forces the user to put a preimage hash when submitting a referendum.

Screenshot 2024-03-30 at 14 46 23

It does not offer the option to use Inline bounded calls. These can be up to 128 encoded data and do not need to go through the preimages pallet.
This removes a whole class of errors of users entering wrong preimage hashes or lengths.

It is present in the extrinsics tab, as can be seen here:

Screenshot 2024-03-30 at 14 25 50

  • What is the motivation for changing the behavior?

Ref 514 that was jinxed because of wrong preimage len when the preimage was just 46 byte.

  • Please tell us about your environment:
  • Version:

  • Environment:

    • Node.js
    • Browser
    • Other (limited support for other environments)
  • Language:

    • JavaScript
    • TypeScript (include tsc --version)
    • Other
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant