小编Kei*_*ke1的帖子

混音:返回错误:{“jsonrpc”:“2.0”,“错误”:“无效操作码:PUSH0”,“id”:2405507186007008}

在我的 Ubuntu 中运行 geth 中的私有链节点和 Chainlink 节点后,我想测试 Chainlink Any API 的功能(https://docs.chain.link/any-api/get-request/examples/single-word -响应,单字响应)。

我运行这些命令来运行节点:

## SHELL1
cd ~/myChain/localChain/node1 && geth --datadir data --gcmode "archive" --syncmode=full --networkid 4190 --http --http.addr 0.0.0.0 --http.port 6789 --http.corsdomain "*" --ws --port 30305 --allow-insecure-unlock --unlock edd96278959aA8B27DdC14FD70ACb31f7e7beC2F --keystore ./keystore console

## SHELL2
cd ~/myChain/chainlink/.chainlink && docker run --net host -u=root  -p 6688:6688 -v ~/.chainlink:/chainlink -it --env-file=.env smartcontract/chainlink:1.11.0 local n
Run Code Online (Sandbox Code Playgroud)

我成功部署了我的LinkToken合约,operator并在我的 Chainlink 节点 UI Operator 中创建了一个新作业(GET>uint256)。它们如下:

链克.sol

pragma solidity ^0.4.11;

import …
Run Code Online (Sandbox Code Playgroud)

solidity go-ethereum chainlink

6
推荐指数
1
解决办法
6436
查看次数

标签 统计

chainlink ×1

go-ethereum ×1

solidity ×1