[#496] morph/wrappers: Deprecate all notary-dedicated methods

All client wrappers should use underlying static client with enabled notary
work mode in order to produce invocations of notary contract.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-05-25 15:16:59 +03:00 committed by Alex Vanin
parent 9f122f279a
commit 8d201f920e
3 changed files with 10 additions and 0 deletions

View file

@ -43,6 +43,9 @@ func (c *Client) Put(args PutArgs) error {
// PutViaNotary invokes notary call of "put reputation value" method of
// reputation contract.
//
// Deprecated: construct underlying StaticClient with TryNotary() option
// and use Put.
func (c *Client) PutViaNotary(args PutArgs) error {
err := c.client.NotaryInvoke(
c.putMethod,