When deploying to testnet, the following error is down.
env NODE_ENV=testnet npm run deploy
> wordtoken@0.0.0-semantically-released deploy /Users/marijnbent/Projects/wordproof-contracts/wordtoken
> npm run compile && node scripts/deploy.js
> wordtoken@0.0.0-semantically-released compile /Users/marijnbent/Projects/wordproof-contracts/wordtoken
> make -C build
[100%] Built target wordtoken.wasm
Loading environment "testnet"
setcode failed: {
"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\":\"wordtoken111\",\"permission\":\"active\"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [], provided keys [\"EOS72rQqAN9Tra3W4qXyjeMWRpL4fMW5mFUJo5eVXZMJxzGnxg9ix\"], and a delay max limit of 3888000000 ms",
"file": "authorization_manager.cpp",
"line_number": 524,
"method": "check_authorization"
}
]
}
}
setabi failed: {
"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\":\"wordtoken111\",\"permission\":\"active\"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [], provided keys [\"EOS5PfYbUhZB6FXZQ91M62Ufd4ashvwMmzgQ5ZurBrbx43qDjBwvW\"], and a delay max limit of 3888000000 ms",
"file": "authorization_manager.cpp",
"line_number": 524,
"method": "check_authorization"
}
]
}
}
EOS_CHAIN_ID was not up-to-date. After changing it worked correctly. Current Jungle Testnet chain id: e70aaab8997e1dfce58fbfac80cbbb8fecec7b99cf982a9444273cbc64c41473.
When deploying to testnet, the following error is down.
The .testnet.env looks like this: