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
encodePubKey util function improvements #2372
Comments
The user solved it using: let encode_address = s => ( |
Hey team! Please add your planning poker estimate with Zenhub @AlirezaHaghshenas @hui-an-yang @zainen |
is the user work around enough is there a fix that has to be applied to the model code? |
I believe this work around fully discards the annotation that is with the value |
The naming of function |
Description
addresses with annotations encoded improperly
Steps To Reproduce
https://tezos-dev.slack.com/archives/CNJJ77B9B/p1677682409145329
to hex and back of kt1 address with %annotation does not encode properly and loses annotation
Expected behavior
address should be encoded and decoded without annotation and ideally annotation is not lost and added to the MichelsonV1Expression in the js object
Note: investigate first whether michel-codec already supports contract addresses with %annotations.
The text was updated successfully, but these errors were encountered: