ETHTX任务可以与Webhook作业一起使用
我想知道是否可以将ETHTX任务用于Webhook作业。我尝试从操作员UI运行该作业,并返回内部服务器错误,当我查找日志时,
Expected at least one task to be final pipeline/common.go:212 logger=1.2.1@168d34a stacktrace=github.com/smartcontractkit/chainlink/core/services/pipeline.TaskRunResults.FinalResult
/chainlink/core/services/pipeline/common.go:212
我认为它意味着它无法正常工作,除非ETHTX是最终任务,例如JSONPARSE/乘
I would like to know if ethtx tasks can be used with webhook jobs. I tried to run the job from the operator UI and it returns an internal server error, when I look up the logs it says that
Expected at least one task to be final pipeline/common.go:212 logger=1.2.1@168d34a stacktrace=github.com/smartcontractkit/chainlink/core/services/pipeline.TaskRunResults.FinalResult
/chainlink/core/services/pipeline/common.go:212
which I assume it means it cannot work unless ethtx is a final task such as jsonparse/multiply etc
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为的Webhook作业在任务流程中受到限制,因此对Webhook作业不支持与该Webhook作业相关的链TX。通常,节点运算符利用Webhook作业,在“
observationsource
”中验证其中的作业规格代码,以使桥接API端点已正确连接,并过滤到下游用户想要的正确路径。由于没有记录链TX,因此可以在创造工作后立即进行测试,也可以对Ping Oracle/Node进行测试智能合约。Webhook jobs are limited in the task flow I believe, such that there is no support for webhook jobs and on-chain tx's related to that webhook job. In general, node operators utilize webhook jobs, to verify there job-spec code within the "
observationSource
" such that a bridge api endpoint is properly connected, and filtering to the correct path that the downstream user wants. Because there is no on-chain tx recorded, the testing can be done immediately after job-creation and no test smart contract to ping the oracle/node.https://docs.chain.link/docs/jobs/types/webhook/