This repository has been archived by the owner on Jan 9, 2025. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make toml available to deployer docker imge (#1020)
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior? <!-- Please describe the current behavior that you are modifying, or link to a relevant issue. --> Resolves #1019 Context: - `get_eoa` is in kakarot.py file - kakarot.py file uses toml package - deploy_kakarot.py uses get_eoa - toml is called in the deployer docker image - toml is a dev dep, and is not available in the docker image - fail⚠️ Solutions: - split kakarot.py in order to not try to import toml for the following functions: `get_eoa` and the ones it uses (~5 in the same file) => cleaner but overkill for 1 dependency - add toml as real dependency => quick and dirty but fast <!-- Reviewable:start --> - - - This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/kkrt-labs/kakarot/1020) <!-- Reviewable:end -->
- Loading branch information