Skip to content

Commit

Permalink
Merge pull request #4 from neonlabsorg/adapt-for-neon-network
Browse files Browse the repository at this point in the history
Adapt for neon network
  • Loading branch information
kristinaNikolaevaa authored Aug 8, 2024
2 parents 66c1d30 + 621d313 commit 5588854
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 21,808 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ FROM ethereum/solc:0.6.12 as build-deps

FROM node:16

USER node

COPY --from=build-deps /usr/bin/solc /usr/bin/solc

WORKDIR /app
ADD ./package.json /app/

ADD ./ /app/
RUN chmod +x *.sh
RUN npm i
5 changes: 3 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ import { DEFAULT_NAMED_ACCOUNTS } from '@aave/deploy-v3';
const DEFAULT_BLOCK_GAS_LIMIT = 12450000;
const HARDFORK = 'london';

const proxyUrl = process.env.NEON_PROXY_URL;
const proxyUrl = process.env.NEON_PROXY_URL || 'http://localhost:9090';
// @ts-ignore
const neon_accounts = process.env.NEON_ACCOUNTS.split(',');
//const neon_accounts = process.env.NEON_ACCOUNTS.split(',');
const neon_accounts = process.env.NEON_ACCOUNTS ? process.env.NEON_ACCOUNTS.split(',') : [];
// @ts-ignore
const chainId = parseInt(process.env.NEON_CHAIN_ID) || 111;

Expand Down
Loading

0 comments on commit 5588854

Please sign in to comment.