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

staking: remove component::FP_SCALING_FACTOR dup #3895

Merged
merged 5 commits into from
Feb 26, 2024

Conversation

erwanor
Copy link
Member

@erwanor erwanor commented Feb 26, 2024

This should fix the wasm build unless something else is wrong. The problem was that we defined the same constant (FP_SCALING_FACTOR) twice, once correctly at the crate-level, and another one in penumbra_stake::component. During development, the latter one was used and created a discreet dependency on the component module.

x-ref #3894

@hdevalence
Copy link
Member

Before merging, can we

@turbocrime
Copy link
Contributor

Screenshot 2024-02-26 at 11 54 35

errors at least local to the crate now

@turbocrime
Copy link
Contributor

made one minor change, building successfully with a dep on this branch, will PR in web repo in a sec

@cratelyn cratelyn added the A-wasm Area: Related to WebAssembly components label Feb 26, 2024
@turbocrime
Copy link
Contributor

Screenshot 2024-02-26 at 12 22 25 jk it works

@hdevalence
Copy link
Member

@turbocrime oh great, is that screenshot also indicating that the updated proof params work with testnet-preview?

@turbocrime
Copy link
Contributor

@turbocrime oh great, is that screenshot also indicating that the updated proof params work with testnet-preview?

they work enough to make a send tx, yes

@hdevalence hdevalence merged commit bc4b854 into main Feb 26, 2024
6 checks passed
@hdevalence hdevalence deleted the erwan/move_scaling_factor branch February 26, 2024 21:35
cratelyn added a commit that referenced this pull request Mar 7, 2024
performs the same cleanup as #3895, but for the `penumbra-app` crate's
manifest.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-wasm Area: Related to WebAssembly components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants