Changelog for morley-client-0.4.0
0.4.0
- !1366
Split instance
Resolve (AddressOrAlias kind)into two- Now, to call
resolveAddresson an alias, wrapping it inAddressAliasis optional - Ditto for
resolveAlias, address andAddressResolved AmbiguousAliaserror is slightly generalizedAmbiguousAliasmoved fromTezosClientErrortoResolveErrorresolveAddressEitherthus doesn't throw anymore, returningLeft AmbiguousAliasinstead.
- Now, to call
- !1364 Update to LTS-21.4 (GHC 9.4.5)
0.3.2
- !1350 Add caching of address/alias mappings to morley-client
- !1357
Better tests for
PACK- Add
pack_dataRPC endpoint support
- Add
- !1361
Add an
Ordinstance forAddressWithAlias - !1345 Add RPC error response logs
- !1342
Replace fmt with prettyprinter
- Improve formatting for operations and errors
- !1323
Trace called contracts on error
- Reduce duplication of RPC types and parse more responses
- Trace internal operations in morley-client
- !1335 Include morley CLI commands with morley-client
- !1340
Remove deprecated types and functions
revealKeyOprevealKeyUnlessRevealedOp
0.3.1
- !1331
Support implicit account tickets
- New
transfer-ticketCLI command; - New operation type,
OpTransferTicket; - Add
ToTAddressinstance forAddressWithAlias;
- New
- !1330 Support ticket balance queries
- !1328 Kill support for TORUs, minimal sr1 address support, tz4 address support
- !1329
Fix gas limit computation
- Fixes a bug where in some cases batched transfer could exceed hard gas limit.
- !1313
Add
contractStateResolvergetter to build Morley interpreter'sContractStatefrom chain. - !1315
Avoid redundant calls to octez-client address store
- Introduce
AddressWithAliasand ways to resolve it (i.e.resolveAddressWithAlias/-Either/-Maybe) - Make RPC revelation and delegation more efficient, deprecate less efficient
revealKeyOpandrevealKeyUnlessRevealedOp - Use
AddressWithAliasin critical code paths and key generators - Add batched delegation
- Introduce
- !1304
Relax lOriginateLargeContract constraints
- Now requires
NiceParameterlike other origination functions instead ofNiceParameterFull
- Now requires
- !1286
Use RPC revealing in
runOperationsNonEmptyHelper- Replace
revealKeywithgetPublicKeyinHasTezosClient. - Move
Morley.Client.Action.Common.revealKeyUnlessRevealedtoTezosClient.Impl. - Implement key revealing in
runOperationsNonEmptyHelpervia prepending the reveal operation to the batch. - Rename
Morley.Client.Action.Reveal.revealKey*to*Op, since those inject raw revelation operations. - Introduce utility versions of
Morley.Client.Action.Reveal.revealKey*that get the key usinggetPublicKey.
- Replace
0.3.0
- !1281
Use the new binaries names,
octez-clientandoctez-node - !1270 Remove key prefix in reveal operation
- !1285
Make revealKey API less confusing
- Removed redundant
senderparameter from functions inMorley.Client.Action.Reveal. They now accept a public key and optionally fee instead, since the sender is uniquely determined by the public key.
- Removed redundant
- !1287
Get rid of RpcNoOperationsRun error
- Introduce
runTransactionsNonEmptytoMorley.Client.Action.Transaction. - Remove
RpcNoOperationsRunconstructor fromIncorrectRpcResponseas it can't in fact be thrown.
- Introduce
- !1266
Overload
getAlias- Overloaded
getAliasandgetAliasMaybeto work withSomeAddressOrAlias. getAliasandgetAliasMaybenow check that the alias actually exists.- Replaced the
findAddressandgetAliasEithermethods from theHasTezosClienttypeclass withgetAliasesAndAddresses.
- Overloaded
- !1259
More options for handling duplicate alias in morley-client
- Added new datatype
Morley.Client.AliasBehavior. - Various origination functions and datatypes now use this datatype instead of a boolean flag.
DuplicateAliaserror is now part ofTezosClientError.
- Added new datatype
- !1258
Support implicit contract delegates and setting delegates during origination
- Fix a small potential bug in RPC error code decoders.
- Parse
deleagate.already_activeerror - Support getting delegates for implicit addresses
- Support setting contract delegate during origination
- !1260
Add
SomeAddressOrAlias- Overloaded
resolveAddressandresolveAddressMaybeto work withSomeAddressOrAlias. - Replaced the
transfer --to-implicitand--to-contractoptions with a single--tooption. - Replaced the
resolveAddressMaybemethod from theHasTezosClienttypeclass withfindAddress.
- Overloaded
- !1226 Implement delegation operation via RPC
- !1257
Export
Morley.Client.Action.Common.runErrorsToClientErrorutility for converting[RunError]toClientRpcError - !1244 Smarter initial gas limit estimation
- !1249 Add getAliasMaybe and getAliasEither to morley-client
- !1227
Add timestamp to morley-client logs
- Omit source locations from logs when verbosity is
<=2.
- Omit source locations from logs when verbosity is
- !1242
Use
Constrainedutility existential - !1247
Refactor MorleyClientEnv
- Removed
MorleyClientEnv', constructor now lives inMorleyClientEnv - Removed
Morley.Client.Envmodule MorleyClientEnv,mkMorleyClientEnvandMorleyClientEnvlenses moved toMorley.Client.Full
- Removed
- !1237 Handle unregistered_delegate error in morley-client
- !1215 Output contract events in morley-client binary
0.2.1
- !1199 Remove HasTezosClient getTezosClientConfig, importKey, get[Public/Secret]Key
- !1212
Get contract events
- Operation result handlers now also return internal operation data.
- Injecting the operation fetches contract events from internal operation data (received from preapply).
OpTransfernow has a list of contract events as the result.
- !1210
Use
consumed_milligasinstead ofconsumed_gas, as the latter is removed in Kathmandu protocol. - !1201
Enforce reveal operation to use key aliases when doing
tezos-client reveal - !1177 Distinguish implicit/contract aliases and addresses on the type level
- !1183 Avoid origination when an alias already exists
0.2.0
- !1161
Remove support for
AliasHint - !1164
Add
nowandlevelparams to the/run_code - !1150
Implement wait-for-operation via RPC
- Block injection is now checked for errors and injection is retried.
- !1159 Add script size calculation to morley-client
- !1088
Move data types related to address aliases to
morley. - !1155
Update operations limits estimation to match the v13.0
tezos-clientimplementation. - !1147
Fix error handling in morley-client
handleOperationResultis now exported fromMorley.Client.Action.Common
- !1114 Update to ghc-9.0.2
- !1108 Remove support for the deprecated morley extensions
- !1133
Add missing fields to
TransactionOpRespconstructor. - !1127 Add method to get secret key from tezos-client
- !1140
Derive
newtypeEq,Ord,Show,Buildableinstances forBlockHash
0.1.2
- !1017 Resolve some TODOs and link TODOs without issue id to the corresponding gitlab tickets.
- !1082 Fix/drop/comment noncanonical Show instances
0.1.1
- !1094
Deprecate morley language extensions
- Morley language extensions now require
--deprecated-morley-extensionsflag to parse.
- Morley language extensions now require
- !1077
Ithaca changes: Use
head~2block in thebranchfield of RPC operations. - !1034 Add key revealing that uses only RPC.
- !965
Use Morley's fixed-size lists
- Use
SizedListforfeeOutputParser
- Use
- !1072
Add
runCodeto ClevelandrunContractnow supports parameter/storage values in their RPC representation (i.e. with bigmap IDs).
- !1070
Simplify cleveland's internals & public api
- Removed
runContractSimple, addedrunContractParametersand lenses.
- Removed
- !1060
Move
AsRPCtype family tomorley - !978
Make it difficult to misuse 'Show'
- Use
Buildableandprettypreferentially. - Add
Buildableinstances to that effect forFeeParserException,SecretKeyEncryptionParserException. - Use
displayExceptioninstead ofshowwhere appropriate.
- Use
0.1.0
Initial release.
A client to interact with the Tezos blockchain, by use of the tezos-node RPC
and/or of the tezos-client binary.