#unexpected environment interface version

1 messages · Page 1 of 1 (latest)

novel hemlock
#

I copied the latest token example, made some mods, deployed to futurenet, tried to call initialize, anddddd.... got the dreaded "unexpected environment interface version" error. How do I fix that?

This is with the abundance alias as described here https://github.com/AhaLabs/soroban-abundance-token#contributing

GitHub

a mint-what-you like Soroban token frontend build in plain JS with no React - GitHub - AhaLabs/soroban-abundance-token: a mint-what-you like Soroban token frontend build in plain JS with no React

#

same error if I build from latest main in the CLI repo (soroban-tools)

dreamy summit
#

I would expect this if you used the last released version of the CLI. If so, an interface version mismatch is expected. You'd need to use a version of the CLI using a more up to date SDK that has the same interface version. But latest main in soroban-tools has the same sdk version you're using in your example.

#

So I'd expect that to work.

vagrant venture
#

can you provide the soroban --version output? I'm also a bit curious about the (InputArgsInvalid) on the error.
cc: @idle aspen

#

also... "I copied the latest token example", meaning the token .wasm?

dreamy summit
novel hemlock
novel hemlock
dreamy summit
#

That env version doesn't match what I'd expect (83ab1b0e2ce7e08d33d686ed4b4ea0564b454160). Is this with the symlink to soroban-tools?

vagrant venture
# dreamy summit That env version doesn't match what I'd expect (`83ab1b0e2ce7e08d33d686ed4b4ea05...

mine (stable)

soroban 0.7.0 (75f45cf7d844184514d8662586670a7ae0911ea1)
soroban-env 0.0.15 (cf83838ae8a07a00224f0a5a3500eb7969bac7cf)
soroban-env interface version 32
stellar-xdr 0.0.15 (4655b635c698bb3bbc628bdba456df627c42ee3a)
xdr next (7356dc237ee0db5626561c129fb3fa4beaabbac6)

so I'm guessing this might be a problem (his) ?

soroban 0.7.1 (v0.6.1-72-ge8dfe35c155d8397b3022f6dc46b6491d4e60541)
soroban-env 0.0.15 (cf83838ae8a07a00224f0a5a3500eb7969bac7cf)