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

feat: allow clawback vesting accounts to return grants #8616

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

JimLarson
Copy link
Contributor

closes: #8570

Description

Pick up new agd tx auth vesting return-grants command from latest cosmos-sdk.

Adapt lien account wrappers for the new method.

Security Considerations

Allows the limited ability to transfer staked and unbonding tokens. This does not subvert the issues addressed by the unbonding delay, as they can only be transferred to the funder of the grant, not an arbitrary 3rd party.

Scaling Considerations

Like clawback, this is a relatively expensive operation.

Documentation Considerations

Command documentation should be adequate.

Testing Considerations

Need to ensure end-to-end functioning of the command in the presence of the lien wrappers.

Upgrade Considerations

N/A: doesn't affect stored data

@JimLarson JimLarson added enhancement New feature or request agoric-cosmos labels Dec 5, 2023
@JimLarson JimLarson added this to the Upgrade 13 milestone Dec 5, 2023
@JimLarson JimLarson requested a review from michaelfig December 5, 2023 21:47
@JimLarson JimLarson self-assigned this Dec 5, 2023
@@ -106,7 +106,7 @@ t:

TM_URL := file://$(shell go list -m -f '{{ .Dir }}' github.com/tendermint/tendermint)/proto/tendermint
GOGO_PROTO_URL := file://$(shell go list -m -f '{{ .Dir }}' github.com/gogo/protobuf)
IBC_PROTO_URL := file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/ibc-go/v3)/proto/ibc/core
IBC_PROTO_URL := file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/ibc-go/v4)/proto/ibc/core
Copy link
Member

Choose a reason for hiding this comment

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

Is this a leftover from #8409 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably. I was running bin/agd and probably missed the message from this in all the chatter.

Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

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

Cool! With "ignore whitespace" this is a tiny PR. LGTM!

@JimLarson JimLarson added the automerge:rebase Automatically rebase updates, then merge label Dec 6, 2023
@mergify mergify bot merged commit 7728545 into master Dec 6, 2023
67 checks passed
@mergify mergify bot deleted the 8570-return-grants branch December 6, 2023 03:40
mhofman pushed a commit that referenced this pull request Dec 6, 2023
feat: allow clawback vesting accounts to return grants
mhofman pushed a commit that referenced this pull request Dec 6, 2023
feat: allow clawback vesting accounts to return grants
mhofman pushed a commit that referenced this pull request Dec 6, 2023
feat: allow clawback vesting accounts to return grants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agoric-cosmos automerge:rebase Automatically rebase updates, then merge enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow return grant of clawback vesting accounts
3 participants