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

fix(cli): support enums in deploy, only deploy modules/systems once #1749

Merged
merged 15 commits into from
Oct 12, 2023

Conversation

holic
Copy link
Member

@holic holic commented Oct 11, 2023

follow up of missed TODO in #1702

@changeset-bot
Copy link

changeset-bot bot commented Oct 11, 2023

🦋 Changeset detected

Latest commit: 1053ee0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages
Name Type
@latticexyz/cli Patch
@latticexyz/abi-ts Patch
@latticexyz/block-logs-stream Patch
@latticexyz/common Patch
@latticexyz/config Patch
create-mud Patch
@latticexyz/dev-tools Patch
@latticexyz/ecs-browser Patch
@latticexyz/faucet Patch
@latticexyz/gas-report Patch
@latticexyz/network Patch
@latticexyz/noise Patch
@latticexyz/phaserx Patch
@latticexyz/protocol-parser Patch
@latticexyz/react Patch
@latticexyz/recs Patch
@latticexyz/schema-type Patch
@latticexyz/services Patch
@latticexyz/solecs Patch
solhint-config-mud Patch
solhint-plugin-mud Patch
@latticexyz/std-client Patch
@latticexyz/std-contracts Patch
@latticexyz/store-cache Patch
@latticexyz/store-indexer Patch
@latticexyz/store-sync Patch
@latticexyz/store Patch
@latticexyz/utils Patch
@latticexyz/world-modules Patch
@latticexyz/world Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment on lines +46 to +49
const userTypes = {
...config.userTypes,
...Object.fromEntries(Object.entries(config.enums).map(([key]) => [key, { internalType: "uint8" }] as const)),
};
Copy link
Member

@alvrs alvrs Oct 11, 2023

Choose a reason for hiding this comment

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

how did this even work before for generating table libraries 👀

alvrs
alvrs previously approved these changes Oct 11, 2023
holic added 2 commits October 12, 2023 09:41
This reverts commit d1ac8b6347b63013b89e8786bd562ff901dbe944.
@holic holic changed the title fix(cli): support enums in config during deploy fix(cli): support enums in config during deploy, only deploy modules/systems once Oct 12, 2023
@holic holic changed the title fix(cli): support enums in config during deploy, only deploy modules/systems once fix(cli): support enums in deploy, only deploy modules/systems once Oct 12, 2023
@holic holic merged commit 4fe0793 into main Oct 12, 2023
@holic holic deleted the holic/deploy-config-enums branch October 12, 2023 10:45
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