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

fix tokensRequested #40

Merged
merged 7 commits into from
Aug 2, 2023
Merged

fix tokensRequested #40

merged 7 commits into from
Aug 2, 2023

Conversation

MikeHathaway
Copy link
Contributor

No description provided.

@@ -800,7 +800,7 @@ type DistributionPeriod @entity {
screeningVotesCast: BigDecimal! # number of screening votes cast
votes: [DistributionPeriodVote!]! # Voter info for the distribution period
proposals: [Proposal!]! # List of proposals submitted in the distribution period
totalTokensRequested: BigDecimal! # Total ajna tokens requested by all proposals in the distribution period
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can readd this as an alternative implementation showing the totalTokensRequested of the current list of proposals in the top funded slate

Copy link
Contributor

@EdNoepel EdNoepel left a comment

Choose a reason for hiding this comment

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

Changes look good, but let's leave this open until we've had a chance to debug with @joseherradezVS .

@EdNoepel
Copy link
Contributor

EdNoepel commented Jul 29, 2023

Tested on parvati indexing Goerli; works great. Just waiting on unit test fix to approve this.

@MikeHathaway
Copy link
Contributor Author

Tested on parvati indexing Goerli; works great. Just waiting on unit test fix to approve this.

Fixed the unit tests by hardcoding the encoded proposal params as suggested.

Copy link
Contributor

@EdNoepel EdNoepel left a comment

Choose a reason for hiding this comment

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

In unit tests, please add a comment above each of the hardcoded calldatas indicating what is encoded in the hex string.

@MikeHathaway
Copy link
Contributor Author

In unit tests, please add a comment above each of the hardcoded calldatas indicating what is encoded in the hex string.

Added comments

Copy link
Contributor

@EdNoepel EdNoepel left a comment

Choose a reason for hiding this comment

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

Much thanks.

@EdNoepel EdNoepel merged commit 7d1d9e9 into develop Aug 2, 2023
1 check passed
@EdNoepel EdNoepel deleted the grant-fixes branch August 2, 2023 12:01
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.

2 participants