Skip to content

Commit

Permalink
chore: leave the built artifacts in /submission/, with varying names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Oct 10, 2024
1 parent da31663 commit ed703d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions a3p-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"build": "yarn run build:sdk && yarn run build:submissions && yarn run build:synthetic-chain && yarn run build:priceFeeds-for-mainnet && yarn run build:priceFeeds-for-devnet",
"build:sdk": "make -C ../packages/deployment docker-build-sdk",
"build:submissions": "scripts/build-all-submissions.sh",
"build:priceFeeds-for-mainnet": "scripts/build-submission.sh proposals/f:replace-price-feeds inter-protocol/updatePriceFeeds.js mainNet UNRELEASED_main; scripts/build-submission.sh proposals/f:replace-price-feeds vats/add-auction.js mainNet; scripts/build-submission.sh proposals/f:replace-price-feeds vats/upgradeVaults.js mainNet",
"build:priceFeeds-for-devnet": "scripts/build-submission.sh proposals/f:replace-price-feeds inter-protocol/updatePriceFeeds.js devNet UNRELEASED_devnet; scripts/build-submission.sh proposals/f:replace-price-feeds vats/add-auction.js devNet; scripts/build-submission.sh proposals/f:replace-price-feeds vats/upgradeVaults.js devNet",
"build:priceFeeds-for-mainnet": "scripts/build-submission.sh proposals/f:replace-price-feeds inter-protocol/updatePriceFeeds.js submission UNRELEASED_main; scripts/build-submission.sh proposals/f:replace-price-feeds vats/add-auction.js; scripts/build-submission.sh proposals/f:replace-price-feeds vats/upgradeVaults.js",
"build:priceFeeds-for-devnet": "scripts/build-submission.sh proposals/f:replace-price-feeds inter-protocol/updatePriceFeeds.js submission UNRELEASED_devnet; scripts/build-submission.sh proposals/f:replace-price-feeds vats/add-auction.js; scripts/build-submission.sh proposals/f:replace-price-feeds vats/upgradeVaults.js",
"build:synthetic-chain": "yarn synthetic-chain build",
"test": "yarn synthetic-chain test",
"doctor": "yarn synthetic-chain doctor"
Expand Down
5 changes: 4 additions & 1 deletion packages/builders/scripts/inter-protocol/updatePriceFeeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ export default async (homeP, endowments) => {

const { writeCoreEval } = await makeHelpers(homeP, endowments);

await writeCoreEval('gov-price-feeds', (utils, opts) =>
const match = scriptArgs[0].match(/UNRELEASED_(.*)/);
const variant = match ? match[1] : scriptArgs;

await writeCoreEval(`gov-price-feeds-${variant}`, (utils, opts) =>
defaultProposalBuilder(utils, { ...opts, ...config }),
);
};

0 comments on commit ed703d2

Please sign in to comment.