immutability-io / vault-ethereum

A plugin that turns Vault into an Ethereum wallet.
244 stars 66 forks source link

Raw tx #62

Closed cypherhat closed 5 years ago

cypherhat commented 5 years ago

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: