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

Transactions throw error on dawn-v4.2.0 #118

Closed
k26dr opened this issue May 26, 2018 · 5 comments
Closed

Transactions throw error on dawn-v4.2.0 #118

k26dr opened this issue May 26, 2018 · 5 comments

Comments

@k26dr
Copy link

k26dr commented May 26, 2018

I'm trying to use eosjs 12.0.2 with dawn-v4.2.0. I know it's not supported yet, but I figured I'd point this error out. When I attempt to run a transaction, I get the following error:

{
  "code":500,
  "message":"Internal Service Error","error"{
    "code":3090003,
    "name":"unsatisfied_authorization",
    "what":"provided keys, permissions, and delays do not satisfy declared authorizations",
    "details":[{"message":"transaction declares authority '{\"actor\":\"libertylion1\",\"permission\":\"active\"}', 
      but does not have signatures for it under a provided delay of 0 ms",
    "file":"authorization_manager.cpp",
    "line_number":405,
    "method":"check_authorization"
}]}}

Might be related to this:

EOSIO/eos#3013

@yepp4you
Copy link

You must fill in the chainId value of nodeos.
localhost:8888/v1/chain/get_info

options = {
broadcast: true,
sign: true,
...
chainId :
}

@k26dr
Copy link
Author

k26dr commented May 26, 2018

Perfect, that did it, thank you.

For anyone that's wondering, you can get the chain ID from the cleos get info command

jcalfee pushed a commit that referenced this issue May 26, 2018
@jcalfee
Copy link
Contributor

jcalfee commented May 26, 2018

Published eosjs@13.0.0 ..

@yankunsam
Copy link
Contributor

options = {broadcast: true,sign: true,chainld: "b686f7d31bd96218d73a080b4bfac00abd34fe13725139cd4bd55fd2435c40db"}

chainld? But it does not work for me. eosjs@13.0.0 eos: dawn-v4.2.0

@jcalfee
Copy link
Contributor

jcalfee commented May 31, 2018

v13.0.1 works with the default chainId (leave it out) using Docker eosio/eos:20180526:
https://travis-ci.org/EOSIO/eosjs/builds/385932680#L1602

metamaster2021 pushed a commit to armoniax/eosjs that referenced this issue May 7, 2022
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

4 participants