-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from Agoric/new-invitation-spec
feat: use new invitation spec
- Loading branch information
Showing
13 changed files
with
414 additions
and
119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
node_modules | ||
coverage | ||
dist | ||
patches | ||
yarn.lock |
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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Deploy dapp-inter to IPFS | |
|
||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
|
@@ -12,40 +12,40 @@ jobs: | |
permissions: | ||
pull-requests: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Get current date | ||
id: date | ||
run: echo "date=$(date +%Y-%m-%d_%H:%m:%S)" >> $GITHUB_OUTPUT | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Get current date | ||
id: date | ||
run: echo "date=$(date +%Y-%m-%d_%H:%m:%S)" >> $GITHUB_OUTPUT | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Build | ||
run: | | ||
find . | ||
yarn install | ||
yarn build | ||
- name: Build | ||
run: | | ||
find . | ||
yarn install | ||
yarn build | ||
- name: Deploy on IPFS | ||
uses: aquiladev/ipfs-action@12cc5d253735dc2894fe19828bd042c8532acc5d #v0.3.1 | ||
id: ipfs | ||
with: | ||
path: ./dist | ||
service: filebase | ||
pinName: 'dapp-inter-testing-${{ steps.date.outputs.date }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_number }}' | ||
filebaseBucket: ${{ secrets.FILEBASE_BUCKET }} | ||
filebaseKey: ${{ secrets.FILEBASE_KEY }} | ||
filebaseSecret: ${{ secrets.FILEBASE_SECRET }} | ||
- name: Convert IPFS Hash | ||
id: ipfsv1 | ||
run: | | ||
echo "v1hash=$(npx --yes [email protected] base32 ${{ steps.ipfs.outputs.ipfs }})" >> $GITHUB_OUTPUT | ||
- name: Add IPFS info to PR | ||
uses: mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1 #v2 | ||
with: | ||
message: | | ||
IPFS hash: `${{ steps.ipfs.outputs.ipfs }}` | ||
IPFS v1 hash: `${{ steps.ipfsv1.outputs.v1hash }}` | ||
[CF](https://${{ steps.ipfsv1.outputs.v1hash }}.ipfs.cf-ipfs.com) - [DWeb](https://${{ steps.ipfsv1.outputs.v1hash }}.ipfs.dweb.link) - [4EVERLAND](https://${{ steps.ipfsv1.outputs.v1hash }}.ipfs.4everland.io) | ||
- name: Deploy on IPFS | ||
uses: aquiladev/ipfs-action@12cc5d253735dc2894fe19828bd042c8532acc5d #v0.3.1 | ||
id: ipfs | ||
with: | ||
path: ./dist | ||
service: filebase | ||
pinName: 'dapp-inter-testing-${{ steps.date.outputs.date }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_number }}' | ||
filebaseBucket: ${{ secrets.FILEBASE_BUCKET }} | ||
filebaseKey: ${{ secrets.FILEBASE_KEY }} | ||
filebaseSecret: ${{ secrets.FILEBASE_SECRET }} | ||
- name: Convert IPFS Hash | ||
id: ipfsv1 | ||
run: | | ||
echo "v1hash=$(npx --yes [email protected] base32 ${{ steps.ipfs.outputs.ipfs }})" >> $GITHUB_OUTPUT | ||
- name: Add IPFS info to PR | ||
uses: mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1 #v2 | ||
with: | ||
message: | | ||
IPFS hash: `${{ steps.ipfs.outputs.ipfs }}` | ||
IPFS v1 hash: `${{ steps.ipfsv1.outputs.v1hash }}` | ||
[CF](https://${{ steps.ipfsv1.outputs.v1hash }}.ipfs.cf-ipfs.com) - [DWeb](https://${{ steps.ipfsv1.outputs.v1hash }}.ipfs.dweb.link) - [4EVERLAND](https://${{ steps.ipfsv1.outputs.v1hash }}.ipfs.4everland.io) |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
dist | ||
node_modules | ||
yarn.lock | ||
coverage | ||
patches |
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
10 changes: 5 additions & 5 deletions
10
...ic+smart-wallet+0.4.3-dev-1adb7a2.0.patch → ...ic+smart-wallet+0.4.3-dev-8cbf697.0.patch
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
diff --git a/node_modules/@agoric/smart-wallet/src/marshal-contexts.js b/node_modules/@agoric/smart-wallet/src/marshal-contexts.js | ||
index 4fcc880..aa12e55 100644 | ||
index 20aed2b..6194e06 100644 | ||
--- a/node_modules/@agoric/smart-wallet/src/marshal-contexts.js | ||
+++ b/node_modules/@agoric/smart-wallet/src/marshal-contexts.js | ||
@@ -288,7 +288,8 @@ export const makeImportContext = (makePresence = defaultMakePresence) => { | ||
@@ -286,7 +286,8 @@ export const makeImportContext = (makePresence = defaultMakePresence) => { | ||
* @param {string} iface | ||
*/ | ||
fromBoard: (slot, iface) => { | ||
- isBoardId(slot) || Fail`bad board slot ${q(slot)}`; | ||
+ // The UI shouldn't error on null board slots, just return a null value. | ||
+ isBoardId(slot) || slot === null || Fail`bad board slot ${q(slot)}`; | ||
- isDefaultBoardId(slot) || Fail`bad board slot ${q(slot)}`; | ||
+ // Don't throw on null slots. | ||
+ isDefaultBoardId(slot) || slot === null || Fail`bad board slot ${q(slot)}`; | ||
return provideVal(boardObjects, slot, iface); | ||
}, | ||
|
Oops, something went wrong.