Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DeividasK committed Nov 22, 2024
1 parent 781f6c6 commit 6642fee
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 395 deletions.
1 change: 0 additions & 1 deletion contracts/scripts/native_solc_compile_all_keystone
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ compileContract keystone/CapabilitiesRegistry.sol
compileContract keystone/KeystoneForwarder.sol
compileContract keystone/OCR3Capability.sol
compileContract keystone/KeystoneFeedsConsumer.sol
compileContract keystone/SimpleOCR.sol
66 changes: 0 additions & 66 deletions contracts/src/v0.8/keystone/ConfirmedOwnerWithProposal.sol

This file was deleted.

284 changes: 0 additions & 284 deletions contracts/src/v0.8/keystone/SimpleOCR.sol

This file was deleted.

3 changes: 0 additions & 3 deletions core/capabilities/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,13 @@ func (r *Registry) List(_ context.Context) ([]capabilities.BaseCapability, error
func (r *Registry) Add(ctx context.Context, c capabilities.BaseCapability) error {
r.mu.Lock()
defer r.mu.Unlock()
r.lggr.Info("DSK: Adding capability")

info, err := c.Info(ctx)
if err != nil {

return err
}

r.lggr.Infow("DSK: Adding capability", "id", info.ID, "type", info.CapabilityType, "description", info.Description, "version", info.Version())

switch info.CapabilityType {
case capabilities.CapabilityTypeTrigger:
_, ok := c.(capabilities.TriggerCapability)
Expand Down
Loading

0 comments on commit 6642fee

Please sign in to comment.