refactor: simplify submit transaction methods (#1725)

* To simplify submit transaction requests by having only one version of them that supports both signed/unsigned transactions, the signed versions of them (submitSigned(), submitSignedReliable()) are deleted.

* Their signed logic is merged into submit() and submitAndWait() (renamed from submitReliable()).

* Change order of submit method params to be consistent.

* Add a SubmitOptions method param to include options for wallet to sign a transaction, and booleans to autofill/failHard a transaction.
This commit is contained in:
Omar Khan
2021-10-15 19:10:35 -04:00
committed by GitHub
parent a2f7fe6e23
commit 09a0f2bbcb
14 changed files with 238 additions and 225 deletions

File diff suppressed because one or more lines are too long