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

{ RPCError: Bad Cast:Invalid cast from object_type to string #1

Open
pgarciagon opened this issue Jan 10, 2020 · 0 comments
Open

{ RPCError: Bad Cast:Invalid cast from object_type to string #1

pgarciagon opened this issue Jan 10, 2020 · 0 comments

Comments

@pgarciagon
Copy link
Contributor

Seting up tests..
username: cervantes
{ operations: [ [ ‘transfer_to_vesting’, [Object] ] ] }
Broadcasting tx...
{ RPCError: Bad Cast:Invalid cast from object_type to string
at new RPCError (/Users/pgarcgo/code/hf23_tests/node_modules/steem/lib/api/transports/http.js:43:106)
at /Users/pgarcgo/code/hf23_tests/node_modules/steem/lib/api/transports/http.js:93:13
at process._tickCallback (internal/process/next_tick.js:68:7)
cause:
{ RPCError: Bad Cast:Invalid cast from object_type to string
at new RPCError (/Users/pgarcgo/code/hf23_tests/node_modules/steem/lib/api/transports/http.js:43:106)
at /Users/pgarcgo/code/hf23_tests/node_modules/steem/lib/api/transports/http.js:93:13
at process._tickCallback (internal/process/next_tick.js:68:7)
name: ‘RPCError’,
code: -32000,
data:
{ code: 7,
name: ‘bad_cast_exception’,
message: ‘Bad Cast’,
stack: [Array] } },
isOperational: true,
code: -32000,
data:
{ code: 7,
name: ‘bad_cast_exception’,
message: ‘Bad Cast’,
stack: [ [Object] ] } }
(node:10438) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(result.error)
at test (/Users/pgarcgo/code/hf23_tests/setup_tests.js:51:9)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:10438) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:10438) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
you seen it before?
(on the testnet, of course)
-> this is the code

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