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

Accept logger object in sdk methods #1966

Open
davidyuk opened this issue Mar 20, 2024 · 0 comments
Open

Accept logger object in sdk methods #1966

davidyuk opened this issue Mar 20, 2024 · 0 comments
Labels

Comments

@davidyuk
Copy link
Member

So, sdk can report stages of operation, like for aeSdk.spend:

  • fetched nonce 4 from node
  • built transaction tx_..., th_...
  • submitted transaction to node
  • transaction not mined with some reason (attempt №1)
  • transaction not mined with some reason (attempt №2)
  • transaction mined

Log entries can be with a type (like built-tx, mining-attempt) for aepps to report operation status. Also, log entry may include a unic operation id so aepp can distinguish statuses for separate spend txs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant