TezosTaqueria / taqueria

*BETA* Taqueria provides a seamless development workflow to easily build, test and deploy your Tezos applications.
https://taqueria.io
Apache License 2.0
64 stars 20 forks source link

🚧 Dev ➾ `taq run` of tzcompose plugin incompatible with testnet/ghostnet #1937

Closed mweichert closed 3 months ago

mweichert commented 3 months ago

πŸ”— Epic|Feature Link

No response

πŸš₯ Definition of Done

🧰 Work Description

The run task offered by the tzcompose plugin is incompatible with ghostnet. Attempting to run tzcompose against an environment configured to use ghostnet results in:

taq run tzcompose.yaml -e testing     
(0x96ea40,0xc0001cfee0)
panic: runtime error: slice bounds out of range [32:0]

goroutine 1 [running]:
crypto/ed25519.PrivateKey.Public(...)
        /usr/local/go/src/crypto/ed25519/ed25519.go:59
blockwatch.cc/tzgo/tezos.PrivateKey.Public({0x1?, {0x0?, 0x1?, 0x96af68?}})
        /app/tezos/key.go:582 +0x154
blockwatch.cc/tzgo/tezos.PrivateKey.Address({0x60?, {0x0?, 0xc00019fda0?, 0xc00021f4e8?}})
        /app/tezos/key.go:533 +0x27
blockwatch.cc/tzgo/internal/compose.mapTaqEnvAccountToContextAccount(0xc0002120f0, 0xc0001c32a0?, {0xc0001c35bc, 0x4})
        /app/internal/compose/taqconfig.go:187 +0x246
blockwatch.cc/tzgo/internal/compose.UpdateTaqContext(0xc000182ea0?, {{{0xc0001c3298, 0x2}, {0xc0001c329a, 0x2}, {0xc0001c32a0, 0x9}, {0xc0001c32b0, 0x9}, 0xc00019fd10, ...}, ...})
        /app/internal/compose/taqconfig.go:159 +0x11f
blockwatch.cc/tzgo/internal/compose.NewTaqContext({0x971a08, 0xc0001dc740})
        /app/internal/compose/taqconfig.go:127 +0x6e5
main.run()
        /app/cmd/tzcompose/main.go:90 +0x9f
main.main()
        /app/cmd/tzcompose/main.go:81 +0xca
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

βœ… To Do

βš–οΈ Acceptance Criteria

✨ Functional:

πŸ”­ Scope

No response

Code of Conduct

github-actions[bot] commented 3 months ago

Published Binaries & Packages

Published Version
Taq Binary (MacOS) 0.54.3
Taq Binary (Windows) 0.54.3
VSIX for VSCode Extension 0.54.3
@taqueria/lib-ligo 0.54.3
@taqueria/plugin-archetype 0.54.3
@taqueria/plugin-contract-types 0.54.3
@taqueria/plugin-core 0.54.3
@taqueria/plugin-flextesa 0.54.3
@taqueria/plugin-helloworld 0.54.3
@taqueria/plugin-ipfs-pinata 0.54.3
@taqueria/plugin-jest 0.54.3
@taqueria/plugin-ligo 0.54.3
@taqueria/plugin-ligo-legacy 0.54.3
@taqueria/plugin-metadata 0.54.3
@taqueria/plugin-octez-client 0.54.3
@taqueria/plugin-smartpy 0.54.3
@taqueria/plugin-smartpy-legacy 0.54.3
@taqueria/plugin-taquito 0.54.3
@taqueria/plugin-tzcompose 0.54.3
@taqueria/protocol 0.54.3
@taqueria/node-sdk 0.54.3
@taqueria/toolkit 0.54.3

Note: You can install the latest development version of a package with taq install @taqueria/[packageName]@dev.