Skip to content

Commit

Permalink
[nspcc-dev#269] netmap: Return same type from reading methods
Browse files Browse the repository at this point in the history
There is a need to return similar structure of information about the
storage nodes from the contract storage readers. In previous
implementation some methods didn't return node state which can differ
with the one encoded in the node's BLOB.

Define `Node` structure of the information about the storage nodes
recorded in the contract storage. Return `[]Node` from all related
methods.

Also improve docs of touched contract methods.

Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
Leonard Lyubich committed Sep 28, 2022
1 parent 9785f9b commit 0a71256
Show file tree
Hide file tree
Showing 2 changed files with 205 additions and 140 deletions.
Loading

0 comments on commit 0a71256

Please sign in to comment.