Skip to content

Commit

Permalink
Release (#1123)
Browse files Browse the repository at this point in the history
fix monitor and monitor testsa
  • Loading branch information
marcocastignoli authored Jul 27, 2023
2 parents 80c666b + c0c7d83 commit 1e4ad48
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 131 deletions.
2 changes: 1 addition & 1 deletion environments/.env.latest
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SERVER_PORT=80
SOLC_REPO=/home/data/solc-bin/linux-amd64
SOLJSON_REPO=/home/data/solc-bin/soljson
SESSION_SECRET=xxx
IPFS_GATEWAY=http://ipfs-latest:8080/ipfs/
IPFS_GATEWAY=http://ipfs-gateway-latest:8080/ipfs/
REPOSITORY_PATH=../../data/repository

# Repository web server config
Expand Down
2 changes: 1 addition & 1 deletion environments/.env.stable
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SERVER_PORT=80
SOLC_REPO=/home/data/solc-bin/linux-amd64
SOLJSON_REPO=/home/data/solc-bin/soljson
SESSION_SECRET=xxx
IPFS_GATEWAY=http://ipfs-stable:8080/ipfs/
IPFS_GATEWAY=http://ipfs-gateway-stable:8080/ipfs/
REPOSITORY_PATH=../../data/repository

# Repository web server config
Expand Down
129 changes: 12 additions & 117 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"cors": "^2.8.5",
"directory-tree": "^3.5.1",
"dotenv": "^8.2.0",
"ethers": "^6.6.2",
"ethers": "^6.6.5",
"express": "^4.17.1",
"express-fileupload": "^1.4.0",
"express-oauth2-jwt-bearer": "^1.5.0",
Expand Down
17 changes: 10 additions & 7 deletions packages/lib-sourcify/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/lib-sourcify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereum-sourcify/lib-sourcify",
"version": "1.2.0",
"version": "1.2.1",
"description": "Library for Sourcify's contract verification methods, contract validation, types, and interfaces.",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down Expand Up @@ -52,7 +52,7 @@
"@fairdatasociety/bmt-js": "^2.0.1",
"abitype": "0.8.0",
"bs58": "^5.0.0",
"ethers": "^6.6.2",
"ethers": "^6.6.5",
"http-status-codes": "^2.2.0",
"isomorphic-fetch": "^3.0.0",
"jszip": "^3.10.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/lib-sourcify/src/lib/SourcifyChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { logInfo, logWarn } from './logger';

const RPC_TIMEOUT = process.env.RPC_TIMEOUT
? parseInt(process.env.RPC_TIMEOUT)
: 5000;
: 10 * 1000;

// It is impossible to get the url from the Provider for logging purposes
interface JsonRpcProviderWithUrl extends JsonRpcProvider {
Expand Down Expand Up @@ -192,7 +192,7 @@ export default class SourcifyChain {
} catch (err) {
if (err instanceof Error) {
logWarn(
`Can't fetch block ${blockNumber} from RPC ${provider.url} and chain ${this.chainId}`
`Can't fetch block ${blockNumber} from RPC ${provider.url} and chain ${this.chainId}, error: ${err.message}`
);
continue;
} else {
Expand Down

0 comments on commit 1e4ad48

Please sign in to comment.