To support signing binary transaction data, sign-tx method was enhanced to allow transaction data to be read from a file. Also, the packaging of the Vault codebase has changed, so a general refactor to align with the current packaging was performed. As a result, it became apparent that vendoring (go mod vendor) was necessary.
Motivation and Context
The Vault API does not support sending binary data. Thus, reading from a file is necessary.
How Has This Been Tested?
Regression on methods. Compare sign-tx to with data supplied directly vs. data read from file.
Screenshots (if appropriate):
Types of changes
[x] Documentation enhancement
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
Description
To support signing binary transaction data,
sign-tx
method was enhanced to allow transaction data to be read from a file. Also, the packaging of the Vault codebase has changed, so a general refactor to align with the current packaging was performed. As a result, it became apparent that vendoring (go mod vendor
) was necessary.Motivation and Context
The Vault API does not support sending binary data. Thus, reading from a file is necessary.
How Has This Been Tested?
Regression on methods. Compare
sign-tx
to with data supplied directly vs. data read from file.Screenshots (if appropriate):
Types of changes
Checklist: