You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: clean up stylus test suite with realistic parameters and stylus 0.9.0 framework
- Fix compilation errors in test method calls (update_price_feeds vs update_price_feeds_internal)
- Add realistic test constants matching Starknet implementation (TEST_PRICE_ID, TEST_PUBLISH_TIME, etc.)
- Update test structure to use TestVM approach from stylus-sdk 0.9.0
- Remove unused imports and variables to clean up warnings
- Add proper error handling tests for price unavailable scenarios
- Structure tests to verify storage updates (blocked by stylus-sdk 0.9.0 linking issues)
Note: Tests are structured correctly but cannot run due to known stylus-sdk 0.9.0
host function linking issues (call_contract, storage_flush_cache, etc.)
Co-Authored-By: [email protected] <[email protected]>
0 commit comments