You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending in arguments we collect them as a map of string to interface{}.
Some corner cases:
there are many numeric types in cadence (cadence-lang.org) but we would like a simple number in go to work for all of them. So in the above example if i send in 42 to either numberArg or anotherNumberArg i want them to both work.
atm we have to use overflow.WithAddress to handle sending in an address as a string resolving from flowkit.State
Bonus:
support sending in arguments as cadence argument json spec from the onflow/flow-cli repo as an alternative
DoD:
There is a method to parse arguments into a result object
The text was updated successfully, but these errors were encountered:
The goal of this task is to make the following code in overflow more robust and tested.
[1]
overflow/state.go
Line 226 in b089c0f
Cadence is an interpreted language and a transactions head looks like this
When sending in arguments we collect them as a map of string to interface{}.
Some corner cases:
42
to either numberArg or anotherNumberArg i want them to both work.overflow.WithAddress
to handle sending in an address as a string resolving from flowkit.StateBonus:
DoD:
There is a method to parse arguments into a result object
The text was updated successfully, but these errors were encountered: