Skip to content

Conversation

@andreibancioiu
Copy link
Contributor

@andreibancioiu andreibancioiu commented Apr 4, 2022

Decoupled account and transaction from IProvider.

  • Remove transaction.getAsOnNetwork(). One should use provider.getTransaction() instead.
  • Remove acount.sync(). Replaced by account.update({ nonce, balance}).
  • Remove transaction.send(). Provider.sendTransaction() has to be used instead.

@andreibancioiu andreibancioiu self-assigned this Apr 4, 2022
@andreibancioiu andreibancioiu changed the title Preparatory refactoring for decoupling core objects from IProvider Breaking change: preparatory refactoring for decoupling core objects from IProvider Apr 4, 2022
@andreibancioiu andreibancioiu merged commit a48c77f into main Apr 5, 2022
@andreibancioiu andreibancioiu deleted the account-sync branch April 5, 2022 13:06
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.

4 participants