Closed ponderingdemocritus closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
eternum | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 14, 2024 1:30pm |
The changes in this pull request include modifications to several configuration files and the introduction of new interfaces and methods within the combat and map generation systems. The .gitignore
file has been updated to ignore new configuration files, while Scarb.toml
has a new key related to StarkNet contracts. The dojo_prod.toml
file has a new entry for a map generation system. Additionally, new methods for managing battle states and troop interactions have been implemented, enhancing the modularity and organization of the combat and map systems.
File Path | Change Summary |
---|---|
contracts/.gitignore | Modified entry from dojo_prod.toml to dojo_prod.local.toml and added .env to ignored files. |
contracts/Scarb.toml | Added new key casm = true under [[target.starknet-contract]] . |
contracts/dojo_prod.toml | Added new entry "eternum-map_generation_systems" in the [writers] section. |
contracts/src/systems/combat/contracts/battle_systems.cairo | Introduced IBattleUtilsContract<T> with methods leave_battle and leave_battle_if_ended . |
contracts/src/systems/combat/contracts/troop_systems.cairo | Updated ITroopContract methods to utilize IBattleUtilsContractDispatcher for battle management. |
contracts/src/systems/dev/contracts/bank.cairo | Refactored create_admin_bank to use IMapGenerationSystemsDispatcher for adding mercenaries. |
contracts/src/systems/map/contracts.cairo | Consolidated imports and refactored explore function to use IMapGenerationSystemsDispatcher . |
contracts/src/systems/map/map_generation.cairo | Introduced IMapGenerationSystems<T> trait and refactored methods to use ContractState . |
contracts/src/utils/testing/world.cairo | Updated imports and contract definitions for battle_utils_systems and map_generation_systems . |
In the fields where battles play,
New contracts guide the fray.
Troops and maps in harmony,
With changes bright, we dance with glee!
Configuration's tune we sing,
Hopping forth, let joy take wing! 🐇✨
[!WARNING]
Rate limit exceeded
@credence0x has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 10 minutes and 53 seconds before requesting another review.
⌛ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.🚦 How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://docs.coderabbit.ai/faq) for further information.📥 Commits
Reviewing files that changed from the base of the PR and between 308ef0bd1a289fe94d41629c3d0832a944231b46 and c14f18a481ccd34a7ce74116d12c33d7afe5be00.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Failed to generate code suggestions for PR
Summary by CodeRabbit
New Features
Bug Fixes
Refactor