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

🐛 Submission of Treasury Gov action fails #2447

Open
spannercode opened this issue Nov 29, 2024 · 1 comment
Open

🐛 Submission of Treasury Gov action fails #2447

spannercode opened this issue Nov 29, 2024 · 1 comment
Assignees
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar

Comments

@spannercode
Copy link
Contributor

spannercode commented Nov 29, 2024

Area

Proposal Pillar

Domain

preview.gov.tools

Which wallet were you using?

Eternal

Context

Submitting a treasury withdrawal proposal as Gov Action currently fails with the following console log.

index-bf5a9cfe.js:90 TypeError: Cannot read properties of undefined (reading 'forEach')
    at Object.buildTreasuryGovernanceAction (index-bf5a9cfe.js:414:50234)
    at app.cjs-df80b02d.js:139:140290
    at M2 (app.cjs-df80b02d.js:85:12569)
    at Generator.<anonymous> (app.cjs-df80b02d.js:85:14053)
    at Generator.next (app.cjs-df80b02d.js:85:13032)
    at _s2 (app.cjs-df80b02d.js:85:10225)
    at F (app.cjs-df80b02d.js:85:10436)

Here is a screenshot of submission:
Screenshot 2024-11-29 at 15 05 16

Steps to reproduce

  1. Create a normal treasury withdrawal proposal
  2. From the proposal, try submitting as Governance action
  3. Follow the guided form to download and host the metadata data.jsonld and fill in the metadata URL
  4. Click submit to submit the govenance action.
  5. Nothing happens on the UI after the progress spinner disappears.
  6. Check console

Actual behavior

Submission of the treasury withdrawal proposal as governance action leads to a progress spinner which disappears and nothing happens.

Expected behavior

User should have been asked to sign the transaction and the treasury withdrawal governance action should have been successfully submitted.

Related issue:

@MSzalowski
Copy link
Contributor

That is on the pillar side.

API of the builder has changed to support multiple addresses which is not yet supported in pdf-ui-v0.5.1.

Here is the documentation on how to build that transaction:
https://github.com/IntersectMBO/govtool/wiki/How-to-submit-a-Governance-Action-using-GovTool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar
Projects
Status: No status
Status: In QA
Development

No branches or pull requests

4 participants