Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Swarm Go.1.14 Build FAILED #2212

Open
ali2210 opened this issue Aug 20, 2020 · 1 comment
Open

Swarm Go.1.14 Build FAILED #2212

ali2210 opened this issue Aug 20, 2020 · 1 comment

Comments

@ali2210
Copy link

ali2210 commented Aug 20, 2020

System information

go package
Swarm version: swarm version
OS & Version: Windows/Linux/OSX : Linux
Commit hash : (if develop)

Expected behaviour

Project execute prefect

Actual behaviour

project failed to build

Steps to reproduce the behaviour

Go: 1.14
Linux
go mod

When ethersphere/swarm/api/client added via module command it throw me these error

github.com/ethersphere/swarm/contracts/ens/contract

../../../pkg/mod/github.com/ethersphere/[email protected]/contracts/ens/contract/ens.go:23:6: undefined: abi.U256
../../../pkg/mod/github.com/ethersphere/[email protected]/contracts/ens/contract/ensregistry.go:23:6: undefined: abi.U256
../../../pkg/mod/github.com/ethersphere/[email protected]/contracts/ens/contract/fifsregistrar.go:23:6: undefined: abi.U256
../../../pkg/mod/github.com/ethersphere/[email protected]/contracts/ens/contract/publicresolver.go:23:6: undefined: abi.U256

github.com/ethersphere/swarm/network/stream

../../../pkg/mod/github.com/ethersphere/[email protected]/network/stream/stream.go:56:4: undefined: node.Service

github.com/ethersphere/go-sw3/contracts-v0-2-0/erc20simpleswap

../../../pkg/mod/github.com/ethersphere/[email protected]/contracts-v0-2-0/erc20simpleswap/erc20simpleswap.go:23:6: undefined: abi.U256

github.com/ethersphere/go-sw3/contracts-v0-2-0/simpleswapfactory

../../../pkg/mod/github.com/ethersphere/[email protected]/contracts-v0-2-0/simpleswapfactory/simpleswapfactory.go:23:6: undefined: abi.U256
How I could resolve this error

Backtrace

[backtrace]
@Eknir
Copy link
Contributor

Eknir commented Nov 12, 2020

Hi @ryanc414 ,
Thanks for taking the time to make this issue.

Swarm is not anymore actively maintaining this project.

For your project, we recommend switching over to bee (documentation here), which provides similar functionality to Swarm, but is build up anew from the grounds up, on more modern foundations, with more rigor during development and with the advancing insight which comes naturally while developing software like Swarm.

If you experience any difficulties with the porting of your code, we are more than happy to assist you.

You can reach out to me on Telegram (@Eknir) or in the BeeHive (same user name), if you need assistance.

Best,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants