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

Extending wasm-hashes is broken on the main branch for futurenet (protocol 21) #1291

Closed
kalepail opened this issue Apr 25, 2024 · 2 comments · Fixed by #1292
Closed

Extending wasm-hashes is broken on the main branch for futurenet (protocol 21) #1291

kalepail opened this issue Apr 25, 2024 · 2 comments · Fixed by #1292
Labels
bug Something isn't working

Comments

@kalepail
Copy link
Contributor

Looks like something about extending wasm-hashes is broken on the main branch for futurenet

% soroban contract extend --wasm-hash 316864fced90d7d745bc7c15c8964e034fa13c9e4cc7fac8ca012fe955260dbd --network futurenet --source default --durability persistent --ledgers-to-extend 4294967295
2024-04-25T12:51:16.933541Z  WARN soroban_cli::commands::contract::extend: Ledgers to extend is too large, using max value of 535679
error: xdr processing error: xdr value invalid

fwiw extending works fine with the --id flag for contracts, just not --wasm or --wasm-hash

% soroban version
soroban 20.3.4 (9d7ad07f67478af30337ed7a0f047178a779c4ec)
soroban-env 20.3.0 (befdf4b2b6061bd6da20b0f93d539d6ad8d8be22)
soroban-env interface version 85899345920
stellar-xdr 20.1.0 (8b9d623ef40423a8462442b86997155f2c04d3a1)
xdr curr (b96148cd4acc372cc9af17b909ffe4b12c43ecb6)
@kalepail kalepail added the bug Something isn't working label Apr 25, 2024
@github-project-automation github-project-automation bot moved this to Backlog in DevX Apr 25, 2024
@kalepail
Copy link
Contributor Author

Looks like this is also broken for just looking up contract interfaces.
e.g.

soroban contract invoke --id CCZLDJB7MBCVVD4T4RBFVWP7ZSOPW4UUKKLEMCOHWRJDHL7VT5IHRVIU --network futurenet --source default -- -h
error: xdr processing error: xdr value invalid

@willemneal
Copy link
Member

This seems to fix it: #1292

@willemneal willemneal linked a pull request Apr 25, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from Backlog to Done in DevX Apr 30, 2024
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
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants