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

Teleporter: Potential ABI mismatch at runtime #1929

Open
feuGeneA opened this issue Jun 4, 2024 · 0 comments
Open

Teleporter: Potential ABI mismatch at runtime #1929

feuGeneA opened this issue Jun 4, 2024 · 0 comments
Assignees

Comments

@feuGeneA
Copy link

feuGeneA commented Jun 4, 2024

i was just looking into whether there might be any issue with ABI mismatches, and I think i found one.

the source for the cli's teleporter msg command imports github.com/ava-labs/teleporter/abi-bindings/go/Teleporter/TeleporterMessenger.

but what happens if at runtime the user specifies a teleporter version that doesn't match up with the ABI bindings that the cli was built with? likely a silent/mysterious failure, i'd guess.

this is a bit of a chicken and egg problem: the cli needs those ABI bindings at build time, but the teleporter version can be specified at run time. how can we resolve this discrepancy?

This may seem like an obscure edge case at this time, but the Interop team is looking to utilize the avalanche-cli in our development workflow for teleporter (see #1921) and if/when that happens this could become a blocker for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review 👀
Development

No branches or pull requests

2 participants