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

Deploy Manifest Refactor + Recursive ENS Registration Deployer #1097

Merged
merged 24 commits into from
Sep 21, 2022

Conversation

namesty
Copy link
Collaborator

@namesty namesty commented Aug 5, 2022

Closes #1138

@namesty namesty marked this pull request as ready for review August 5, 2022 05:40
@namesty namesty requested a review from dOrgJelli as a code owner August 5, 2022 05:40
Copy link
Contributor

@Niraj-Kamdar Niraj-Kamdar left a comment

Choose a reason for hiding this comment

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

What if we convert the deployers into the wrappers, won't we be able to use workflow directly for defining the deployer manifest?

@namesty
Copy link
Collaborator Author

namesty commented Aug 5, 2022

What if we convert the deployers into the wrappers, won't we be able to use workflow directly for defining the deployer manifest?

@Niraj-Kamdar I discussed this with Jure a week ago, and the conclusion was that when we'll make them wrappers in the near future (after wrapper embedding) and inevitably we'll need to tweak and make changes to the deploy command's workflow; but it shouldn't affect its usage as a user

dOrgJelli
dOrgJelli previously approved these changes Aug 18, 2022
…-refactor

# Conflicts:
#	packages/cli/src/__tests__/e2e/deploy.spec.ts
#	packages/cli/src/lib/defaults/deploy-modules/ens-recursive-name-register/index.ts
#	packages/js/manifests/polywrap/src/formats/polywrap.deploy/index.ts
#	packages/js/manifests/polywrap/src/formats/polywrap.deploy/validate.ts
#	packages/js/test-env/package.json
#	packages/js/test-env/src/index.ts
export const embeddedWrappers = {
ens: `wrap://fs/${path.join(__dirname, "wrappers", "ens")}`,
uts46: `wrap://fs/${path.join(__dirname, "wrappers", "uts46")}`,
sha3: `wrap://fs/${path.join(__dirname, "wrappers", "sha3")}`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to embed uts46 & sha3?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think that the reason is that ENS wrapper needs those to work

Copy link
Contributor

@krisbitney krisbitney Sep 15, 2022

Choose a reason for hiding this comment

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

Tests sometimes fail to resolve the URIs and fetch the wrappers. It happens enough to make it hard to get all of the CI tests to pass at the same time. The ENS wrapper depends on the uts46 and sha3 wrappers now, so if we are embedding the ENS wrapper then it makes sense to embed uts46 and sha3 for the same reasons.

Niraj-Kamdar
Niraj-Kamdar previously approved these changes Sep 16, 2022
Copy link
Contributor

@Niraj-Kamdar Niraj-Kamdar left a comment

Choose a reason for hiding this comment

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

Awesome work! Should be good to merged once @dOrgJelli 's comments are addressed.

dOrgJelli
dOrgJelli previously approved these changes Sep 21, 2022
@dOrgJelli dOrgJelli merged commit d8512d4 into origin-dev Sep 21, 2022
@dOrgJelli dOrgJelli deleted the namesty/deploy-manifest-refactor branch April 10, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

local-dev-ens Deploy Module Doesn't Output /ens/testnet/... URI
5 participants