Skip to content

Commit

Permalink
chore: minor build fixes
Browse files Browse the repository at this point in the history
removed kustomize from deps, moved sudo command to the top in qemu test,
removed IERC20 from ts-gen-abi causing wagmi generate to fail
  • Loading branch information
revoltez committed May 20, 2024
1 parent 65722a0 commit 9d8eec3
Show file tree
Hide file tree
Showing 9 changed files with 795 additions and 752 deletions.
1,046 changes: 597 additions & 449 deletions package-lock.json

Large diffs are not rendered by default.

479 changes: 190 additions & 289 deletions pkg/abi-ts/generated.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg/abi-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ts-gen-abi": "wagmi generate",
"generate": "npm run gen-abi"
},
"devDependencies": {
"@wagmi/cli": "^1.5.2"
"dependencies": {
"@wagmi/cli": "^2.1.7"
}
}
6 changes: 1 addition & 5 deletions pkg/abi-ts/wagmi.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ export default defineConfig({
forge: {
build: false
},
include: [
'Payment.json',
'IERC20.json',
'MockToken.json'
]
include: ['Payment.json', 'MockToken.json']
})
]
})
2 changes: 1 addition & 1 deletion test/e2e/constellation/miniconstellation/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ which go >/dev/null
which ipfs >/dev/null
which forge &>/dev/null || export PATH=$PATH:~/.bin/foundry
which forge >/dev/null; which cast >/dev/null
which helmfile >/dev/null; which helm >/dev/null; which kustomize >/dev/null; which kubectl >/dev/null
which helmfile >/dev/null; which helm >/dev/null; which kubectl >/dev/null
which constellation >/dev/null || { echo "Install Constellation, https://docs.edgeless.systems/constellation/getting-started/first-steps-local#software-installation-on-ubuntu"; exit 1; }

CONSTELLATION_PATH=${CONSTELLATION_PATH:-~/.constellation-root}
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/constellation/qemu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ if [ "$1" = "teardown" ]; then
exit 0
fi

sudo chmod o+rw /run/containerd/containerd.sock

## 0: Generate helm template and inject it into constellation base image
helmfile template -f "$CHART_PATH" > "$CONSTELLATION_PATH/image/base/mkosi.skeleton/usr/lib/helmfile-template"

Expand Down
4 changes: 0 additions & 4 deletions test/e2e/constellation/qemu/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ FUNDS=10000000000000000000000
set +v
set -x


sudo chmod o+rw /run/containerd/containerd.sock


go run ../../../../cmd/trustedpods/ pod deploy ../../common/manifest-nginx.yaml \
--ethereum-key "$PUBLISHER_KEY" \
--payment-contract "$PAYMENT_CONTRACT" \
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/minikube/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ which go >/dev/null
which ipfs >/dev/null
which forge &>/dev/null || export PATH=$PATH:~/.bin/foundry
which forge >/dev/null; which cast >/dev/null
which minikube >/dev/null; which helmfile >/dev/null; which helm >/dev/null; which kustomize >/dev/null; which kubectl >/dev/null
which minikube >/dev/null; which helmfile >/dev/null; which helm >/dev/null; which kubectl >/dev/null
which docker >/dev/null

# based on https://stackoverflow.com/a/31269848 / https://bobcopeland.com/blog/2012/10/goto-in-bash/
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/webui/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trap 'pkill -f "kubectl port-forward" && kill $(jobs -p) &>/dev/null' EXIT
cd "$(dirname "$0")"

which curl >/dev/null; which jq >/dev/null; which xargs >/dev/null; which sed >/dev/null
which minikube >/dev/null; which helmfile >/dev/null; which helm >/dev/null; which kustomize >/dev/null; which kubectl >/dev/null
which minikube >/dev/null; which helmfile >/dev/null; which helm >/dev/null; which kubectl >/dev/null
which npm >/dev/null

echo "=============================================================================================="
Expand Down

0 comments on commit 9d8eec3

Please sign in to comment.