Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Conversation

joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented May 27, 2022

Replaces the current pattern of

contract.functions.myFunction(arg1, arg2)
to
contract.call("myFunction", arg1, arg2)

this gives us a few advantages:

  • always await tx confirmations
  • supports gasless transactions
  • properly route read vs write functions appropriately.

@joaquim-verges joaquim-verges requested review from jnsdls and adam-maj May 27, 2022 22:26
@joaquim-verges joaquim-verges merged commit 7542321 into main May 28, 2022
@joaquim-verges joaquim-verges deleted the joaquim/custom_function_api branch May 28, 2022 00:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant