frostfs-node/pkg/morph/client
Leonard Lyubich 9f122f279a [#496] morph/container: Construct client wrapper in notary mode
Some of the client wrapper's methods should produce notary contract's
invocations. In previous implementation all wrappers provided separate
methods to do it. Since notary and non-notary invocation scenarios have very
different goals, it makes sense to separate the scenarios of using the
client wrapper  at the stage of its creation.

Define `Option` constructor for container client wrapper. Add `TryNotary`
option which enables tries of the notary invocations on underlying static
client. Mark all notary-dedicated methods as deprecated.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-25 16:35:52 +03:00
..
audit [#496] Use single contract wrapper constructor 2021-05-25 13:41:39 +03:00
balance [#496] Remove unused type aliases and errors 2021-05-25 13:41:39 +03:00
container [#496] morph/container: Construct client wrapper in notary mode 2021-05-25 16:35:52 +03:00
neofsid [#505] ir: Process set eACL notifications from Container contract 2021-05-25 16:35:52 +03:00
netmap [#496] Remove unused type aliases and errors 2021-05-25 13:41:39 +03:00
reputation [#496] Use single contract wrapper constructor 2021-05-25 13:41:39 +03:00
client.go [#505] morph/client: Support boolean invocation argument 2021-05-25 16:35:52 +03:00
client_test.go [#505] morph/client: Support boolean invocation argument 2021-05-25 16:35:52 +03:00
constructor.go [#468] Update neo-go to v0.94.1 2021-04-09 11:32:05 +03:00
notary.go [#496] morph/client: fallback to simple invoke in NotaryInvoke 2021-05-25 13:41:39 +03:00
static.go [#496] morph/client: Construct StaticClient in two work modes 2021-05-25 16:35:52 +03:00
util.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
util_test.go [#478] morph/client: Try to parse integer as a byte type 2021-04-15 17:53:08 +03:00