-
Notifications
You must be signed in to change notification settings - Fork 1
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
Installing #4
Comments
@tyvdh hi! 👋 Thank you for checking out this project! It seems that this error is caused by Stellar protocol update to v11, which is already reflected in Go SDK. I dropped the PR recently, which will, I hope, fix this issue |
So even under your branch I'm still getting errors trying to get the dependencies. $ go get ./...
# github.com/astroband/astrologer/es
../../go/src/github.com/astroband/astrologer/es/operation.go:144:7: undefined: "github.com/stellar/go/xdr".OperationTypeManageOffer
../../go/src/github.com/astroband/astrologer/es/operation.go:145:24: o.Body.MustManageOfferOp undefined (type "github.com/stellar/go/xdr".OperationBody has no field or method MustManageOfferOp)
../../go/src/github.com/astroband/astrologer/es/operation.go:146:7: undefined: "github.com/stellar/go/xdr".OperationTypeCreatePassiveOffer
../../go/src/github.com/astroband/astrologer/es/operation.go:147:31: o.Body.MustCreatePassiveOfferOp undefined (type "github.com/stellar/go/xdr".OperationBody has no field or method MustCreatePassiveOfferOp)
../../go/src/github.com/astroband/astrologer/es/operation.go:191:23: undefined: "github.com/stellar/go/xdr".ManageOfferOp
../../go/src/github.com/astroband/astrologer/es/operation.go:200:30: undefined: "github.com/stellar/go/xdr".CreatePassiveOfferOp
../../go/src/github.com/astroband/astrologer/es/operation_result.go:22:8: undefined: "github.com/stellar/go/xdr".OperationTypeManageOffer
../../go/src/github.com/astroband/astrologer/es/operation_result.go:23:29: r.Tr.MustManageOfferResult undefined (type *"github.com/stellar/go/xdr".OperationResultTr has no field or method MustManageOfferResult)
../../go/src/github.com/astroband/astrologer/es/operation_result.go:24:8: undefined: "github.com/stellar/go/xdr".OperationTypeCreatePassiveOffer
../../go/src/github.com/astroband/astrologer/es/operation_result.go:74:29: undefined: "github.com/stellar/go/xdr".ManageOfferResult
../../go/src/github.com/astroband/astrologer/es/operation_result.go:24:8: too many errors |
Ah or are you saying those will resolve once the branch is merged? |
That's weird, the same command works for me on this new branch. When it will be merged, you'll be able to just call I wonder, why do you have |
I'm calling $ echo $GOPATH
/Users/tyler/go That's where all my go stuff lives. Fwiw the project is just on my |
Interesting, |
So that seems to have worked. At least the go get doesn't error out. However I do get this error now when trying to run the
|
Can you please provide the full command you call? Did you set the |
I exported
|
If I use
|
|
Using version 6.8.0 seems to work
|
That's good news! 🙂 About the ES version: currently, we use 7.0. Let's reflect it in the docs, thank you for pointing it out! |
I'm sure I'm trying to install something incorrectly. I'm not well versed in Go yet. Trying to download and install your project though and running into issues.
The text was updated successfully, but these errors were encountered: