Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Only String argument types is working when sending transaction through through the wallet #15

Closed
m4nuC opened this issue Aug 20, 2021 · 1 comment

Comments

@m4nuC
Copy link

m4nuC commented Aug 20, 2021

When sending a transaction it seems that only the string type is currently working.

ie.: this will work

{
  "code":"transaction(greeting: String) { execute { log(greeting.concat(\", World!\")) }}",
  "arguments":[{"type":"String","value":"Hello"}]
}

But this won't

{
  "code":"transaction(greeting: UInt64) { execute { log(greeting.concat(\", World!\")) }}",
  "arguments":[{"type":"UInt64","value":"Hello"}]
}

Error is:

Error while processing job: failed to decode value: invalid JSON Cadence structure

pull bot pushed a commit to SaintPatricks-Github-Coinpot-Club/flow-wallet-api-node-demo that referenced this issue Aug 22, 2021
@psiemens
Copy link
Contributor

Hey @m4nuC, I migrated this issue to the new upstream repository here: flow-hydraulics/flow-wallet-api#153

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

No branches or pull requests

2 participants