Skip to content

Releases: warp-contracts/warp

SmartWeave.transaction.origin

31 May 14:33
Compare
Choose a tag to compare

This release adds an option to check the transaction origin inside the contract code - via the SmartWeave.transaction.origin.
Returned values are:

  • L1 - for the direct arweave transactions
  • L2 - for the transactions registered via Warp Sequencer

Additionally - SmartWeave.transaction.reward for L2 transactions is now set to '0'.

What's Changed

Full Changelog: v1.4.9...v1.4.10

Internal Writes discovery fix

31 May 14:30
Compare
Choose a tag to compare

This release fixes an issue with internal writes discovery - in certain scenarios 'view' functions could be considered as 'writes'.

What's Changed

  • fix: inner writes evaluator fix - verify inner call type by @ppedziwiatr in #417

Full Changelog: v1.4.8...v1.4.9

v1.4.8

16 May 11:02
Compare
Choose a tag to compare

This release fixes a bug (#404) in setting the error messages map - which in case of certain caches implementation (like the lmdb) could cause wrong state evaluation.

What's Changed

  • fix: fix for lmdb, undefined error messages by @Tadeuchi in #413

Full Changelog: v1.4.7...v1.4.8

v1.4.7

12 May 09:54
Compare
Choose a tag to compare

Dedicated interface for State Cache

In order to utilze other state cache implementations, such as Warp Contracts Sqlite a dedicated interface is introduced: BasicSortKeyCache

What's Changed

Full Changelog: v1.4.6...v1.4.7

Arweave transactions loader fix

09 May 16:33
Compare
Choose a tag to compare

This release fixes a bug in Arweave GQL transactions fetcher (which is used when 'useArweaveGw parameter is set to true in WarpFactory.forMainnet).

What's Changed

Full Changelog: v1.4.5...v1.4.6

Make SDK fit again

25 Apr 17:22
Compare
Choose a tag to compare

This release extracts the VRF feature to a separate plugin.

As a result - the SDK bundle size was reduced from ~650kb to ~280kb.

The arweave-js library has been updated to the latest available version (1.13.7).

What's Changed

Full Changelog: v1.4.2...v1.4.4

SortKeyCache API update

20 Apr 15:57
Compare
Choose a tag to compare

The SortKeyCache methods rollback and commit now both return Promises.

What's Changed

  • Twl/the one with promise for rollback and commit by @Tadeuchi in #398

Full Changelog: v1.4.1...v1.4.2

web bundle, VM2 plugin

17 Apr 14:59
Compare
Choose a tag to compare
  1. VM2 dependency and implementation for executing contract in an isolated environment has been moved to a dedicated plugin, more info about how to use it in the Warp Academy.
  2. A dedicated web bundle has been created in order to stop forcing the user to import a web version of the sdk (import ... from 'warp-contracts/web') when in browser. From now on, it can be imported with a regular import (import ... from 'warp-contracts'.
  3. Fix for relative import in BundlerSigner class.
  4. Fixes in KV API implementation.

What's Changed

Full Changelog: 1.4.0...v1.4.1

1.4.0 KV Storage enhancements

14 Apr 13:46
Compare
Choose a tag to compare

This release adds new features to the KV Storage:

  • feat: kvStorage is now available for internal writes, reads and views
  • feat: kvStorage.del functionality
  • feat: kvStorage.keys - allows to fetch a set of keys for a specified range
  • feat: kvStorage.kvMap - allows to fetch key-value map for a specified range

It also adds a feature of SmartWeave extensions for Rust contracts.

What's Changed

New Contributors

Full Changelog: v1.3.3...1.4.0

Plugins for rust contracts

29 Mar 15:49
Compare
Choose a tag to compare
Pre-release

We've added support for custom extensions to rust contracts.