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

Murisi/move init proposal content #1611

Merged
merged 7 commits into from
Jul 6, 2023
Merged

Conversation

murisi
Copy link
Collaborator

@murisi murisi commented Jun 22, 2023

Increased the variety of test vectors in order to facilitate the implementation of hardware wallets. Also some minor modifications to certain transaction encodings to enable processing on hardware constrained wallet devices. More specifically:

  • Moved the content and part of the type field of InitProposalData out into ExtraData sections so that hardware wallets do not have to process these sections.
  • Added a CLI subcommand to change the validator commission rate. This was necessary in order to be able to generate test vectors for CommissionChange transactions
  • Modified the test vector script to generate ChangeCommission transactions, and also increased the variety of InitProposalData and VoteProposalData transactions
  • Made the test vector expert output for MASP transactions more intuitive by replacing the transparent MASP pool address with specific full viewing keys and payment addresses

@murisi murisi force-pushed the murisi/move-init-proposal-content branch from 3c409c4 to 7eef159 Compare June 23, 2023 18:58
Copy link
Collaborator

@brentstone brentstone left a comment

Choose a reason for hiding this comment

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

Validator commission rate change things LGTM

Fraccaman
Fraccaman previously approved these changes Jun 28, 2023
@murisi murisi mentioned this pull request Jul 2, 2023
Fraccaman added a commit that referenced this pull request Jul 3, 2023
* origin/murisi/move-init-proposal-content:
  Added changelog entry.
  [fix]: Fixed processing of code inside init-proposal transactions.
  Adjusted expected gas usage in proposal test.
  Added CLI subcommand for validator change commission. Cleared up the MASP source and target in test vector expert view.
  Now moving proposal code into extra section.
  Increased the number of init-proposal and vote-proposal test vectors. Moved init-proposal content into extra data.
@murisi murisi force-pushed the murisi/move-init-proposal-content branch from fd75efd to cbaf707 Compare July 4, 2023 06:19
brentstone added a commit that referenced this pull request Jul 5, 2023
* murisi/move-init-proposal-content:
  Added changelog entry.
  Fixed processing of code inside init-proposal transactions.
  Added CLI subcommand for validator change commission. Cleared up the MASP source and target in test vector expert view.
  Now moving proposal code into extra section.
  Increased the number of init-proposal and vote-proposal test vectors. Moved init-proposal content into extra data.
Fraccaman added a commit that referenced this pull request Jul 6, 2023
* origin/murisi/move-init-proposal-content:
  Added changelog entry.
  Fixed processing of code inside init-proposal transactions.
  Added CLI subcommand for validator change commission. Cleared up the MASP source and target in test vector expert view.
  Now moving proposal code into extra section.
  Increased the number of init-proposal and vote-proposal test vectors. Moved init-proposal content into extra data.
@Fraccaman Fraccaman mentioned this pull request Jul 6, 2023
@brentstone brentstone merged commit 1179811 into main Jul 6, 2023
@brentstone brentstone deleted the murisi/move-init-proposal-content branch July 6, 2023 11:29
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

Successfully merging this pull request may close these issues.

3 participants