Skip to content
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
4 changes: 0 additions & 4 deletions app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*.pem
tsconfig.tsbuildinfo
.eslintcache
types/generated/

# debug
npm-debug.log*
Expand All @@ -38,8 +37,5 @@ yarn-error.log*
# vercel
.vercel

#types
/types/typechain

#IDE files
/.idea
4 changes: 1 addition & 3 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,12 @@ COPY /src ./src
# Cleaning the cache of yarn
RUN yarn cache clean

RUN yarn install
RUN yarn postinstall
RUN yarn install

FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY --from=deps /app/src ./src
COPY --from=deps /app/types ./types
COPY . .

ENV NEXT_TELEMETRY_DISABLED 1
Expand Down
5 changes: 2 additions & 3 deletions app/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.8'
services:
web:
build:
Expand All @@ -8,6 +7,6 @@ services:
- .:/app
command: npm run dev
ports:
- "3000:3000"
- '3000:3000'
environment:
NODE_ENV: development
NODE_ENV: development
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"start": "next start",
"typechain": "typechain --target=ethers-v5 ./src/abis/**/*.json --out-dir ./types/typechain/",
"subgraph-codegen": "graphql-codegen --config ./subgraph-config.js",
"postinstall": "yarn typechain && yarn subgraph-codegen"
"postinstall-locally": "yarn typechain && yarn subgraph-codegen"
},
"dependencies": {
"@babel/traverse": "^7.23.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ export const TriggerBridgeButton: React.FC<TriggerBridgeButtonProps> = ({
token,
})

console.log('transactionData', transactionData)

if (!transactionData) throw new Error('Transaction data is not available')

const { isNativeBridge } = getBridgeCommonInfo({
Expand Down
3 changes: 0 additions & 3 deletions app/src/pagePartials/bridge/bridgeForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,6 @@ const Main = () => {
? true
: false

// console.log('formState', formState)
// console.log('tokenOut', tokenOut)

return (
<Wrapper>
<FormWrapper>
Expand Down
1,588 changes: 1,588 additions & 0 deletions app/types/generated/subgraph.ts

Large diffs are not rendered by default.

Loading