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

Compile failures for OgmiosChainContext #20

Open
agaffney opened this issue Apr 7, 2024 · 0 comments
Open

Compile failures for OgmiosChainContext #20

agaffney opened this issue Apr 7, 2024 · 0 comments

Comments

@agaffney
Copy link

agaffney commented Apr 7, 2024

I tried to build a program that uses Kupo/Ogmios for TX building with apollo, and it seems that the OgmiosChainContext code has build failures.

# github.com/Salvionied/apollo/txBuilding/Backend/OgmiosChainContext
../../../go/pkg/mod/github.com/!salvionied/[email protected]/txBuilding/Backend/OgmiosChainContext/OgmiosChainContext.go:89:35: too many arguments in call to multiAsset_OgmigoToApollo
	have (shared.Value, uint32)
	want (map[string]map[string]"github.com/SundaeSwap-finance/ogmigo/v6/ouroboros/chainsync/num".Int)
../../../go/pkg/mod/github.com/!salvionied/[email protected]/txBuilding/Backend/OgmiosChainContext/OgmiosChainContext.go:143:39: undefined: statequery.Utxo
../../../go/pkg/mod/github.com/!salvionied/[email protected]/txBuilding/Backend/OgmiosChainContext/OgmiosChainContext.go:179:26: undefined: chainsync.UtxoTxID
../../../go/pkg/mod/github.com/!salvionied/[email protected]/txBuilding/Backend/OgmiosChainContext/OgmiosChainContext.go:201:34: multiple-value v.AssetsExceptAda() (value of type (shared.Value, uint32)) in single-value context
../../../go/pkg/mod/github.com/!salvionied/[email protected]/txBuilding/Backend/OgmiosChainContext/OgmiosChainContext.go:241:28: undefined: chainsync.UtxoTxID
../../../go/pkg/mod/github.com/!salvionied/[email protected]/txBuilding/Backend/OgmiosChainContext/OgmiosChainContext.go:314:48: cannot use match.Value (variable of type compatibility.CompatibleValue) as "github.com/SundaeSwap-finance/ogmigo/ouroboros/chainsync".Value value in argument to chainsyncValue_toAddressAmount
../../../go/pkg/mod/github.com/!salvionied/[email protected]/txBuilding/Backend/OgmiosChainContext/OgmiosChainContext.go:621:20: cannot range over eval (variable of type *ogmigo.EvaluateTxResponse)
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

No branches or pull requests

1 participant