Skip to content

Commit

Permalink
security patch and update RPC urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Øyvind Hatland committed Oct 23, 2023
1 parent 93d9170 commit 7456118
Show file tree
Hide file tree
Showing 7 changed files with 485 additions and 206 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ docs
Dockerfile
docker-compose.yaml
podman-compose.yaml
.env
./packages/captable/artifacts
./packages/captable/cache
./packages/captable/typechain-types
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
"ejs@<3.1.7": ">=3.1.7",
"vm2@<3.9.18": ">=3.9.18",
"tough-cookie@<4.1.3": ">=4.1.3",
"protobufjs@>=6.10.0 <6.11.4": ">=6.11.4",
"protobufjs@<7.2.4": ">=7.2.4",
"word-wrap@<1.2.4": ">=1.2.4",
"semver@<5.7.2": ">=5.7.2",
"semver@>=6.0.0 <6.3.1": ">=6.3.1",
"semver@>=7.0.0 <7.5.2": ">=7.5.2",
"minimatch@<3.0.5": ">=3.0.5",
"graphql@>=16.3.0 <16.8.1": ">=16.8.1",
"debug@>=3.2.0 <3.2.7": ">=3.2.7",
"get-func-name@<2.0.1": ">=2.0.1",
"postcss@<8.4.31": ">=8.4.31"
"postcss@<8.4.31": ">=8.4.31",
"async@<2.6.4": ">=2.6.4",
"undici@<5.26.2": ">=5.26.2"
}
},
"scripts": {
Expand All @@ -46,6 +46,6 @@
},
"homepage": "https://github.com/brreg/brok#readme",
"devDependencies": {
"@changesets/cli": "^2.22.0"
"@changesets/cli": "^2.26.2"
}
}
2 changes: 1 addition & 1 deletion packages/api/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# address for this privateKey 0x0a665B1Bc813cAE9fcDd2Eb7E25b8E55A5F35f23
PRIVATE_KEY=0xb954142add429deaf8325923b25c2ffafae67953eeca39b08cf9f6eab12f04bc
RPC_URL="http://127.0.0.1:8545"
RPC_LOCAL="http://127.0.0.1:8545"
PORT=4000

NAVNETJENER_URL="http://localhost:9292"
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "DEBUG=brok* next dev -p 4000",
"build": "next build",
"start": "next start -p 4000",
"start": "next start",
"lint": "next lint",
"test": "playwright test",
"test:ci": "playwright test --project headless --reporter=html",
Expand Down
8 changes: 4 additions & 4 deletions packages/captable/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ SEED_DEV=kid letter bicycle motion maid token change couch useless seven boost s
# CAP_TABLE_REGISTRY_localhost=0xE19B0a5D322aAfe1FfDABF437f60391B83BFE592 this is not in use, but generated from SEED_DEV
SEED_STAGE=test test test test test test test test test test test junk
SEED_PROD=test test test test test test test test test test test junk
CONTAINER_HARDHAT=http://host.docker.internal:8545
RPC_TESTNET=http://127.0.0.1:8545/
RPC_STAGENET=http://127.0.0.1:8545/
RPC_MAINNET=http://127.0.0.1:8545/
RPC_CONTAINER=http://host.docker.internal:8545
RPC_LOCAL=http://127.0.0.1:8545
RPC_TESTNET=http://127.0.0.1:8545
RPC_MAINNET=http://127.0.0.1:8545
REPORT_GAS=false
CAP_TABLE_REGISTRY_brokDev=0x8EF52e971B7Aa8f263A7C25b0F4e200709287A30
DEV_ENTERPRISE_SYSTEM_ADDRESS=0x0a665B1Bc813cAE9fcDd2Eb7E25b8E55A5F35f23
2 changes: 1 addition & 1 deletion packages/captable/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const config: HardhatUserConfig = {
},
networks: {
containerhardhat: {
url: process.env.CONTAINER_HARDHAT,
url: process.env.RPC_CONTAINER,
accounts: {
mnemonic: process.env.SEED_DEV,
},
Expand Down
Loading

0 comments on commit 7456118

Please sign in to comment.