stellar / stellar-cli

CLI for Stellar developers
72 stars 70 forks source link

Failed to run CLI go tests #1082

Open willemneal opened 12 months ago

willemneal commented 12 months ago

What version are you using?

Current main commit: https://github.com/stellar/soroban-tools/tree/5398c062a1aebea19595071360c0d99dc72ebe85

What did you do?

cargo b && make build-test-wasms && make build-preflight

using the same commit of stellar-core as CI: f2d06fbce

Then ran CLI go test

What did you expect to see?

No error

What did you see instead?

All fail because of the following error embedded in the diagnostic events:

 StringM(contract pre-release number for current protocol does not match host), U32( 69), U32(1)

Looking at the sdk it would be 1 for preview 21 if the next feature was on for the rs-soroban-env, however, from what I can tell it isn't.

stellarsaur commented 11 months ago

From the latest commit, I was able to run all tests successfully using go test ./... and cargo test. Are you still able to reproduce this issue?

willemneal commented 11 months ago

I haven't tested since the core version was updated. Will try again with it soon.