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

v2alpha1: Add vesting, vault and drain vault contents to Transaction #361

Merged
merged 3 commits into from
Jul 10, 2024

Conversation

kacpersaw
Copy link
Contributor

No description provided.

@kacpersaw kacpersaw requested review from brusherru and poszu July 9, 2024 11:58
@@ -22,10 +22,13 @@ message Transaction {
TRANSACTION_TYPE_UNSPECIFIED = 0;
TRANSACTION_TYPE_SINGLE_SIG_SEND = 1;
TRANSACTION_TYPE_SINGLE_SIG_SPAWN = 2;
TRANSACTION_TYPE_SINGLE_SIG_SELFSPAWN = 3;
TRANSACTION_TYPE_SINGLE_SIG_SELFSPAWN = 3; // deprecated
Copy link
Contributor

Choose a reason for hiding this comment

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

How about using deprecated option?

Suggested change
TRANSACTION_TYPE_SINGLE_SIG_SELFSPAWN = 3; // deprecated
TRANSACTION_TYPE_SINGLE_SIG_SELFSPAWN = 3 [deprecated = true];

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool, I didn't know that

Comment on lines 55 to 56
uint32 vesting_start = 4;
uint32 vesting_end = 5;
Copy link
Contributor

Choose a reason for hiding this comment

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

What kind of units are these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Layer number - added comments

@kacpersaw kacpersaw merged commit cce5b16 into master Jul 10, 2024
1 check passed
@kacpersaw kacpersaw deleted the v2alpha1-tx-update branch July 10, 2024 08:38
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