Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Propose a transaction creation link #8

Merged
merged 14 commits into from
Aug 18, 2023
Merged

Propose a transaction creation link #8

merged 14 commits into from
Aug 18, 2023

Conversation

rzadp
Copy link
Contributor

@rzadp rzadp commented Aug 17, 2023

  • When prompted, we respond with a TX creation link - example new example
  • Removed restriction to allowed github team - because the bot doesn't send any transactions to the blockchain or doesn't edit anything - we only respond back with a link.
  • Compared the created proposal remark with 3 different on-chain referenda, and all seems good:

The part with transaction hex creation is quite crazy.
We create a Kusama transaction, and then monkey-patch it to be a Polkadot-Collectives transaction.
PRs to make it more sane are welcome - I spent quite some time on it and this is the best I could come up with. 😅

@rzadp rzadp requested a review from a team as a code owner August 17, 2023 16:57
src/referendum-request.ts Outdated Show resolved Hide resolved
src/referendum-request.ts Outdated Show resolved Hide resolved
src/referendum-request.ts Outdated Show resolved Hide resolved
src/referendum-tx.ts Show resolved Hide resolved
src/util.test.ts Outdated Show resolved Hide resolved
src/referendum-tx.ts Show resolved Hide resolved
src/referendum-request.ts Show resolved Hide resolved
src/referendum-request.ts Outdated Show resolved Hide resolved
src/referendum-request.ts Outdated Show resolved Hide resolved
src/referendum-request.ts Outdated Show resolved Hide resolved
rzadp and others added 7 commits August 18, 2023 10:22
Co-authored-by: Javier Bullrich <javier@bullrich.dev>
Co-authored-by: Javier Bullrich <javier@bullrich.dev>
Co-authored-by: Javier Bullrich <javier@bullrich.dev>
@rzadp
Copy link
Contributor Author

rzadp commented Aug 18, 2023

@mordamax @Bullrich I made updates and responded to your reviews.

@rzadp rzadp requested review from mordamax and Bullrich August 18, 2023 11:20
Copy link

@mordamax mordamax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@rzadp rzadp merged commit c19354a into main Aug 18, 2023
@rzadp rzadp deleted the rzadp/propose-tx branch August 18, 2023 15:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants