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

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

Closed
1 of 8 tasks
mweichert opened this issue Jul 8, 2024 · 1 comment
Closed
1 of 8 tasks
Assignees
Labels
dev-task Tasks for the Taqueria Dev Board

Comments

@mweichert
Copy link
Collaborator

πŸ”— Epic|Feature Link

No response

πŸš₯ Definition of Done

  • 🎯 Planning and Design
  • 🏎️ Dev Implementation Complete
  • ♾️ PR Merged
  • πŸ† Product Acceptance

🧰 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

  • Rebase our tzcompose fork against trilitech/tzgo
  • Before providing account config to tzcompose, add secretKey property which is decrypted private key

βš–οΈ Acceptance Criteria

✨ Functional:

  • Can deploy contracts using tzcompose

πŸ”­ Scope

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mweichert mweichert added the dev-task Tasks for the Taqueria Dev Board label Jul 8, 2024
@mweichert mweichert self-assigned this Jul 8, 2024
Copy link
Contributor

github-actions bot commented Jul 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-task Tasks for the Taqueria Dev Board
Projects
None yet
Development

No branches or pull requests

1 participant