Skip to content

Releases: ergoplatform/sigma-rust

v0.13.1

28 May 13:48
ergo-lib-v0.13.1
77ac37a
Compare
Choose a tag to compare

[0.13.1] - 2021-05-28

Fixed

  • Fix VQL encoding/decoding for signed ints in ranges i32::MIN..-1073741825 and 1073741824..i32::MAX #263;

v0.13.0

26 May 08:13
ergo-lib-v0.13.0
74bc1d3
Compare
Choose a tag to compare

[0.13.0] - 2021-05-26

Added

  • add ErgoTree::template_bytes #274;

Changed

  • encode/decode UnsignedTransaction without id and using ErgoBoxCandidate for outputs instead of ErgoBox #275;

ergo-lib-v0.12.0

20 May 16:58
ergo-lib-v0.12.0
fc57068
Compare
Choose a tag to compare

[0.12.0] - 2021-05-20

Added

  • add Transaction::outputs() returning ErgoBoxes #267;

Changed

  • rename Transaction::outputs() and UnsignedTransaction::outputs() to output_candidates() in WASM (both return ErgoBoxCandidates) #267;

Fixed

  • fix input box lookup on tx signing#268;

v0.11.0

19 May 10:55
ergo-lib-v0.11.0
80f4648
Compare
Choose a tag to compare

[0.11.0] - 2021-05-19

Added

  • ByteArrayToLong ByteArrayToBigInt LongToByteArray IR nodes #244;
  • ErgoTree::constants_len, get_constant, set_constant API for accessing the constants list in ErgoTree #261;

v0.10.0

22 Apr 11:58
ergo-lib-v0.10.0
1e548c9
Compare
Choose a tag to compare

[0.10.0] - 2021-04-22

Added

  • Add MinerPubKey and Global as global variables #232;
  • Implement parser and evaluator for DH tuple #233;
  • Add method descriptions for SContext (serialization) #235
  • Implement GetVar #236
  • Implement Atleast IR node (serialization) #237
  • Implementation of Deserialize{Context,Register} (serialization) #239
  • WASM: fix DataInput construction, ErgoStateContext construction from parsed JSON block headers #238

Changed

  • Explicitly handle errors in SMethod::from_ids & and PropertyCall deserialization #231;
  • Fix flatmap method & GET_VAR opcode #234;

v0.9.0

09 Apr 15:22
ergo-lib-v0.9.0
7243fac
Compare
Choose a tag to compare

[0.9.0] - 2021-04-09

Added

  • Coll.indexOf, flatMap, forall IR nodes (evaluation, serialization) #220;
  • Complete types serialization implementation #223;
  • Tuple constructor evaluation and serialization #223;
  • Type unification (SMethod specialization) #225;
  • SigmaAnd, SigmaOr serialization #225;
  • Contract::ergo_tree() in WASM API;
  • decodePoint IR node (evaluation and serialization) #227;

v0.8.0

22 Mar 11:52
ergo-lib-v0.8.0
388dddc
Compare
Choose a tag to compare

[0.8.0] - 2021-03-22

Added

  • proveDlog, box.creationInfo, Box.id, Coll.exists, SigmaProp.propBytes, Option.isDefined, Option.getOrElse IR nodes (evaluation, serialization) #209;
  • Box.R0..R3 register access #213;
  • - negation for numeric types evaluation and serialization #214;
  • BigInt values support, arithmetic operations (+, -, *, /), - negation, Upcast #216;

v0.7.0

03 Mar 16:28
690bb83
Compare
Choose a tag to compare

[0.7.0] - 2021-03-03

Added

  • ErgoScript compiler pipeline draft (ergoscript-compiler crate) and added a feature(default) "compiler" in ergo-lib with compiler exposed via Contract::compile(source);
  • ErgoTree:to_base16_bytes() returns Base16-encoded serialized bytes;

Changed

  • Extract Ergotree IR with serialization from ergo-lib crate into ergotree-ir crate;
  • Extract ErgoTree IR interpreter from ergo-lib crate into ergotree-interpreter crate;

v0.5.1

17 Feb 15:08
ergo-lib-v0.5.1
53a3d9b
Compare
Choose a tag to compare
  • Explorer v1 API support for box register parsing #197;

v0.5.0

04 Feb 13:59
ergo-lib-v0.5.0
4f3a3b3
Compare
Choose a tag to compare

[0.5.0] - 2021-02-04

Added

  • CalcBlake2b256 IR node evaluation and serialization #179;
  • Arith ops (+, -, *, /) IR node evaluation and serialization #181;
  • Comparison ops (>, >=, <, <=) IR node evaluation and serialization #182;
  • AND, Collection (collection declaration), BinAnd IR nodes evaluation and serialization #183;
  • Or, BinOr IR nodes evaluation and serialization #184;
  • LogicalNot IR nodes evaluation and serialization #185;
  • Map, Filter IR nodes evaluation and serialization #186;
  • BoolToSigmaProp, If, Min, Max IR nodes evaluation and serialization #187;
  • ByIndex, Box.tokens IR nodes evaluation and serialization #188;