Releases: baking-bad/pytezos
Releases Β· baking-bad/pytezos
3.4.2
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
, andBlock_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
3.4.0
3.3.6
3.3.5
Fixed
- Metadata big map can be located in a nested structure, not necessarily on the top-level (as per TZIP-16)
Commits
3.3.4
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
returnsTrue
if the signature is valid (it wasNone
before)
Commits
3.3.3
Fixed
- Always try to fetch the latest storage in off-chain or on-chain views
- Fixed case with
GET
instruction returningNone
with wrong type (key type instead of value type)
Commits
3.3.2
Added
- explicit handling of the 401 to return a more meaningful response [@kaellis]
Fixed
- Regression in offline view behavior for storage with bigmaps
Commits
3.3.1
Added
- Ability to patch VIEW results when using
interpret()
oronchain_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
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)
- Multiple
- Partial support for global constants:
- added new operation kind
register_global_constant
ExecutionContext
allows to register constants as wellContractInterface
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
- added new operation kind
- Minimal support for timelock feature:
chest
,chest_key
, andCHEST
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}
, afterhead~{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)