Skip to content

Commit

Permalink
fixup! feat: a3p-integration package
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jan 10, 2024
1 parent 700a004 commit 2f05b47
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
22 changes: 22 additions & 0 deletions a3p-integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,25 @@ git add a3p-integration/proposals/c:myproposal/$TARBALL
yarn add @agoric/synthetic-chain@file:$TARBALL
```

# Troubleshooting

## no match for platform

If you get an error like this,
```
ERROR: failed to solve: ghcr.io/agoric/agoric-3-proposals:main: no match for platform in manifest sha256:83321abda66fa94915f1ae20d651b66870f2d1aac17b71449c04ecd46b6b1b96: not found
```
it's because our CI only builds x64 yet and you're on some other machine, probably a Mac.

There is some effort to make CI build multiplatform: https://github.com/Agoric/agoric-3-proposals/pull/32

Meanwhile you can build the `main` image locally:

```sh
cd agoric-3-proposals
./node_modules/.bin/synthetic-chain build

# build the default entrypoint and tag it so the `append` command finds it
docker buildx build --tag ghcr.io/agoric/agoric-3-proposals:main .
```
8 changes: 4 additions & 4 deletions a3p-integration/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# yarn lockfile v1


"@agoric/synthetic-chain@*":
version "0.0.1-rc0"
resolved "https://registry.yarnpkg.com/@agoric/synthetic-chain/-/synthetic-chain-0.0.1-rc0.tgz#0badb5b3e86eb3029a1cf5e75cd484c867f47d16"
integrity sha512-rQT8SXwWgNsvbM6XdffHZzb96veQXIgWT5rZ6y4naccZuugUikxP6MjOkRg35FEidBUnlnlXxELzWWmZJxZQXw==
"@agoric/synthetic-chain@^0.0.1":
version "0.0.1"
resolved "https://registry.yarnpkg.com/@agoric/synthetic-chain/-/synthetic-chain-0.0.1.tgz#59d334efc23384e43ea607ae8b7272a711a8aa1f"
integrity sha512-LGCNkJZq+w+SZihOFF6kfwFABjD8+PnitOUVbaR9ezDIy5ZvyGDykdeFwa4UjKRDZivME/mxYUr4rQyeFn5ARg==
dependencies:
tsx "^3.12.8"
typescript "^5.3.3"
Expand Down

0 comments on commit 2f05b47

Please sign in to comment.