feat: Make it possible during tests to access internal state for components #5862
Closed
1 of 2 tasks
Labels
enhancement
New feature or request
Feature Request
Describe the Feature Request
When testing contracts that include components, it is currently impossible to use Contract::contract_state_for_testing to access state variables that defined inside the component itself.
It would be great if it were possible to access internal state of components inside tests.
Describe Preferred Solution
Describe Alternatives
Related Code
Additional Context
#5044
If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)
Don't know enough Rust.
The text was updated successfully, but these errors were encountered: