-
Notifications
You must be signed in to change notification settings - Fork 23
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(publish): chain id setup #1408
Conversation
|
@@ -0,0 +1 @@ | |||
{"processId":63247} |
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.
remove
.nx/workspace-data/lockfile.hash
Outdated
11580160284360395692 |
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.
remove?
packages/builder/src/steps/clone.ts
Outdated
@@ -253,7 +253,7 @@ const cloneSpec = { | |||
state: builtState, | |||
meta: deployInfo.meta, | |||
status: partialDeploy ? 'partial' : 'complete', | |||
chainId, | |||
chainId: runtime.chainId, |
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.
this is wrong. clone
steps should be pulling from chain ID 13370 by default. This is as intended. Please undo.
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.
This was correct. It will be included in v2.18.0.
fix confirmed, going to merge this as is. |
Closes https://linear.app/usecannon/issue/CAN-559/chainid-is-being-set-to-13370
This PR fixes two bugs:
cannon publish
includingclone
steps, it was wrongly publishing the subpackages with the13370
chain instead of the target chain, that is addressed here: https://github.com/usecannon/cannon/pull/1408/files#diff-756d4c0d0bd036727ea6922554c95272acc0b2e94bd8311308f1a69574d94f82R98cannon build
, the imports of clone steps were having always the chainId13370
, this is fixed here: https://github.com/usecannon/cannon/pull/1408/files#diff-950232bdec873b2ee3a9f82132b20b978b8ae9fcf3be3a475e613efee95046f6R256