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

feat(a3p-integration): add core eval in test #8929

Merged
merged 4 commits into from
Feb 16, 2024

Conversation

mhofman
Copy link
Member

@mhofman mhofman commented Feb 15, 2024

refs: #8887

Description

Follow up to #8902 adding a standalone a3p test which verifies core eval governance functionality on an upgraded chain.

Security Considerations

None

Scaling Considerations

None

Documentation Considerations

Serves as a self-documenting template for other similar a3p tests

Testing Considerations

This is adding an a3p test

Upgrade Considerations

This is an integration test of chain software upgrades

@mhofman mhofman added the automerge:squash Automatically squash merge label Feb 15, 2024
@mhofman mhofman requested review from turadg and dckc February 15, 2024 22:08
@mhofman mhofman added force:integration Force integration tests to run on PR and removed automerge:squash Automatically squash merge labels Feb 15, 2024
Base automatically changed from mhofman/clarify-a3p to master February 15, 2024 22:26
Comment on lines +12 to +19
const replaceTemplateValuesInFile = async (fileName, replacements) => {
let script = await readFile(`${fileName}.tjs`, 'utf-8');
for (const [template, value] of Object.entries(replacements)) {
script = script.replaceAll(`{{${template}}}`, value);
}
await writeFile(`${fileName}.js`, script);
};
Copy link
Member

Choose a reason for hiding this comment

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

this will be handy for Agoric/agoric-3-proposals#82

a3p-integration/proposals/a:upgrade-next/jsconfig.json Outdated Show resolved Hide resolved
@mhofman mhofman added force:integration Force integration tests to run on PR and removed force:integration Force integration tests to run on PR labels Feb 15, 2024
@mhofman mhofman force-pushed the mhofman/8887-core-eval-test branch from 3be300d to 0cd9160 Compare February 16, 2024 18:25
@mhofman mhofman added automerge:squash Automatically squash merge and removed force:integration Force integration tests to run on PR labels Feb 16, 2024
@mergify mergify bot merged commit bc337b5 into master Feb 16, 2024
73 checks passed
@mergify mergify bot deleted the mhofman/8887-core-eval-test branch February 16, 2024 18:57
mhofman added a commit that referenced this pull request Feb 18, 2024
* feat(a3p-integration): add core eval in test

* fixup! feat(a3p-integration): add core eval in test

* Nudge

* test: reduce race sensitivity

---------

Co-authored-by: Turadg Aleahmad <turadg@agoric.com>
mhofman added a commit that referenced this pull request Feb 18, 2024
* feat(a3p-integration): add core eval in test

* fixup! feat(a3p-integration): add core eval in test

* Nudge

* test: reduce race sensitivity

---------

Co-authored-by: Turadg Aleahmad <turadg@agoric.com>
mhofman added a commit that referenced this pull request Feb 18, 2024
* feat(a3p-integration): add core eval in test

* fixup! feat(a3p-integration): add core eval in test

* Nudge

* test: reduce race sensitivity

---------

Co-authored-by: Turadg Aleahmad <turadg@agoric.com>
mhofman added a commit that referenced this pull request Feb 19, 2024
* feat(a3p-integration): add core eval in test

* fixup! feat(a3p-integration): add core eval in test

* Nudge

* test: reduce race sensitivity

---------

Co-authored-by: Turadg Aleahmad <turadg@agoric.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants