2
aditib@WJLP-1098:~/contracts$ cleos -u https://jungle.eosio.cr:443 set contract adtester1234 hello/ -p adtester1234@active

Failed to get existing code hash, continue without duplicate check...
Reading WASM from /home/aditib/contracts/hello/hello.wasm...
Publishing contract...
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.
Error Details:
transaction declares authority '{"actor":"adtester1234","permission":"active"}', but does not have signatures for it.

我在丛林测试网上注册了一个名为 adtester1234 的帐户。它显示在资源管理器上,我检查了。

此外,钱包已解锁,并且确实包含帐户所需的公钥和私钥。

aditib@WJLP-1098:~/contracts$ cleos wallet private_keys -n jungle-wallet-2 --password PW5K1SUrrGcraekXgBQN3137qfkqSyFrVVRdkxWgzpaZnJLMYPg4n
[[
    "EOS5HWzxBoDTGj2hMeA9WGphVCbXmcxB78QCTWgPybyCUvNnyVznH",
    "5JBGrBZBhQ2Zjqbj4z8dKyu9fvwowg4sdqZ5vbkM9kSNVJrH7Db"
  ]
]

我尝试添加签名交易:

aditib@WJLP-1098:~/contracts$ cleos -u https://jungle.eosio.cr:443 set contract adtester1234 hello/ -p adtester1234@active -s

Failed to get existing code hash, continue without duplicate check...
Reading WASM from /home/aditib/contracts/hello/hello.wasm...
Publishing contract...
Failed to connect to nodeos at https://jungle.eosio.cr:443; is nodeos running?

如果我连接到测试网端点,nodeos 是否应该运行?

我在 Windows 上使用 UBUNTU 18.04 LTS。我在stackoverflow上提到了类似的问题,但它对我不起作用。我希望有人可以指导我。

为什么会出现这个错误?如何解决?为什么我无法获取代码哈希?提前致谢!

4

1 回答 1

1

我使用的端点不工作。

这是我尝试并正在工作的工作端点列表:

于 2019-12-10T07:52:59.253 回答