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

SDK changes to help the interface #1238

Merged
merged 4 commits into from
Jun 5, 2023
Merged

Conversation

mateuszjasiuk
Copy link
Contributor

@mateuszjasiuk mateuszjasiuk commented Mar 20, 2023

Added multicore feature flag to the shared and core.

  • So we can submit shielded transfers in the browser using one thread

Changed ShieldedUtils trait to be async.

  • because load/save actions in JS are async

Before merging this, it would be nice to change masp_proofs, to be able to turn off the multicore in librustzcash.
Something like this:

-multicore = ["bellman/multicore"]
+multicore = ["bellman/multicore, zcash_proofs/multicore"]

With those changes shielded transfers should work in browser.

@mateuszjasiuk mateuszjasiuk force-pushed the mateusz/shared-sdk-integration-wip branch from 0a1d08f to 8c0bb97 Compare March 20, 2023 16:31
@cwgoes
Copy link
Contributor

cwgoes commented May 11, 2023

What changes does this make, and do we still need them? If so, can you rebase on @juped's SDK branch?

@mateuszjasiuk
Copy link
Contributor Author

mateuszjasiuk commented May 11, 2023

@cwgoes

What changes does this make, and do we still need them? If so, can you rebase on @juped's SDK branch?

So these changes are needed for shielded transfers to work. I would rather add them after Ray merges Sdk branch to main. The reasons are:

  • namada-interface main targets the namada branch that Ray is merging
  • in this PR namada points to local versions of masp_proofs and masp_primitives which also have few changes

I think the best approach would be for Ray to finish the merge, then change masp_primitives and masp_proofs(I think change there is only with feature flags, but need to double check), and then merge those changes.

@adrianbrink adrianbrink changed the title wip SDK changes to help the interface May 12, 2023
@adrianbrink adrianbrink mentioned this pull request May 12, 2023
10 tasks
Base automatically changed from mariari/shared-sdk-integration to main May 17, 2023 18:53
@mateuszjasiuk mateuszjasiuk force-pushed the mateusz/shared-sdk-integration-wip branch 2 times, most recently from 844c58d to 8da0c27 Compare May 18, 2023 11:29
@cwgoes cwgoes force-pushed the mateusz/shared-sdk-integration-wip branch from 1ba2335 to e72eb4c Compare May 19, 2023 08:56
cwgoes added a commit that referenced this pull request May 19, 2023
* mateusz/shared-sdk-integration-wip:
  feat: point to the masp_proofs with correct multicore feature flag
  feat: disable multicore ff by default, make ShieldedUtils trait async
@tzemanovic tzemanovic mentioned this pull request May 19, 2023
@tzemanovic tzemanovic force-pushed the mateusz/shared-sdk-integration-wip branch from e72eb4c to ec64402 Compare May 21, 2023 06:53
@tzemanovic tzemanovic marked this pull request as ready for review May 21, 2023 06:53
tzemanovic added a commit that referenced this pull request May 21, 2023
* mateusz/shared-sdk-integration-wip:
  changelog: add #1238
  wasm: update checksums
  feat: point to the masp_proofs with correct multicore feature flag
  feat: disable multicore ff by default, make ShieldedUtils trait async
  format: rustfmt for incorrect sdk-wallet-force commits
  changelog: add #925, update
  changelog: add #889
  DoS checks in fee specs for fee unshielding
  ci: remove clippy-abcipp check
  Adjusts block proposer address in fee specs
  Improves unshielding tx verification in fee specs
  Updates tendermint link in fee specs
  Improves gas accounting in specs
  Updates check table in fee specs
  Misc updates to fee specs
  Fixes wal in fee specs
  Adds protocol transactions to fee specs
  Adds governance proposals to fee specs
  Fixes unshielding in fee specs
  Enforces tx type order in fee specs
  Refactors sections of fee specs
  Adds unshielding to fee specs
  Updates fee specs
  Adds fee specs
@tzemanovic tzemanovic mentioned this pull request May 21, 2023
@Fraccaman Fraccaman merged commit 8410fd3 into main Jun 5, 2023
@Fraccaman Fraccaman deleted the mateusz/shared-sdk-integration-wip branch June 5, 2023 03:18
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.

4 participants