Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

INVALID_PARAMS eth_sendTransaction #18

Closed
hookercookerman opened this issue Feb 26, 2016 · 1 comment
Closed

INVALID_PARAMS eth_sendTransaction #18

hookercookerman opened this issue Feb 26, 2016 · 1 comment

Comments

@hookercookerman
Copy link

VERSION: latest 1.0

was using truffle deploy; one get this error;

with normal geth at latest its fine to deploy

truffle deploy --verbose-rpc
Using environment development.
   > {
   >   "jsonrpc": "2.0",
   >   "method": "eth_accounts",
   >   "params": [],
   >   "id": 1
   > }
 <   {
 <     "id": 1,
 <     "jsonrpc": "2.0",
 <     "result": [
 <       "0x00691bf743f75a397cee603b6a91d22531d8a9eb",
 <       "0x006a7cdbcdd1e98a534ae5c5228766e10cc1afec"
 <     ]
 <   }
Checking sources...
Compiling ConvertLib.sol...
Compiling MetaCoin.sol...
Collecting dependencies...
   > {
   >   "jsonrpc": "2.0",
   >   "method": "eth_sendTransaction",
   >   "params": [
   >     {
   >       "from": "0x00691bf743f75a397cee603b6a91d22531d8a9eb",
   >       "gas": "0x2fefd8",
   >       "gasPrice": "0x174876e800",
   >       "data": "606060405260358060106000396000f365020191a6b35f50606060405260e060020a600035046396e4ee3d81146024575b6007565b602435600435026060908152602090f3"
   >     }
   >   ],
   >   "id": 2
   > }
 <   {
 <     "error": {
 <       "code": -32602,
 <       "data": null,
 <       "message": "INVALID_PARAMS: Invalid method parameters (invalid name and/or type) recognised"
 <     },
 <     "id": 2,
 <     "jsonrpc": "2.0"
 <   }
Error deploying MetaCoin:

INVALID_PARAMS: Invalid method parameters (invalid name and/or type) recognised
@tcoulter
Copy link
Contributor

Hmm. I don't think this is a TestRPC error. I've never seen this error before, and it doesn't exist at all within the TestRPC code:

Tims-MacBook-Pro:ethereumjs-testrpc tim$ grep INVALID_PARAMS ./lib/* -R
Tims-MacBook-Pro:ethereumjs-testrpc tim$ 

Can you upgrade to the newest version, 1.2.1?

I'm going to close this issue. Please investigate further and reopen if you have more details.

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