Skip to content

Commit

Permalink
Remove ocr2vrf (#13472)
Browse files Browse the repository at this point in the history
* Remove ocr2vrf

* Fix merge conflicts

* Update core/services/ocr2/delegate.go

* Remove dkg-related items

* Fix tests

* Fix wrappers gen

* fix help file

* Add changeset

* fix merge conflicts

* fix merge conflicts 2
  • Loading branch information
vreff authored Jul 3, 2024
1 parent dfd239a commit 685681e
Show file tree
Hide file tree
Showing 118 changed files with 93 additions and 29,713 deletions.
7 changes: 7 additions & 0 deletions .changeset/bright-crabs-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"chainlink": minor
---

Remove ocr2vrf

#removed all ocr2vrf and dkg OCR2 plugin materials.
2 changes: 0 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
/core/services/pipeline/task.vrf.go @smartcontractkit/vrf-team
/core/services/pipeline/task.vrfv2.go @smartcontractkit/vrf-team
/core/services/pipeline/task.vrfv2plus.go @smartcontractkit/vrf-team
/core/services/ocr2/plugins/dkg @smartcontractkit/vrf-team
/core/services/ocr2/plugins/ocr2vrf @smartcontractkit/vrf-team

# Keeper/Automation-related services
/core/services/keeper @smartcontractkit/keepers
Expand Down
12 changes: 0 additions & 12 deletions contracts/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,6 @@ wrappers-all: pnpmdep mockery abigen ## Recompiles solidity contracts and their
# go_generate contains a call to compile all contracts before generating wrappers
go generate ../core/gethwrappers/go_generate.go

# Custom wrapper generation for OCR2VRF as their contracts do not exist in this repo
.PHONY: go-solidity-wrappers-ocr2vrf
go-solidity-wrappers-ocr2vrf: pnpmdep abigen ## Recompiles OCR2VRF solidity contracts and their go wrappers.
./scripts/native_solc_compile_all_ocr2vrf
# replace the go:generate_disabled directive with the regular go:generate directive
sed -i '' 's/go:generate_disabled/go:generate/g' ../core/gethwrappers/ocr2vrf/go_generate.go
go generate ../core/gethwrappers/ocr2vrf
go generate ../core/internal/mocks
# put the go:generate_disabled directive back
sed -i '' 's/go:generate/go:generate_disabled/g' ../core/gethwrappers/ocr2vrf/go_generate.go


help:
@echo ""
@echo " .__ .__ .__ .__ __"
Expand Down
42 changes: 0 additions & 42 deletions contracts/scripts/native_solc_compile_all_ocr2vrf

This file was deleted.

2 changes: 0 additions & 2 deletions core/cmd/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ func NewApp(s *Shell) *cli.App {
keysCommand("Solana", NewSolanaKeysClient(s)),
keysCommand("StarkNet", NewStarkNetKeysClient(s)),
keysCommand("Aptos", NewAptosKeysClient(s)),
keysCommand("DKGSign", NewDKGSignKeysClient(s)),
keysCommand("DKGEncrypt", NewDKGEncryptKeysClient(s)),

initVRFKeysSubCmd(s),
},
Expand Down
60 changes: 0 additions & 60 deletions core/cmd/dkgencrypt_keys_commands.go

This file was deleted.

178 changes: 0 additions & 178 deletions core/cmd/dkgencrypt_keys_commands_test.go

This file was deleted.

60 changes: 0 additions & 60 deletions core/cmd/dkgsign_keys_commands.go

This file was deleted.

Loading

0 comments on commit 685681e

Please sign in to comment.