Skip to content

Make Governance Proposal Queues more efficient #2637

Closed
@sunnya97

Description

As noticed by @mossid in #2613

we don't have to unmarshal the whole proposal each time(consider the case where a TextProposal has a very long description).

The inactive and active proposal queues in governance currently unmarshal and marshal the entire queue of proposals. These queues should be updated to use a more advanced queue such as the ones used in staking unbonding and redelegation queues.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions