Relayer: Setup for Merging into Main (#3039)
* gRelayer: surrounding files
* modification to get compilation
* restore devnet
* remove generic relayer docker
* remove wait for relayer engine
* keep build time 20
* sh -> bash
* sh -> bash
* Remove comment
* bash -> sh
* Revert "bash -> sh"
This reverts commit 5c37e92fa1
.
* bash->sh
This commit is contained in:
parent
05cec3d729
commit
3009d002fd
|
@ -9,6 +9,7 @@
|
|||
/bitcoin/ @conorpp @jumpsiegel @evan-gray @hendrikhofstadt
|
||||
/cosmwasm/ @jynnantonix @kcsongor @a5-pickle
|
||||
/ethereum/ @a5-pickle @calebrate @gator-boi @hendrikhofstadt @kcsongor
|
||||
/ethereum/contracts/relayer @chase-45 @derpy-duck @JoeHowarth
|
||||
/near/ @jumpsiegel @evan-gray @hendrikhofstadt @kcsongor
|
||||
/solana/ @hendrikhofstadt @kcsongor @a5-pickle
|
||||
/sui/ @kcsongor @a5-pickle @gator-boi @heyitaki
|
||||
|
@ -19,7 +20,8 @@
|
|||
|
||||
/clients/ @kcsongor @kev1n-peters @evan-gray
|
||||
/lp_ui/ @evan-gray @kev1n-peters
|
||||
/relayer/ @evan-gray @kev1n-peters
|
||||
/relayer/spy_relayer @evan-gray @kev1n-peters
|
||||
/relayer/generic_relayer @chase-45 @derpy-duck @JoeHowarth
|
||||
/scripts/ @evan-gray @kcsongor
|
||||
/sdk/ @bruce-riley @evan-gray
|
||||
/sdk/js-proto-node/ @evan-gray @kev1n-peters
|
||||
|
|
|
@ -68,8 +68,9 @@ jobs:
|
|||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "16"
|
||||
- run: cd ethereum && ../scripts/install-foundry
|
||||
- run: cd ethereum && PATH=$PATH:$HOME/.foundry/bin/ make test
|
||||
- name: Install Foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
- run: cd ethereum && make test
|
||||
|
||||
ethereum-upgrade:
|
||||
runs-on: ubuntu-20.04
|
||||
|
@ -78,6 +79,8 @@ jobs:
|
|||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "16"
|
||||
- name: Install Foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
- run: cd clients/js && make install
|
||||
- run: cd ethereum && make test-upgrade
|
||||
|
||||
|
|
2
Tiltfile
2
Tiltfile
|
@ -453,7 +453,7 @@ docker_build(
|
|||
|
||||
# ignore local node_modules (in case they're present)
|
||||
ignore = ["./ethereum/node_modules"],
|
||||
|
||||
build_args = {"num_guardians": str(num_guardians)},
|
||||
# sync external scripts for incremental development
|
||||
# (everything else needs to be restarted from scratch for determinism)
|
||||
#
|
||||
|
|
|
@ -13,7 +13,7 @@ spec:
|
|||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- "sh /app/testing/sdk.sh && touch /app/testing/success"
|
||||
- "bash /app/testing/sdk.sh && touch /app/testing/success"
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
FROM node:18-alpine@sha256:44aaf1ccc80eaed6572a0f2ef7d6b5a2982d54481e4255480041ac92221e2f11
|
||||
FROM node:19.6.1-slim@sha256:a1ba21bf0c92931d02a8416f0a54daad66cb36a85d2b73af9d73b044f5f57cfc
|
||||
|
||||
RUN apk update && apk add g++ make python3 curl
|
||||
RUN apt-get update && apt-get -y install \
|
||||
git python3 make curl netcat
|
||||
|
||||
RUN npm i typescript -g
|
||||
RUN curl -L https://foundry.paradigm.xyz | bash
|
||||
RUN $HOME/.foundry/bin/foundryup
|
||||
RUN ls $HOME/.foundry/bin
|
||||
RUN mv /root/.foundry/bin/forge /bin/forge
|
||||
|
||||
RUN mkdir -p /app
|
||||
WORKDIR /app
|
||||
|
@ -10,6 +17,10 @@ RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \
|
|||
npm ci --prefix ethereum
|
||||
COPY ethereum ./ethereum
|
||||
|
||||
WORKDIR /app/ethereum
|
||||
RUN make forge_dependencies
|
||||
WORKDIR /app
|
||||
|
||||
COPY solana/idl ./solana/idl/
|
||||
|
||||
COPY sdk/js/package.json sdk/js/package-lock.json ./sdk/js/
|
||||
|
|
Loading…
Reference in New Issue