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

Subsidy calculation #406

Merged
merged 9 commits into from
May 16, 2022
Merged

Conversation

chaosma
Copy link
Contributor

@chaosma chaosma commented Apr 14, 2022

No description provided.

Copy link
Member

@baumstern baumstern left a comment

Choose a reason for hiding this comment

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

Figured out unwrapping BigInt to bigint fixes the current build failure of maci-core:

error TS2345: Argument of type 'BigInt' is not assignable to parameter of type 'string | number | bigint | boolean'.

core/ts/MaciState.ts Outdated Show resolved Hide resolved
core/ts/MaciState.ts Outdated Show resolved Hide resolved
core/ts/MaciState.ts Outdated Show resolved Hide resolved
core/ts/MaciState.ts Outdated Show resolved Hide resolved
core/ts/MaciState.ts Outdated Show resolved Hide resolved
core/ts/MaciState.ts Outdated Show resolved Hide resolved
core/ts/MaciState.ts Outdated Show resolved Hide resolved
@baumstern

This comment was marked as resolved.

@johnson86tw
Copy link
Contributor

It causes cli/test1.sh fail. As long as I remember from last weekly call, subsidy functionality should be optional.

Agree, this feature had better be optional. People who run QV don't need to do subsidy calculation.

@chaosma
Copy link
Contributor Author

chaosma commented Apr 24, 2022

Figured out unwrapping BigInt to bigint fixes the current build failure of maci-core:

error TS2345: Argument of type 'BigInt' is not assignable to parameter of type 'string | number | bigint | boolean'.

Thanks! updated these changes

Co-authored-by: Daehyun Paik <[email protected]>
@chaosma
Copy link
Contributor Author

chaosma commented Apr 24, 2022

It causes cli/test1.sh fail. As long as I remember from last weekly call, subsidy functionality should be optional.

Agree, this feature had better be optional. People who run QV don't need to do subsidy calculation.

Yeah, I have made the subsidy calculation optional.

@chaosma chaosma merged commit 9a1b571 into privacy-scaling-explorations:v1 May 16, 2022
@baumstern baumstern mentioned this pull request Jun 9, 2022
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