Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: partial changes #61

Merged
merged 20 commits into from
Dec 26, 2024
Merged

chore: partial changes #61

merged 20 commits into from
Dec 26, 2024

Conversation

DavidMinarsch
Copy link
Contributor

No description provided.

contracts/BalanceTrackerFixedPriceBase.sol Outdated Show resolved Hide resolved
contracts/BalanceTrackerFixedPriceNative.sol Show resolved Hide resolved
contracts/MechFactoryFixedPriceNative.sol Outdated Show resolved Hide resolved
contracts/MechMarketplace.sol Show resolved Hide resolved
contracts/MechMarketplace.sol Show resolved Hide resolved
contracts/OlasMech.sol Outdated Show resolved Hide resolved
contracts/OlasMech.sol Outdated Show resolved Hide resolved
contracts/OlasMech.sol Show resolved Hide resolved
contracts/OlasMech.sol Outdated Show resolved Hide resolved
contracts/OlasMech.sol Show resolved Hide resolved
Comment on lines -278 to -279
// Add mech address into the global set
setMechs.push(mech);
Copy link
Collaborator

@kupermind kupermind Dec 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would leave this in some form. For now there's no mech tracker created by MM, just events. numMechs then becomes meaningless.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now have the mapping, don't also need a set. The numMechs is now tracked explicitly as a variable

contracts/OlasMech.sol Outdated Show resolved Hide resolved
@DavidMinarsch DavidMinarsch merged commit e653637 into unchained_mm Dec 26, 2024
2 checks passed
@DavidMinarsch DavidMinarsch deleted the fix branch December 26, 2024 19:12
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.

2 participants