Skip to content
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

Integrate boxo as the underlying IPFS & friends library #45

Open
10d9e opened this issue Jun 7, 2023 · 0 comments · May be fixed by #50
Open

Integrate boxo as the underlying IPFS & friends library #45

10d9e opened this issue Jun 7, 2023 · 0 comments · May be fixed by #50
Assignees

Comments

@10d9e
Copy link
Contributor

10d9e commented Jun 7, 2023

Instead of using the myriad of legacy ipfs libraries, EngRes has produced the boxo initiative. This library should be used to replace blockstore, bitswap and all other direct calls to underlying libraries for edge-ur.

Update:
blocked by: ipfs/boxo#291
blocked by: ipfs/go-merkledag#105

Moving to boxo 0.9.0 yeilds the following:

~/Documents/code/edge-ur boxo-wip*
❯ make       
go generate
go build -tags netgo -ldflags="-s -w -X main.Commit=3b0eb73 -X main.Version=v1.0.2-53-g3b0eb73-dirty" -o edge
# github.com/ipfs/go-merkledag
../../../go/pkg/mod/github.com/ipfs/go-merkledag@v0.10.0/merkledag.go:26:9: undefined: format.Register
../../../go/pkg/mod/github.com/ipfs/go-merkledag@v0.10.0/merkledag.go:27:9: undefined: format.Register
../../../go/pkg/mod/github.com/ipfs/go-merkledag@v0.10.0/merkledag.go:28:9: undefined: format.Register
../../../go/pkg/mod/github.com/ipfs/go-merkledag@v0.10.0/merkledag.go:30:9: undefined: ipldlegacy.RegisterCodec
../../../go/pkg/mod/github.com/ipfs/go-merkledag@v0.10.0/merkledag.go:31:9: undefined: ipldlegacy.RegisterCodec
../../../go/pkg/mod/github.com/ipfs/go-merkledag@v0.10.0/merkledag.go:86:16: undefined: ipldlegacy.DecodeNode
../../../go/pkg/mod/github.com/ipfs/go-merkledag@v0.10.0/merkledag.go:146:16: undefined: ipldlegacy.DecodeNode
../../../go/pkg/mod/github.com/ipfs/go-merkledag@v0.10.0/merkledag.go:254:23: undefined: ipldlegacy.DecodeNode
make: *** [build] Error 2
@10d9e 10d9e linked a pull request Jun 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants