Skip to content

Commit

Permalink
use pact5 branch of chainweb-node
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundnoble committed Sep 16, 2024
1 parent a7efa99 commit 2773b12
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
13 changes: 7 additions & 6 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# the pact package from its cabal.project, but a non-"empty" flake overrides it.
pact-override.follows = "chainweb-node/empty";
chainweb-node = {
url = "github:kadena-io/chainweb-node";
url = "github:kadena-io/chainweb-node/104f3b05da283d6289e8315eb44da700bbc9e176";
inputs.pact.follows = "pact-override";
};

Expand Down
2 changes: 1 addition & 1 deletion nix/modules/chainweb/chainweb-node.common.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
chainweb:
chainwebVersion: development
chainwebVersion: pact5-development
allowReadsInLocal: true
headerStream: true
throttling:
Expand Down
4 changes: 2 additions & 2 deletions nix/modules/explorer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let
node.innerHTML = btoa(value);
}
origin = window.location.origin;
dataBackends = { development: { p2p: origin, service: origin, data: origin } };
dataBackends = { pact5-development: { p2p: origin, service: origin, data: origin } };
setConfig('common/route', 'origin');
setConfig('frontend/data-backends', JSON.stringify(dataBackends));
</script>
Expand Down Expand Up @@ -42,7 +42,7 @@ in {
services.http-server.servers.devnet.extraConfig = ''
location ~ ^/explorer/?$ {
default_type text/html;
return 200 '<html><head><meta http-equiv="refresh" content="0;url=/explorer/development" /></head></html>';
return 200 '<html><head><meta http-equiv="refresh" content="0;url=/explorer/pact5-development" /></head></html>';
}
location /explorer/ {
Expand Down

0 comments on commit 2773b12

Please sign in to comment.