diff --git a/core/scripts/keystone/src/88_gen_ocr3_config.go b/core/scripts/keystone/src/88_gen_ocr3_config.go index cbf5788d65f..f0a03ecafb3 100644 --- a/core/scripts/keystone/src/88_gen_ocr3_config.go +++ b/core/scripts/keystone/src/88_gen_ocr3_config.go @@ -110,8 +110,13 @@ func generateOCR3Config(nodeList string, configFile string, chainID int64, pubKe allPubKeys := map[string]any{} for _, n := range nca { ethPubKey := common.HexToAddress(n.OCR2OnchainPublicKey) + aptosPubKey, err := hex.DecodeString(n.AptosOnchainPublicKey) + if err != nil { + panic(err) + } pubKeys := map[string]types.OnchainPublicKey{ - "evm": ethPubKey[:], + "evm": ethPubKey[:], + "aptos": aptosPubKey, } // validate uniqueness of each individual key for _, key := range pubKeys {