-
Notifications
You must be signed in to change notification settings - Fork 231
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
8868 gen submissions #9009
8868 gen submissions #9009
Conversation
@turadg, It's confused about the commits. I'll rebase and fix it. |
273bbf5
to
29e16b0
Compare
@@ -23,7 +23,8 @@ | |||
] | |||
}, | |||
"scripts": { | |||
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" | |||
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops", | |||
"build:submission": "../../../scripts/generate-a3p-submission.sh probe-zcf-bundle a:upgrade-next probeZcfBundle probe-submission" |
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.
the proposal package must not take a dependency on SDK scripts.
What you could do instead is put these params into agoricProposal
and have the top-level script read those to know what to build.
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.
Here's another try. It required extra escaping because of directory names containing dashes.
674fcd5
to
67d88f3
Compare
@@ -6,6 +6,8 @@ | |||
"upgradeInfo": { | |||
"coreProposals": [] | |||
}, | |||
"submission": "probe-zcf-bundle", | |||
"probe-zcf-bundle": "a:upgrade-next probeZcfBundle probe-submission", |
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.
a:upgrade-next
is implied by the proposal package.
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.
Let's also be clear that this isn't part of the synthetic-chain API.
"sdk-generate": [
"probe-zcf-bundle probeZcfBundle probe-submission"
]
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.
done
a3p-integration/package.json
Outdated
@@ -6,7 +6,7 @@ | |||
"scripts": { | |||
"build": "yarn run build:sdk && yarn run build:submission && yarn run build:synthetic-chain", | |||
"build:sdk": "make -C ../packages/deployment docker-build-sdk", | |||
"build:submission": "../scripts/generate-a3p-submission.sh", | |||
"build:submission": "../scripts/generate-a3p-submission-dirs.sh", |
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.
nit: plural
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.
done.
"submission": "test-localchain", | ||
"test-localchain": "b:localchain" |
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.
"submission": "test-localchain", | |
"test-localchain": "b:localchain" | |
"sdk-generate": [ | |
"test-localchain" | |
] |
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.
cone
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.
Looks good!
5a1226a
to
c0dece4
Compare
refs: a3p#87
refs: 8868
Description
Rather than requiring every new core-eval proposal to edit
generate-a3p-submission.sh
, each proposal can add details to its package.json, and all required submissions will be generated from that.Security Considerations
None: internal tooling only
Scaling Considerations
None: internal tooling only
Documentation Considerations
Added comments in some of the READMEs
Testing Considerations
Verified it worked on #8911
Upgrade Considerations
This is support for testing upgrades. It doesn't involve any code on chain.