Skip to content

Commit 5c3269d

Browse files
authored
fix: make portal operations work (#152)
1 parent 741510b commit 5c3269d

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
lines changed

docker/erc20-deployer/Dockerfile

+1-8
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,4 @@ ENV PK_ETH_WALLET="${PK_ETH_WALLET}"
2626
EXPOSE ${PORT}
2727

2828
# copy over script and run
29-
CMD ["pnpm", "start"]
30-
31-
32-
# L1_CHAIN_HTTP=http://localhost:8545 \
33-
# FUEL_GRAPHQL_ENDPOINT=http://localhost:4000/graphql \
34-
# DEPLOYMENTS_HTTP=http://localhost:8080 \
35-
# PK_ETH_WALLET=59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d \
36-
# pnpm start
29+
CMD ["pnpm", "start"]

docker/l1-chain/Dockerfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# ====== Build Image ======
2-
FROM node:20-alpine AS BUILD_IMAGE
2+
FROM node:18-alpine AS BUILD_IMAGE
33

44
# dependencies
55
RUN apk --no-cache add git
66
RUN npm i -g pnpm
77

8-
98
# set workdir
109
WORKDIR /l1chain
1110

@@ -18,7 +17,7 @@ ADD ./.fuelChainConsts.env /l1chain/portal-contracts/.fuelChainConsts.env
1817
WORKDIR /l1chain/portal-contracts
1918

2019
# build the ethereum contracts and environment
21-
RUN pnpm install --force
20+
RUN pnpm install
2221
# replace the fuel chain consts values and change contract code
2322
RUN pnpm ts-node scripts/replaceFuelChainConsts.ts
2423
# run contract compile with the new consts
@@ -29,7 +28,7 @@ RUN pnpm compile
2928
COPY ./hardhat/hardhat.config.ts .
3029

3130
# ====== Final Image ======
32-
FROM node:20-alpine
31+
FROM node:18-alpine
3332

3433
ARG L1_IP=0.0.0.0
3534
ARG L1_PORT=8545

packages/app-portal/.env.production

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
VITE_ETH_CHAIN=sepolia
22
VITE_FUEL_CHAIN=fuelBeta5
3-
VITE_FUEL_VERSION=0.20.7
3+
VITE_FUEL_VERSION=0.22.0
44
VITE_IS_PUBLIC_PREVIEW=true
55
VITE_WALLET_INSTALL=https://chrome.google.com/webstore/detail/fuel-wallet/dldjpboieedgcmpkchcjcbijingjcgok
66
VITE_WALLET_INSTALL_NEXT=https://next-wallet.fuel.network/docs/install/#install-from-source-code

packages/app-portal/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/fuel-logo.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Fuel Portal</title>
88
</head>

0 commit comments

Comments
 (0)