This PR consolidates Authority.setManifest (authority) and Authority.SetManifest (userapi) after the refactoring in #583. This is more or less a move of the function body from one file to another, except that the generated seed could now be returned to the user (for that to work, however, bae8e7f needs to change the Manifest definition first).
I tried to ensure that all test cases removed from authority_test.go are reflected in userapi_test.go, and it turned out we already covered most of it there.
This PR consolidates
Authority.setManifest
(authority) andAuthority.SetManifest
(userapi) after the refactoring in #583. This is more or less a move of the function body from one file to another, except that the generated seed could now be returned to the user (for that to work, however, bae8e7f needs to change theManifest
definition first).I tried to ensure that all test cases removed from
authority_test.go
are reflected inuserapi_test.go
, and it turned out we already covered most of it there.