bit of a refactor #1

Merged
mico merged 4 commits from review into main 2024-10-25 09:13:40 +00:00
Collaborator
  • changed magic numbers into constants
  • redefined the multipliers to reduce rounding errors
  • factored the structures out to prevent circular deps
  • added fuzz to test_1_profits_per_second
  • moved performRaid earlier in addUnit to collect extra geld before spending it
- changed magic numbers into constants - redefined the multipliers to reduce rounding errors - factored the structures out to prevent circular deps - added fuzz to `test_1_profits_per_second` - moved `performRaid` earlier in `addUnit` to collect extra geld before spending it
yellowBirdy added 2 commits 2024-10-25 00:23:45 +00:00
bit of a refactor
Some checks are pending
CI / Foundry project (push) Waiting to run
738378d93e
raid before buy in addUnit
Some checks failed
CI / Foundry project (push) Waiting to run
CI / Foundry project (pull_request) Has been cancelled
49b7110a6c
mico added 2 commits 2024-10-25 09:13:06 +00:00
Ran forge fmt + solved client bug with amounts being much too high due to change in contract calculations
Some checks failed
CI / Foundry project (push) Has been cancelled
CI / Foundry project (pull_request) Has been cancelled
7a32129f7e
mico merged commit 4bcf23a9ac into main 2024-10-25 09:13:40 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mico/idle_moloch#1
No description provided.