-
Notifications
You must be signed in to change notification settings - Fork 194
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
feat(cli): speed up dev deploy with temporary automine during deploy #3130
Conversation
🦋 Changeset detectedLatest commit: ad2d4a4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 27 packages
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 |
packages/cli/src/runDeploy.ts
Outdated
@@ -155,6 +159,10 @@ export async function runDeploy(opts: DeployOptions): Promise<WorldDeploy> { | |||
opts.kms ? true : false, | |||
); | |||
} | |||
|
|||
// Reset mining mode after deploy | |||
resetMiningMode(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be await
ed?
params: [], | ||
id: 1, | ||
}), | ||
}).then((res) => res.json()); |
There was a problem hiding this comment.
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 call the rpc manually when viem has actions for this? https://viem.sh/docs/actions/test/getAutomine
await getAction(client, getAutomine, 'getAutomine')({});
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, much better now
No description provided.