Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alanshaw committed Oct 21, 2024
1 parent 7144600 commit bd41efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions pkg/assert/assert.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ import (
"github.com/storacha/go-ucanto/validator"
)

// export const assert = capability({
// can: 'assert/*',
// with: URI.match({ protocol: 'did:' })
// })

type HasMultihash interface {
hasMultihash()
ToIPLD() (datamodel.Node, error)
Expand Down
4 changes: 2 additions & 2 deletions pkg/assert/datamodel/assert.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import (
)

//go:embed assert.ipldsch
var assert []byte
var assertSchema []byte

var assertTS *schema.TypeSystem

func init() {
ts, err := ipld.LoadSchemaBytes(assert)
ts, err := ipld.LoadSchemaBytes(assertSchema)
if err != nil {
panic(fmt.Errorf("loading assert schema: %w", err))
}
Expand Down

0 comments on commit bd41efd

Please sign in to comment.