Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make portal operations work #152

Merged
merged 6 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading