Skip to content

Panic when running toolkit deploy-ocr3-jobspecs during setup.sh (unsupported operation in loop mode) #292

Description

@MohammadJamali

When running the setup.sh script, the following command fails with a panic:

go run main.go toolkit deploy-ocr3-jobspecs \
  --ethurl=http://localhost:8544 \
  --accountkey=348ce564d427a3311b6536bbcff9390d69395b06ed6c486954e971d960fe8709 \
  --chainid=1337 \
  --p2pport=6691

Observed Error:

panic: not available in loop mode: unsupported operation

goroutine 1 [running]:
github.com/smartcontractkit/chainlink/core/scripts/common.PanicErr(...)
	/home/lab/Desktop/dev/chainlink/core/scripts/common/helpers.go:143
github.com/smartcontractkit/chainlink/core/scripts/keystone/src.(*nodeAPI).mustExec(...)
	/home/lab/Desktop/dev/chainlink/core/scripts/keystone/src/99_app.go:192
github.com/smartcontractkit/chainlink/core/scripts/keystone/src.deployOCR3JobSpecs({0xc001081888, 0x5, 0xc0019c2480?}, 0x539, {0xc000400b08, 0x5, 0x23?}, 0x1a23, 0xc000072930)
	/home/lab/Desktop/dev/chainlink/core/scripts/keystone/src/02_provision_ocr3_capability.go:173 +0x60a
github.com/smartcontractkit/chainlink/core/scripts/keystone/src.(*Toolkit).DeployOCR3JobSpecs(0x123c3aa0?, {0xc000072260, 0x4, 0x4})
	/home/lab/Desktop/dev/chainlink/core/scripts/keystone/src/01_toolkit.go:126 +0x3ba
github.com/smartcontractkit/chainlink/core/scripts/keystone/src.(*Toolkit).Run(0x1261e720, {0xc000072250?, 0x4?, 0xbfbc828?})
	/home/lab/Desktop/dev/chainlink/core/scripts/keystone/src/01_toolkit.go:48 +0x325
main.main()
	/home/lab/Desktop/dev/chainlink/core/scripts/keystone/main.go:37 +0x37a
exit status 2

It looks like there’s a version mismatch between Chainlink and the way Keystone deploys tasks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions