improvements
: Repeated arguments and quick operations helpers
#376
Milestone
improvements
: Repeated arguments and quick operations helpers
#376
I've noticed that we're repeating a lot of the same arguments in multiple places, which makes the code harder to maintain. One optimization idea is to extract those repeated arguments into a separate file for reuse, improving clarity and reducing duplication. We can explore patterns or techniques to manage and reduce repetitive code in test suites.
Additionally, I think we can introduce more helper functions for commonly used operations instead of relying on
JSONRPCRequest
everywhere. We already have some useful helpers likecreateAccount
andgenerateEd25519PrivateKey
, and I think we could expand on that idea.For example, instead of one large
createToken
function, which can get messy due to the number of arguments, we could break it down into smaller, more targeted helpers such as:These would help encapsulate logic and improve readability while making it easier to use the TCK.
The text was updated successfully, but these errors were encountered: