Skip to content

Commit

Permalink
use hardhat default signer
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaiba committed Mar 4, 2025
1 parent 6ed2588 commit 30b7d58
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/kgw-test-reuse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ jobs:
run: |
cd contrib/docker/compose/kwil
echo "run kwild in docker"
docker compose up -d
# NOTE: we use the default hardhat signer address
KWIL_DB_OWNER=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 docker compose up -d
# clone kwil-js
git clone https://github.com/kwilteam/kwil-js.git /tmp/kwil-js
cd /tmp/kwil-js
Expand All @@ -216,10 +217,11 @@ jobs:
--allow-adhoc-query \
--log-level debug
echo "run KWIL-JS TEST against kwild(http://localhost:8484), with $chain_id"
PRIVATE_KEY=0000000000000000000000000000000000000000000000000000000000000001 CHAIN_ID=$chain_id GATEWAY_ON=false GAS_ON=false KWIL_PROVIDER=http://localhost:8484 npm run integration
# NOTE: we use the default hardhat private key
PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 CHAIN_ID=$chain_id GATEWAY_ON=false GAS_ON=false KWIL_PROVIDER=http://localhost:8484 npm run integration
echo "run KWIL-JS TEST against kgw(http://localhost:8090), with $chain_id"
# assume the test above will drop the database, so we can deploy again
PRIVATE_KEY=0000000000000000000000000000000000000000000000000000000000000001 CHAIN_ID=$chain_id GATEWAY_ON=true GAS_ON=false KWIL_PROVIDER=http://localhost:8090 npm run integration
PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 CHAIN_ID=$chain_id GATEWAY_ON=true GAS_ON=false KWIL_PROVIDER=http://localhost:8090 npm run integration
echo "stop running kwild & kgw"
docker rm -f kgwcontainer
cd -
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ configuration changes. Start it by running the following from the
```sh
cd contrib/docker/compose/kwil
docker compose up --build -d
KWIL_DB_OWNER=YOUR_ETH_ADDRESS docker compose up --build -d
```
With the `-d` option, the service(s) will be started as background processes. To
Expand Down
1 change: 1 addition & 0 deletions contrib/docker/compose/kwil/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ services:
command: |
start
--autogen
--db-owner=$KWIL_DB_OWNER
--root=/app/.kwild
--log-format=plain
--log-level=debug
Expand Down

0 comments on commit 30b7d58

Please sign in to comment.