diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 32258af..228ac16 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,7 +23,7 @@ jobs: - name: Pull Docker Image run: docker pull vechain/thor:latest - + - name: Make Test id: unit-test run: go test ./... -count=1 diff --git a/preset/LocalSixNodes.go b/preset/LocalSixNodes.go index b907881..60297cf 100644 --- a/preset/LocalSixNodes.go +++ b/preset/LocalSixNodes.go @@ -31,8 +31,8 @@ func LocalSixNodesNetwork() *network.Network { Nodes: []node.Node{ &node.BaseNode{ ID: "node1", - P2PListenPort: 8081, - APIAddr: "127.0.0.1:8181", + P2PListenPort: 8061, + APIAddr: "127.0.0.1:8161", APICORS: "*", Type: node.MasterNode, Verbosity: 4, @@ -41,8 +41,8 @@ func LocalSixNodesNetwork() *network.Network { }, &node.BaseNode{ ID: "node2", - P2PListenPort: 8082, - APIAddr: "127.0.0.1:8182", + P2PListenPort: 8062, + APIAddr: "127.0.0.1:8162", APICORS: "*", Type: node.MasterNode, Verbosity: 4, @@ -51,8 +51,8 @@ func LocalSixNodesNetwork() *network.Network { }, &node.BaseNode{ ID: "node3", - P2PListenPort: 8083, - APIAddr: "127.0.0.1:8183", + P2PListenPort: 8063, + APIAddr: "127.0.0.1:8163", APICORS: "*", Type: node.RegularNode, Key: "1b310ea04afd6d14a8f142158873fc70bfd4ba12a19138cc5b309fce7c77105e", // 0x1b1c0055065b3ADee4B9a9e8297142Ba2cD34EfE @@ -60,8 +60,8 @@ func LocalSixNodesNetwork() *network.Network { }, &node.BaseNode{ ID: "node4", - P2PListenPort: 8084, - APIAddr: "127.0.0.1:8184", + P2PListenPort: 8064, + APIAddr: "127.0.0.1:8164", APICORS: "*", Type: node.MasterNode, Verbosity: 4, @@ -70,8 +70,8 @@ func LocalSixNodesNetwork() *network.Network { }, &node.BaseNode{ ID: "node5", - P2PListenPort: 8085, - APIAddr: "127.0.0.1:8185", + P2PListenPort: 8065, + APIAddr: "127.0.0.1:8165", APICORS: "*", Type: node.MasterNode, Verbosity: 4, @@ -80,8 +80,8 @@ func LocalSixNodesNetwork() *network.Network { }, &node.BaseNode{ ID: "node6", - P2PListenPort: 8086, - APIAddr: "127.0.0.1:8186", + P2PListenPort: 8066, + APIAddr: "127.0.0.1:8166", APICORS: "*", Type: node.RegularNode, Key: "92ad65923d6782a43e6a1be01a8e52bce701967d78937e73da746a58f293ba30", // 0x9C2871C411CCe579B987E9b932C484dA8b901075 diff --git a/preset/LocalThreeMasterNodes.go b/preset/LocalThreeMasterNodes.go index 3db8fd1..4b96e1f 100644 --- a/preset/LocalThreeMasterNodes.go +++ b/preset/LocalThreeMasterNodes.go @@ -20,8 +20,8 @@ func LocalThreeMasterNodesNetwork() *network.Network { Nodes: []node.Node{ &node.BaseNode{ ID: "node1", - P2PListenPort: 8081, - APIAddr: "127.0.0.1:8181", + P2PListenPort: 8031, + APIAddr: "127.0.0.1:8131", APICORS: "*", Type: node.MasterNode, Key: "01a4107bfb7d5141ec519e75788c34295741a1eefbfe460320efd2ada944071e", // 0x61fF580B63D3845934610222245C116E013717ec @@ -29,8 +29,8 @@ func LocalThreeMasterNodesNetwork() *network.Network { }, &node.BaseNode{ ID: "node2", - P2PListenPort: 8082, - APIAddr: "127.0.0.1:8182", + P2PListenPort: 8032, + APIAddr: "127.0.0.1:8132", APICORS: "*", Type: node.MasterNode, Key: "7072249b800ddac1d29a3cd06468cc1a917cbcd110dde358a905d03dad51748d", // 0x327931085B4cCbCE0baABb5a5E1C678707C51d90 @@ -38,8 +38,8 @@ func LocalThreeMasterNodesNetwork() *network.Network { }, &node.BaseNode{ ID: "node3", - P2PListenPort: 8083, - APIAddr: "127.0.0.1:8183", + P2PListenPort: 8033, + APIAddr: "127.0.0.1:8133", APICORS: "*", Type: node.MasterNode, Key: "c55455943bf026dc44fcf189e8765eb0587c94e66029d580bae795386c0b737a", // 0x084E48c8AE79656D7e27368AE5317b5c2D6a7497