Changelog for morley-client-0.3.0
0.3.0
- !1281
Use the new binaries names,
octez-client
andoctez-node
- !1270 Remove key prefix in reveal operation
- !1285
Make revealKey API less confusing
- Removed redundant
sender
parameter 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
runTransactionsNonEmpty
toMorley.Client.Action.Transaction
. - Remove
RpcNoOperationsRun
constructor fromIncorrectRpcResponse
as it can't in fact be thrown.
- Introduce
- !1266
Overload
getAlias
- Overloaded
getAlias
andgetAliasMaybe
to work withSomeAddressOrAlias
. getAlias
andgetAliasMaybe
now check that the alias actually exists.- Replaced the
findAddress
andgetAliasEither
methods from theHasTezosClient
typeclass 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.
DuplicateAlias
error 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_active
error - Support getting delegates for implicit addresses
- Support setting contract delegate during origination
- !1260
Add
SomeAddressOrAlias
- Overloaded
resolveAddress
andresolveAddressMaybe
to work withSomeAddressOrAlias
. - Replaced the
transfer --to-implicit
and--to-contract
options with a single--to
option. - Replaced the
resolveAddressMaybe
method from theHasTezosClient
typeclass withfindAddress
.
- Overloaded
- !1226 Implement delegation operation via RPC
- !1257
Export
Morley.Client.Action.Common.runErrorsToClientError
utility 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
Constrained
utility existential - !1247
Refactor MorleyClientEnv
- Removed
MorleyClientEnv'
, constructor now lives inMorleyClientEnv
- Removed
Morley.Client.Env
module MorleyClientEnv
,mkMorleyClientEnv
andMorleyClientEnv
lenses 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).
OpTransfer
now has a list of contract events as the result.
- !1210
Use
consumed_milligas
instead 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
now
andlevel
params 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-client
implementation. - !1147
Fix error handling in morley-client
handleOperationResult
is 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
TransactionOpResp
constructor. - !1127 Add method to get secret key from tezos-client
- !1140
Derive
newtype
Eq
,Ord
,Show
,Buildable
instances 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-extensions
flag to parse.
- Morley language extensions now require
- !1077
Ithaca changes: Use
head~2
block in thebranch
field of RPC operations. - !1034 Add key revealing that uses only RPC.
- !965
Use Morley's fixed-size lists
- Use
SizedList
forfeeOutputParser
- Use
- !1072
Add
runCode
to ClevelandrunContract
now supports parameter/storage values in their RPC representation (i.e. with bigmap IDs).
- !1070
Simplify cleveland's internals & public api
- Removed
runContractSimple
, addedrunContractParameters
and lenses.
- Removed
- !1060
Move
AsRPC
type family tomorley
- !978
Make it difficult to misuse 'Show'
- Use
Buildable
andpretty
preferentially. - Add
Buildable
instances to that effect forFeeParserException
,SecretKeyEncryptionParserException
. - Use
displayException
instead ofshow
where 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.