Skip to content

Releases: hyperweb-io/cw-simulate

v2.8.4

27 Jan 08:05
32d952c
Compare
Choose a tag to compare

What's Changed

  • Fixed fetch balance on every trace step in #33

Full Changelog: 2.8.3...2.8.4

v2.8.3

25 Jan 11:00
9077885
Compare
Choose a tag to compare

What's Changed

  • Added snapshot to fetch balances method in #32

Full Changelog: 2.8.2...2.8.3

v2.8.2

10 Jan 21:07
32bf0d8
Compare
Choose a tag to compare

What's Changed

  • Add missing error TraceLogs on instantiate & execute by @Kiruse in #30
  • Bump json5 from 2.2.1 to 2.2.3 by @dependabot in #29

New Contributors

Full Changelog: 2.8.1...2.8.2

v2.8.1

23 Dec 19:26
1e51573
Compare
Choose a tag to compare

What's Changed

  • Cleanup WASM Module & fix rethrow issue by @Kiruse in #28

Full Changelog: 2.8.0...2.8.1

v2.8.0-rc.2

23 Dec 19:09
Compare
Choose a tag to compare
v2.8.0-rc.2 Pre-release
Pre-release

Fix a logic error with rethrowing rejected promises

v2.8.1-rc.1

23 Dec 16:41
Compare
Choose a tag to compare
v2.8.1-rc.1 Pre-release
Pre-release

Cleanup some WASM module code:

  • Hide methods intended mainly for internal use (i.e. protected)
  • Improve typing robustness
  • Refactor out a Contract class to handle & interface with smart contract instances

v2.8.0

19 Dec 22:47
a4ed361
Compare
Choose a tag to compare

v2.8.0 Persistence Update

Adds a new export persist to CWSimulate with save and async load methods to save & restore the entire state of a CWSimulateApp:

import { persist } from '@terran-one/cw-simulate';

const app = new CWSimulateApp({...});

const bytes = persist.save(app);

persist.load(bytes).then(app => {
    // do something with restored app
})

v2.8.0-rc.3

19 Dec 22:04
Compare
Choose a tag to compare
v2.8.0-rc.3 Pre-release
Pre-release

Fixes an issue where empty Immutable.Lists & Immutable.Maps would point to the same mutable List/Map and cause issues across the data store.

v2.8.0-rc.2

19 Dec 12:29
Compare
Choose a tag to compare
v2.8.0-rc.2 Pre-release
Pre-release

JSON method didn't work so we're moving to binary de/serialization. You can now find cw-simulate/dist/persist sub-module w/ save and load function exports

v2.8.0-rc.1

14 Dec 12:18
Compare
Choose a tag to compare
v2.8.0-rc.1 Pre-release
Pre-release

Introduces CWSimulateApp.deserialize and CWSimulateApp.prototype.serialize methods for serializing simulation state to JSON

Any custom TransactionalLens created on CWSimulateApp.prototype.store.db will also be automatically de/serialized for convenience.