Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error while trying to call a setter function... #111

Open
somoza opened this issue Jun 13, 2023 · 1 comment
Open

Getting error while trying to call a setter function... #111

somoza opened this issue Jun 13, 2023 · 1 comment

Comments

@somoza
Copy link

somoza commented Jun 13, 2023

How can I debug this error? The message was sent by Ganache. I can't figure out in which part of send_transaction this code is generated...

Thanks!

Error: %{
"code" => -32700,
"message" => "Cannot wrap string value "F901EB0A8504A817C8008303373C94517B6528CE4DFECB031288B37F5CE910B815316380B90184B3F882400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000A00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000372F75706C6F6164732F6C6976655F766965775F75706C6F61642D313638363632343033342D3538303938353539363336342D312E7064660000000000000000000000000000000000000000000000000000000000000000000000000000000009446F63756D656E743100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020364332323445464545394145353444383145373942364544344535324442383029A05E6872198F22029840BAFEC13166652BFE4B03F96E854917AF12F7A2EBD2BDEFA013FED17E1367C54749A78829E84D28C111CAD6E937781AE217CF4E09BB01D944" as a json-rpc type; strings must be prefixed with "0x".",

@somoza
Copy link
Author

somoza commented Jun 13, 2023

These is the params I'm sending:

params: %{
  data: "0xb3f882400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000006616e696d757300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009446f63756d656e7431000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000203643323234454645453941453534443831453739423645443445353244423830",
  from: "0x797F0Da0Ea4725ad23755Ea85D73356a2ab282Eb",
  gas: "0xc350",
  gasPrice: nil,
  to: "0x517B6528ce4DfECB031288B37F5cE910B8153163"
}

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

No branches or pull requests

1 participant