Skip to content

Commit

Permalink
post-merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefantalpalaru committed Apr 8, 2020
1 parent b574799 commit 96431bf
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
7 changes: 6 additions & 1 deletion AllTests-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ OK: 1/1 Fail: 0/1 Skip: 0/1
+ Mocked start private key OK
```
OK: 3/3 Fail: 0/3 Skip: 0/3
## Mocking utilities
```diff
+ merkle_minimal OK
```
OK: 1/1 Fail: 0/1 Skip: 0/1
## Official - 0.11.1 - constants & config [Preset: mainnet]
```diff
+ BASE_REWARD_FACTOR 64 [Preset: mainnet] OK
Expand Down Expand Up @@ -229,4 +234,4 @@ OK: 4/4 Fail: 0/4 Skip: 0/4
OK: 8/8 Fail: 0/8 Skip: 0/8

---TOTAL---
OK: 144/147 Fail: 3/147 Skip: 0/147
OK: 145/148 Fail: 3/148 Skip: 0/148
7 changes: 6 additions & 1 deletion AllTests-minimal.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ OK: 1/1 Fail: 0/1 Skip: 0/1
+ Mocked start private key OK
```
OK: 3/3 Fail: 0/3 Skip: 0/3
## Mocking utilities
```diff
+ merkle_minimal OK
```
OK: 1/1 Fail: 0/1 Skip: 0/1
## Official - 0.11.1 - constants & config [Preset: minimal]
```diff
+ BASE_REWARD_FACTOR 64 [Preset: minimal] OK
Expand Down Expand Up @@ -256,4 +261,4 @@ OK: 4/4 Fail: 0/4 Skip: 0/4
OK: 8/8 Fail: 0/8 Skip: 0/8

---TOTAL---
OK: 159/162 Fail: 3/162 Skip: 0/162
OK: 160/163 Fail: 3/163 Skip: 0/163
5 changes: 1 addition & 4 deletions beacon_chain/beacon_node.nim
Original file line number Diff line number Diff line change
Expand Up @@ -967,10 +967,7 @@ proc installBeaconApiHandlers(rpcServer: RpcServer, node: BeaconNode) =
result.add $peerId

rpcServer.rpc("getNetworkEnr") do () -> string:
when networkBackend == libp2p:
return $node.network.discovery.localNode.record
else:
return ""
return $node.network.discovery.localNode.record

proc installDebugApiHandlers(rpcServer: RpcServer, node: BeaconNode) =
rpcServer.rpc("getSpecPreset") do () -> JsonNode:
Expand Down
4 changes: 2 additions & 2 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ push: build
+@ $(MAKE) push-last

push-last:
# @ [[ "$(CURRENT_BRANCH)" != "master" && "$(NETWORK)" == "testnet0" ]] && $(COMPUTER_SAYS_NO) || true
# @ [[ "$(CURRENT_BRANCH)" != "devel" && "$(NETWORK)" == "testnet1" ]] && $(COMPUTER_SAYS_NO) || true
@ [[ "$(CURRENT_BRANCH)" != "master" && "$(NETWORK)" == "testnet0" ]] && $(COMPUTER_SAYS_NO) || true
@ [[ "$(CURRENT_BRANCH)" != "devel" && "$(NETWORK)" == "testnet1" ]] && $(COMPUTER_SAYS_NO) || true
docker push $(IMAGE_NAME)

0 comments on commit 96431bf

Please sign in to comment.