Skip to content

Commit

Permalink
dev was supposed to receive these changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wighawag committed Mar 5, 2024
1 parent fd6c70b commit 9bfd538
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion contracts/hardhat.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const config = {
hardhat: {
initialBaseFeePerGas: 0,
mining: {
auto: true,
auto: true, // TODO
interval: process.env['BLOCK_TIME'] ? parseInt(process.env['BLOCK_TIME']) * 1000 : undefined,
},
},
Expand Down
4 changes: 2 additions & 2 deletions web/.env
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# this let ldenv know to load the parent foler .env too (the child folder's vars takes precedence though)
ENV_ROOT_FOLDER=..

# only used for development, do not replace PUBLIC_ETH_NODE_URI_LOCALHOST
# only used for development, this does not replace PUBLIC_ETH_NODE_URI_LOCALHOST
# Use it only for dev-related queries
PUBLIC_DEV_NODE_URI=http://localhost:8545

# This set the fallback (centralised node)
# This set a fallback node (centralised node) to let the app get read access to the blockchain
# Disabled by default: User need a wallet to read state
PUBLIC_ETH_NODE_URI=
PUBLIC_ETH_NODE_URI_LOCALHOST=
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"scripts": {
"prepare": "pwag static/icon.svg src/web-config.json",
"dev": "echo 'waiting for src/data/contracts.ts...'; wait-on src/data/contracts.ts && ldenv vite dev",
"build": "npm run prepare && ldenv vite build",
"build": "pnpm run prepare && ldenv vite build",
"preview": "ldenv vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import '../app.postcss';
import ThemeChanger from '$lib/components/daisyui/ThemeChanger.svelte';
import NavTabs from '$lib/components/daisyui/NavTabs.svelte';
Expand Down

0 comments on commit 9bfd538

Please sign in to comment.