Skip to content

OEV-373 Add secure mint plugin type #1224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkg/loop/internal/relayer/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,12 @@ func (r *relayerServer) NewPluginProvider(ctx context.Context, request *pb.NewPl
return nil, err
}
return &pb.NewPluginProviderReply{PluginProviderID: id}, nil
case string(types.SecureMint):
id, err := r.newMedianProvider(ctx, relayArgs, pluginArgs) // TODO(gg): update to a SecureMintProvider if needed
if err != nil {
return nil, err
}
return &pb.NewPluginProviderReply{PluginProviderID: id}, nil
}
return nil, fmt.Errorf("provider type not supported: %s", relayArgs.ProviderType)
}
Expand Down
1 change: 1 addition & 0 deletions pkg/types/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const (
GenericPlugin OCR2PluginType = "plugin"
OCR3Capability OCR2PluginType = "ocr3-capability"
VaultPlugin OCR2PluginType = "vault-plugin"
SecureMint OCR2PluginType = "securemint"

CCIPCommit OCR2PluginType = "ccip-commit"
CCIPExecution OCR2PluginType = "ccip-execution"
Expand Down
Loading