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

Define testing strategy for sdk and env consistency across versions #1040

Open
leighmcculloch opened this issue Sep 6, 2023 · 0 comments
Open

Comments

@leighmcculloch
Copy link
Member

Contract behaviors, beyond their own logic, are mostly defined by the host, not by the SDK, because the system is "host heavy" in terms of where functionality lives. The SDK is a very thin layer. It is 99% just changing how a host function is presented, so it looks more like common Rust code. If we intend to test contract behavior consistency outside of the contracts own internal logic, we need to test across all variations of 1) Env versions, 2) a matrix of SDK and Env versions, and 3) a matrix of SDK and SDK versions.

Are there other ways we intend to test Env's participation in consistency?

_Originally posted by @leighmcculloch in stellar/rs-soroban-sdk#1095

We need a test pipeline for testing different combinations of SDK and Env, that also test data persistence across protocol upgrades, SDK upgrades, so as to identify behavior changes in existing APIs prior to a release occurring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@leighmcculloch and others