7151c71d51
[ #1558 ] morph/client: Remove "could not"/"can't"/"failed to" from error messages
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-12 15:30:12 +03:00
39866a957c
[ #1196 ] morph/client: Fix ArrayFromStackItem()
description
...
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-07-15 16:24:58 +03:00
054bc4a727
[ #11 ] Rename contract-related NeoFS
occurences
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-01-12 08:55:47 +03:00
Pavel Karpy
4582b8f0d4
[ #1711 ] morph: Drop deprecated neo-go calls
...
Does not include notary actor and does not drop the deprecated
`AddNetworkFee`.
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-09-02 10:41:18 +03:00
Evgenii Stratonikov
71b87155ef
[ #521 ] *: use stdlib errors
package
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-05-19 16:42:54 +03:00
Pavel Karpy
7319ca5a00
[ #504 ] morph/client: Add more global config value getters
...
Including:
- typo fix for `StringFromStackItem` error msg
- EigenTrust alpha getter.
- renaming local var in reading uin64 values
from global cfg function
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-05-06 13:52:43 +03:00
Alex Vanin
434ecb41da
[ #478 ] morph/client: Try to parse integer as a byte type
...
Neo node can return integers values where []byte is expected.
To cover such cases, try to parse integers in `BytesFromStackItem`.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-15 17:53:08 +03:00
Alex Vanin
174efc9df3
[ #124 ] Update neo-go to pre-preview4 version
...
Neo-go does not use smartcontract.Parameter to return values
anymore, so it's convertes partly removed from neofs-node.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-02 13:54:31 +03:00
Alex Vanin
e3c060b739
[ #122 ] Add BigIntFromStackItem
...
Neo-go can return big.Int values on stack after contract execution.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-29 10:14:59 +03:00
Alex Vanin
c299de5de9
[ #15 ] Parse StackItem structs as arrays
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-02 11:25:35 +03:00
Alex Vanin
2ab855b2ec
[ #7 ] Allow to get bytes from buffer stackitem
...
Smart-contract can return slice of bytes as buffer type.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-02 11:25:35 +03:00
Alex Vanin
27fcf2cc1d
[ #16 ] Update neo-go and neofs-api-go dependencies
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-02 11:25:35 +03:00
Alex Vanin
0c06eafc60
[ #14 ] Use stackitems in morph/client converters
...
In neo-go v0.91.0 testinvoke returns stackitems.Item
interface, so converters should work with this type.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-02 11:25:35 +03:00
Leonard Lyubich
9e30a87022
[ #11 ] morph: Return nil on Any stack item array type
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-02 11:24:36 +03:00
Stanislav Bogatyrev
b7b5079934
Add Inner Ring code
2020-07-24 17:07:37 +03:00