-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Currently, sdk pulls ledger from polkadot-js, then send those ledger to wasm, there should be some overhead between js and wasm.
Related code: https://github.com/Manta-Network/sdk/blob/main/manta-js/package/src/api/index.js#L120
let result = await this.api.rpc.mantaPay.pull_ledger_diff(
checkpoint,
this.maxReceiversPullSize,
this.maxSendersPullSize
);And some crates support wasm, like jsonrpsee/reqwests.
Before we move this part to wasm, we should know whether it's worth to do it. Knowing how much overhead between js and wasm is necessary.
Metadata
Metadata
Assignees
Labels
No labels