Spec compliance testing #1
Replies: 3 comments 4 replies
-
This can be somewhat automated by extracting the information from the specification. We've done this recently in pathfinder for method availability. A json-rpc compliant server should return Generating valid input is much more complicated to test that is much more complicated. And probably only worth the effort for ossified parts of the specification for now. |
Beta Was this translation helpful? Give feedback.
-
Awesome idea graet |
Beta Was this translation helpful? Give feedback.
-
Why I am not eligible for starknet airdrop 0x0326e95A1E7Be0011313C320cF88A57F77fDDE5C330443b35D048E03f9eE794D This is my address 600 dollar involved in this address please eligible me starknet |
Beta Was this translation helpful? Give feedback.
-
To ensure that Starknet is ready for a major update, we should have a simple set of tooling which can test compliance of the Starknet Stack with the specification. This set of tools should have an easy CLI wrapper which pulls in all the latest implementations of the tested software and run all of the tests against these implementations. It should be easy to configure new spec compliant implementations. There should also be an informative readiness status on a Starknet Status page. The testing framework should be similar to Ethereum's HIVE, making no assumptions about the underlying implementations (except perhaps in virtual machines, where it should only make assumptions about the format of the resulting state diffs and traces).
A modification to the Starknet specifications SHOULD be merged with a modification of the relevant testing framework, effectively making an ecosystem-wide test-driven development process. I use SHOULD in the IETF sense here because that may not always be feasible.
The following seem like important areas which require testing:
I believe that all of these tests should reside in a repo in the Starknet-io. I want to open a discussion about what is missing from this list and how to collaborate on this effectively across all of the teams.
Open questions:
Beta Was this translation helpful? Give feedback.
All reactions