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

Error invalid chain_id, should be 1020, yours 1024 #18

Open
jimoquinn opened this issue May 26, 2019 · 0 comments
Open

Error invalid chain_id, should be 1020, yours 1024 #18

jimoquinn opened this issue May 26, 2019 · 0 comments

Comments

@jimoquinn
Copy link

Can be recreated with:

git clone https://github.com/iost-official/iost.js
cd iost.js/examples
npm install
node system_test

System info:

IOST 3.1.0
iost.js - current codebase (there are no version numbers)

The actual error message:

Error... tx failed, res: "send tx failed. Error: error: {\"code\":2,\"message\":\"VerifyError 
invalid chain_id, should be 1020, yours:1024\"}", tx: 
{"gasRatio":1,"gasLimit":2000000,"actions":
[{"contract":"auth.iost","actionName":"signUp","data":"
[\"u572203300\",\"BMHt8eDG9CzBj4suWEeNUNi59EoxdhjeSc4nutNiiUUH\",\"BMHt8eDG9
CzBj4suWEeNUNi59EoxdhjeSc4nutNiiUUH\"]"},
{"contract":"ram.iost","actionName":"buy","data":"[\"admin\",\"u572203300\",1024]"},
{"contract":"gas.iost","actionName":"pledge","data":"
[\"admin\",\"u572203300\",\"1000\"]"}],"signers":[],"signatures":
[],"publisher":"admin","publisher_sigs":
[{"algorithm":"ED25519","public_key":"6BK1LqmtXLqamvA6/MbylCpFJLDfPANE3BlQcoMWcMQ=","signature":"wl1CsuIxvPwbMdxrNDtX2aVhk3pEOnqBnm1p7zh8tRXRVlnteZfHwthUsy
P5SVWF3IEKltrB9pPa/YmLjLy/Aw=="}],"amount_limit":
[],"chain_id":1024,"reserved":null,"time":1558857220344000000,"expiration":1558857310
344000000,"delay":0}
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