erigontech / erigontech/erigon
Clarification of deprecated NewTransaction method
Open
docs
- Dominant language
- Go
- Stars
- 3.6k
- Forks
- 1.5k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 455
Description
in erigon legacy tx code
```
// NewTransaction creates an unsigned legacy transaction.
//
// Deprecated: use NewTx instead.
func NewTransaction(nonce uint64, to common.Address, amount *uint256.Int, gasLimit uint64, gasPrice *uint256.Int, data []byte) *LegacyTx {
```
but there's no "NewTx" method)
https://github.com/erigontech/erigon/blob/1bbb4a7561a52a3989b85de4f2540d21be6ce8de/execution/types/legacy_tx.go#L139
execution/types/legacy_tx.go:139
Contributor guide
Assessment
This issue has not been assessed yet.