Proposal to change typegen'd predicate initialisation arguments #2792
petertonysmith94
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the typegen predicate accepts three parameters for initialisation:
provider
data
configurables
fuels-ts/packages/abi-typegen/src/templates/predicate/factory.hbs
Line 60 in 6321c16
If the predicate has no data, but has configurable constants, it is initialised as follows:
I propose that we change the
createInstance
method to accept two arguments (provider
andoptions
):Reference: #2789 (comment)
Beta Was this translation helpful? Give feedback.
All reactions