Skip to content

Commit

Permalink
Save while syncing (#105)
Browse files Browse the repository at this point in the history
* fix: update test demo

* fix: save utxos to local

* fix: change account

* storage state changes

* fix: storage data

* fix: save data when data is available

* async methods

* fix: update demo

* undo async

* fix: update save utxos

* storage state is JsValue now

* fix: change storage data to JsValue

* test fixed

* fix: add initial seed phrase

* fix: rm unsafe-eval lib scale-codec, temporarily use the old version pull_ledger_diff interface to sync data

* fix: rm polkadotSigner in build transaction

* fix: replace private with zk

* fix: api changed

* fix: replace scale-codec with manta-scale-codec, fix CSP issues

* updated manta-rs dependencies

* changelog

* changelog

* fix: add publicAddress in toPublic, refer:  #102

* fix: update package name

* fix: update name

* fix: move storage logic to external

* fix: upgrade sdk version

* new method

* feat: Save storage state while syncing

* fix: move reset_state to initialWalletSync

* fix: revert max pull size

* swapped get and set storage names

* changelog

---------

Co-authored-by: Daniel <danielnickreal@gmail.com>
  • Loading branch information
SupremoUGH and DanielZhangReal authored Mar 15, 2023
1 parent 5af95be commit b543ef2
Show file tree
Hide file tree
Showing 14 changed files with 703 additions and 696 deletions.
11 changes: 11 additions & 0 deletions manta-js/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]

### Added
- [\#105](https://github.com/Manta-Network/sdk/pull/105) Save while syncing.
- [\#85](https://github.com/Manta-Network/sdk/pull/85) Key-dependent signer function APIs.

### Changed
- [\#103](https://github.com/Manta-Network/sdk/pull/103) Update manta-rs to v0.5.12.

### Deprecated

Expand All @@ -22,3 +24,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Added
- [\#51](https://github.com/Manta-Network/manta-signer/pull/51) Initial version of manta.js
## [2.0.0] 2023-2-24

### Changed
- [\#86](https://github.com/Manta-Network/manta-signer/pull/86) Allow the PrivateWallet class to be initialized without polkadot.js api being connected to a node

## [3.0.0] 2023-3-7

### Changed
[\#102](https://github.com/Manta-Network/sdk/pull/102) Include sink accounts in ToPublic. Removes `assetIdToUInt8Array` function as it encodes values < 255 incorrectly, now changed to use polkadot.js utility function.
Loading

0 comments on commit b543ef2

Please sign in to comment.