Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re #432 provide better transfer api - implement estimate utility #434

Closed
wants to merge 5 commits into from
Closed

Conversation

skang404
Copy link

Tezos.estimate.transfer({}) is also available as Tezos.transfer({})._estimate() as a partial fix re #432 .
Does not break the current code.

==========================================

Thank you for your contribution to Taquito.

Before submitting this PR, please make sure:

  • Your code builds cleanly without any errors or warnings
  • You have added unit tests
  • You have added integration tests (if relevant/appropriate)
  • All public methods or types have TypeDoc coverage with a complete description, and ideally an @example
  • You have added or updated corresponding documentation
  • If relevant, you have written a first draft summary describing the change for inclusion in Release Notes.

Release Note Draft Snippet

Transfer API

A new API for making estimate for transfer requests has been added.

…the estimate method

The change creates a new type TransferProvider(similar to other provider types in taquito), which is
made available in the TezosToolkit. TransferProvider implements only the estimate utility in this
change. This change adds redundant estimate code, so that old estimate api can be removed easily.

re #432
@ghost
Copy link

ghost commented Sep 11, 2020

DeepCode failed to analyze this pull request

Something went wrong despite trying multiple times, sorry about that.
Please comment this pull request with "Retry DeepCode" to manually retry, or contact us so that a human can look into the issue.

@skang404 skang404 marked this pull request as draft September 11, 2020 17:02
@skang404 skang404 marked this pull request as ready for review September 11, 2020 17:03
@jevonearth
Copy link
Collaborator

Thank you @skang404 for this WIP. I will close this PR for now, and revisit it with you in the near future. Will be in touch.

@jevonearth jevonearth closed this Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants