Skip to content

Releases: baking-bad/pytezos

3.4.2

26 Mar 12:24
Compare
Choose a tag to compare

Fixed

  • time_between_blocks no longer exists, minimum_block_delay used instead
  • sandbox tests -> re-create node container per each case (cannot rollback in Tenderbake)
  • REPL: CREATE_CONTRACT is now able to originate contracts with views (by @konchunas)

Added

  • SUB_MUTEZ instruction support in REPL
  • Implementations of Operation_list_hash, Operation_list_list_hash, and Block_payload_hash

Commits

  • 0eab57a: Ability to originate contracts containing views (#292) (Julian Konchunas) #292
  • 46d5271: time_between_blocks replaced with minimum_block_delay (#293) (Michael Zaikin) #293
  • 6d4d4e3: Fix sub_mutez impl | graceful sandbox container shutdown (#294) (Michael Zaikin) #294
  • 4c680e2: Bump version: 3.4.1 β†’ 3.4.2 (Michael Zaikin)

3.4.1

23 Mar 10:10
Compare
Choose a tag to compare

Fixed

  • Issue with lazy_storage_diff

Commits

  • 84eb33d: Fix lazy storage diff key (#290) (Michael Zaikin) #290
  • 3619d57: Bump version: 3.4.0 β†’ 3.4.1 (Michael Zaikin)

3.4.0

22 Mar 17:52
Compare
Choose a tag to compare

Fixed

  • run_code does not merge lazy storage diffs correctly

Changed

  • Default protocol is Ithaca
  • Sandbox node version is updated to v12

Commits

  • 49909fd: Fix lazy_storage_diff issue | Ithaca endpoints (#289) (Michael Zaikin) #289
  • 1cb14e6: Bump version: 3.3.6 β†’ 3.4.0 (Michael Zaikin)

3.3.6

11 Mar 18:52
Compare
Choose a tag to compare

Fixed

  • Logging configuration is not overwritten by pytezos

Commits

  • fa9847e: Do not overwrite logging configuration (#288) (Michael Zaikin) #288
  • e4efc0a: Bump version: 3.3.5 β†’ 3.3.6 (Michael Zaikin)

3.3.5

28 Feb 19:32
Compare
Choose a tag to compare

Fixed

  • Metadata big map can be located in a nested structure, not necessarily on the top-level (as per TZIP-16)

Commits

  • 5f5b5b5: Update README.md (Michael Zaikin)
  • edd0e38: Search for %metadata big_map in nested sturctures (#285) (Michael Zaikin) #285
  • 0407e37: Bump version: 3.3.4 β†’ 3.3.5 (Michael Zaikin)

3.3.4

24 Dec 18:02
Compare
Choose a tag to compare

Fixed

  • New testnet faucet is handled properly (the json format has slightly changed)
  • Incorrect wrapping of static methods while injecting jupyter docs (py3.10)
  • Unable to call intermediate entrypoints from the contract interfaceE
  • Sandboxed node wasn't exposed at localhost causing connection issues on MacOS and Windows
  • Big map key of nested or/pair type wasn't handled correctly

Changed

  • Key.verify returns True if the signature is valid (it was None before)

Commits

  • f68a444: Migrate to hangzhou faucet (#274) (Michael Zaikin) #274
  • 08fbc80: Fixes and improvements 3.3.4 (#279) (Michael Zaikin) #279
  • aa99996: Bump version: 3.3.3 β†’ 3.3.4 (Michael Zaikin)

3.3.3

14 Dec 14:25
Compare
Choose a tag to compare

Fixed

  • Always try to fetch the latest storage in off-chain or on-chain views
  • Fixed case with GET instruction returning None with wrong type (key type instead of value type)

Commits

  • 5b1ce6a: Fix stale views data and lambda exec (#273) (Michael Zaikin) #273
  • 1d07639: Bump version: 3.3.2 β†’ 3.3.3 (Michael Zaikin)

3.3.2

12 Dec 15:44
Compare
Choose a tag to compare

Added

  • explicit handling of the 401 to return a more meaningful response [@kaellis]

Fixed

  • Regression in offline view behavior for storage with bigmaps

Commits

  • 0c2e99f: Handle 401 from RPC node (#268) (Kenneth Ellis) #268
  • 2ed17c9: Fix offchain view regression & do not skip integration tests (#270) (Michael Zaikin) #270
  • a19665c: Update CHANGELOG.md (Michael Zaikin)
  • 67e7df6: Bump version: 3.3.1 β†’ 3.3.2 (Michael Zaikin)

3.3.1

01 Dec 14:01
Compare
Choose a tag to compare

Added

  • Ability to patch VIEW results when using interpret() or onchain_view()

Fixed

  • Results returned from the callback views are now fully-annotated (based on the callback contract type)

Commits

  • d9ec847: Use callback contract type as operation parameter type in TRANSFER_TOKEN instruction (#266) (Michael Zaikin) #266
  • 672541c: Allow to PATCH onchain view results when calling contracts using interpret (#267) (Michael Zaikin) #267
  • 7bcc9a8: Update CHANGELOG.md (Michael Zaikin)
  • 3c2de65: Bump version: 3.3.0 β†’ 3.3.1 (Michael Zaikin)

3.3.0

26 Nov 11:13
Compare
Choose a tag to compare

Added

  • Changelog πŸ˜…
  • Support for on-chain views:
    • Multiple view sections are correctly parsed/unparsed
    • in REPL VIEW instruction works both with self-recursive calls and on-chain contracts (if shell is attached)
    • ContractInterface provides a seamless interface to views (works pretty much the same as with off-chain views)
  • Partial support for global constants:
    • added new operation kind register_global_constant
    • ExecutionContext allows to register constants as well
    • ContractInterface resolves all the constants using the context upon creation
    • Since there is no RPC for retrieving on-chain global constants proper resolving cannot be implemented
    • It is not possible to use constants in transaction parameters and origination script with high-level entities
  • Minimal support for timelock feature:
    • chest, chest_key, and CHEST primitives are supported in parser, but not in the REPL
    • There are currenty no way to construct a timelock

Changed

  • Hangzhou (PtHangz2) RPC endpoint (hangzhou is the default shell now), sandbox image (v11.0-1)

Fixed

  • branch_refused/refused mempool operations are no longer taken in account when estimating counter
  • pytezos sandbox CLI command now works properly and provides almost flextesa-like experience at lesser cost
  • Operation branch was calculated incorrectly based on the TTL (before head~{60-ttl}, after head~{120-ttl})

Commits

  • b8fde57: Add docs for getting the tez balance of an address/contract (#259) (Ryan) #259
  • fd020d6: Remove unused dependencies, ensure michelson_kernel can be imported (#260) (Lev Gorodetskiy) #260
  • 2047ce8: Update dependencies and add counter test (#264) (Michael Zaikin) #264
  • 60fcd01: mempool counter offset filter by status (#263) (Kenneth Ellis) #263
  • 6f7284d: Fix typo (Michael Zaikin)
  • c51282a: Hangzhou support (#265) (Michael Zaikin) #265
  • de28a71: Bump version: 3.2.11 β†’ 3.3.0 (Michael Zaikin)