-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update auction in agoricNames, test that the boardId changed
- Loading branch information
1 parent
7296b47
commit afe0522
Showing
6 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# we have an eval.sh so we can run prepare.sh before the rest | ||
|
||
echo "[$PROPOSAL] Running prepare.sh" | ||
./prepare.sh | ||
|
||
echo "[$PROPOSAL] Running proposal declared in package.json" | ||
# copy to run in the proposal package so the dependencies can be resolved | ||
cp /usr/src/upgrade-test-scripts/eval_submission.js . | ||
./eval_submission.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
a3p-integration/proposals/a:vaults-auctions/saveAuctionInstance.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env node | ||
|
||
import { writeFile } from 'fs/promises'; | ||
import { getAuctionInstance } from './agd-tools.js'; | ||
|
||
const { env } = process; | ||
|
||
const oldAuctionInstance = await getAuctionInstance(); | ||
console.log('old auction instance ', oldAuctionInstance, env.HOME); | ||
|
||
await writeFile( | ||
`${env.HOME}/.agoric/previousInstance.json`, | ||
oldAuctionInstance, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters