Skip to content

Commit

Permalink
fix: make portal operations work (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight authored Feb 1, 2024
1 parent 741510b commit 5c3269d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
9 changes: 1 addition & 8 deletions docker/erc20-deployer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,4 @@ ENV PK_ETH_WALLET="${PK_ETH_WALLET}"
EXPOSE ${PORT}

# copy over script and run
CMD ["pnpm", "start"]


# L1_CHAIN_HTTP=http://localhost:8545 \
# FUEL_GRAPHQL_ENDPOINT=http://localhost:4000/graphql \
# DEPLOYMENTS_HTTP=http://localhost:8080 \
# PK_ETH_WALLET=59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d \
# pnpm start
CMD ["pnpm", "start"]
7 changes: 3 additions & 4 deletions docker/l1-chain/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# ====== Build Image ======
FROM node:20-alpine AS BUILD_IMAGE
FROM node:18-alpine AS BUILD_IMAGE

# dependencies
RUN apk --no-cache add git
RUN npm i -g pnpm


# set workdir
WORKDIR /l1chain

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

# build the ethereum contracts and environment
RUN pnpm install --force
RUN pnpm install
# replace the fuel chain consts values and change contract code
RUN pnpm ts-node scripts/replaceFuelChainConsts.ts
# run contract compile with the new consts
Expand All @@ -29,7 +28,7 @@ RUN pnpm compile
COPY ./hardhat/hardhat.config.ts .

# ====== Final Image ======
FROM node:20-alpine
FROM node:18-alpine

ARG L1_IP=0.0.0.0
ARG L1_PORT=8545
Expand Down
2 changes: 1 addition & 1 deletion packages/app-portal/.env.production
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VITE_ETH_CHAIN=sepolia
VITE_FUEL_CHAIN=fuelBeta5
VITE_FUEL_VERSION=0.20.7
VITE_FUEL_VERSION=0.22.0
VITE_IS_PUBLIC_PREVIEW=true
VITE_WALLET_INSTALL=https://chrome.google.com/webstore/detail/fuel-wallet/dldjpboieedgcmpkchcjcbijingjcgok
VITE_WALLET_INSTALL_NEXT=https://next-wallet.fuel.network/docs/install/#install-from-source-code
4 changes: 2 additions & 2 deletions packages/app-portal/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/fuel-logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fuel Portal</title>
</head>
Expand Down

0 comments on commit 5c3269d

Please sign in to comment.