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

soroban-cli: wrap token fails with valid inputs in sandbox mode #930

Closed
leighmcculloch opened this issue Sep 5, 2023 · 0 comments · Fixed by #936
Closed

soroban-cli: wrap token fails with valid inputs in sandbox mode #930

leighmcculloch opened this issue Sep 5, 2023 · 0 comments · Fixed by #936
Assignees
Labels
bug Something isn't working

Comments

@leighmcculloch
Copy link
Member

leighmcculloch commented Sep 5, 2023

What version are you using?

9615897

soroban version
soroban 0.9.4 (v0.9.5-70-g9615897821492671f951169f8f442d69cafb3d81)
soroban-env 0.0.17 (eb5a9ba053a7b64a8eff605db625525378f7bea0)
soroban-env interface version 85899345977
stellar-xdr 0.0.17 (39904e09941046dab61e6e35fc89e31bf2dea1cd)
xdr next (65afa63b7f52c898143ebbe9541ef91fcf290ade)

What did you do?

soroban lab token wrap --asset ABC:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWHF

What did you expect to see?

I expect the Stellar Asset contract to be deployed resulting in a contract address being outputted.

For example:

CBMLAIHYS74DMIS5PXB5SH3KL2N3TRHU5IEYNLDINFPNX5Y3ERMWLANJ

What did you see instead?

error: xdr processing error: xdr value invalid

Further details

The same command works with the RPC, so this issue appears to be isolated to the sandbox variation.

For example:

soroban config network add --rpc-url http://localhost:8000/soroban/rpc --network-passphrase 'Standalone Network ; February 2017' localsoroban config identity add --secret-key mesoroban lab token wrap --network local --source me --asset ABC:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWHF
CBMLAIHYS74DMIS5PXB5SH3KL2N3TRHU5IEYNLDINFPNX5Y3ERMWLANJ
@leighmcculloch leighmcculloch added the bug Something isn't working label Sep 5, 2023
@tsachiherman tsachiherman self-assigned this Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants