algorand / algorand/go-algorand

Goal: accept 'transactions.Transaction' in addition to 'transactions.SignedTxn' when reading files

未关闭
#1,978 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
FDE
主要语言
Go
星标
1.4k
派生
537
平均合并
1 天 7 小时
30 天内合并 PR
18

描述

## Summary

The current goal code assumes that files it reads will be in the `transactions.SignedTxn` format. In many cases it is easier for SDKs to write the `transactions.Transaction` format. To increase compatibility goal should have a utility to convert `transactions.Transaction` to `transactions.SignedTxn` when possible.

## Scope/Requirements

1. Write a initializer function which accepts either format.
2. Look for all the goal commands which work with files and initialize the file using the new function.

## Urgency/Relative Priority

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。