Skip to content
Open
Show file tree
Hide file tree
Changes from 8 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
Empty file modified .husky/pre-commit
100644 → 100755
Empty file.
7 changes: 0 additions & 7 deletions packages/lib-sourcify/src/SourcifyChain/SourcifyChainTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,10 @@ export interface FetchContractCreationTxMethods {
blockscoutApi?: {
url: string;
};
blockscoutScrape?: {
url: string;
blockscoutPrefix?: string;
};
routescanApi?: {
type: 'mainnet' | 'testnet';
};
etherscanApi?: boolean;
etherscanScrape?: {
url: string;
};
blocksScanApi?: {
url: string;
};
Expand Down
3 changes: 3 additions & 0 deletions services/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ FROM node:22.22.0-trixie-slim as production
# Fe compiler (v26.0.0-alpha.12+) requires libssl3 and glibc >= 2.39
RUN apt-get update && apt-get install -y --no-install-recommends libssl3 && rm -rf /var/lib/apt/lists/*

# Fe compiler (v26.0.0-alpha.12+) is dynamically linked against libssl3
Comment thread
kuzdogan marked this conversation as resolved.
Outdated
RUN apt-get update && apt-get install -y --no-install-recommends libssl3 && rm -rf /var/lib/apt/lists/*

Comment thread
kuzdogan marked this conversation as resolved.
Outdated
RUN mkdir -p /home/app/services/server

WORKDIR /home/app/
Expand Down
2 changes: 1 addition & 1 deletion services/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"postgres-test:migrate": "cd ../database && git submodule update --init && SERVICE_NAME=server DATABASE_URL=postgres://sourcify:sourcify@${SOURCIFY_POSTGRES_HOST:-sourcify-db}:${DOCKER_HOST_POSTGRES_TEST_PORT:-5432}/sourcify?sslmode=disable DBMATE_SCHEMA_FILE=./sourcify-database.sql npm run migrate:up-no-dump",
"test:unit": "mocha --exit --recursive test/unit/**",
"test": "npm run postgres-test:migrate & npx c8 --reporter=none mocha --exit --recursive test/unit/** test/integration/**",
"test:chains": "npm run postgres-test:migrate && mocha test/chains/chain-tests.spec.ts --reporter mochawesome --reporter-options reportDir=chain-tests-report,reportFilename=report --exit",
"test:chains": "npm run postgres-test:migrate && mocha --delay --exit test/chains/chain-tests.spec.ts --reporter mochawesome --reporter-options reportDir=chain-tests-report,reportFilename=report",
"test:etherscan-instances": "npm run postgres-test:migrate && mocha --exit test/chains/etherscan-instances.spec.ts ",
"test-local": "export DOCKER_HOST_POSTGRES_TEST_PORT=${DOCKER_HOST_POSTGRES_TEST_PORT:-5431} && npm run postgres-test:start && sleep 2 && SOURCIFY_POSTGRES_HOST=localhost npm run test; status=$?; npm run postgres-test:stop; exit $status",
"test-local:chains": "export DOCKER_HOST_POSTGRES_TEST_PORT=${DOCKER_HOST_POSTGRES_TEST_PORT:-5431} && npm run postgres-test:start && sleep 2 && SOURCIFY_POSTGRES_HOST=localhost npm run test:chains; status=$?; npm run postgres-test:stop; exit $status",
Expand Down
Loading