Skip to content

Conversation

@alexgex
Copy link
Contributor

@alexgex alexgex commented Apr 8, 2025

No description provided.

Masterix0 and others added 16 commits February 26, 2025 19:31
Added sample info.py file to fix pylance error since file doesn't existe.
File will be overwritten at build time.
…alidation

• Introduced dynamic fetching of contract ABIs from skale-contracts by allowing either an alias (e.g., “test-manager”) or a direct contract address (e.g., “0xabc123…”) in the environment.
• Renamed and replaced the old environment variables that directly pointed to local ABI files.
• Created new validation logic (validate_env_alias_or_address) for both Manager and IMA contracts in the CLI.
• Removed the obsolete tests that ensured local ABI files existed/were valid JSON and replaced them with new tests that check for valid aliases or addresses.
• Updated existing tests and mocks to patch or skip the new external validation calls where necessary.
• Added ruff configuration (ruff.toml) and reformatted code throughout the repository.
Added it to README dev preparation so there are no problems with missing info.py.
Added info.py to .gitignore.
…ate contract address validation logic to use this utility function.
…_OR_ADDRESS' to 'MANAGER_CONTRACTS' and 'IMA_CONTRACTS', respectively.
@alexgex alexgex linked an issue Apr 8, 2025 that may be closed by this pull request
4 tasks
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

Successfully merging this pull request may close these issues.

Update resource allocation file - add new type

3 participants