Browse Source

fix addresses

pull/1432/head
Ethan Buchman 7 years ago
parent
commit
c778d7f5d1
6 changed files with 6 additions and 9 deletions
  1. +1
    -1
      scripts/wire2amino.go
  2. +1
    -1
      test/p2p/data/mach1/core/config/priv_validator.json
  3. +1
    -1
      test/p2p/data/mach2/core/config/priv_validator.json
  4. +1
    -1
      test/p2p/data/mach3/core/config/priv_validator.json
  5. +1
    -1
      test/p2p/data/mach4/core/config/priv_validator.json
  6. +1
    -4
      test/p2p/peer.sh

+ 1
- 1
scripts/wire2amino.go View File

@ -85,7 +85,7 @@ func convertPrivVal(cdc *amino.Codec, jsonBytes []byte) ([]byte, error) {
copy(pubKey[:], privVal.PubKey.Data)
privValNew := priv_val.FilePV{
Address: privVal.Address,
Address: pubKey.Address(),
PubKey: pubKey,
LastHeight: privVal.LastHeight,
LastRound: privVal.LastRound,


+ 1
- 1
test/p2p/data/mach1/core/config/priv_validator.json View File

@ -1,5 +1,5 @@
{
"address": "0E6925C3EE4C599DFF1536A5071AF4A26DF33635",
"address": "7E9D1FB08EDBAFCF116638D4C8FAFAEE2ABE1AAA",
"pub_key": {
"type": "AC26791624DE60",
"value": "vokz3/FgDAJuNHGPF4Wkzeq5DDVpizlOOLaUeukd4RY="


+ 1
- 1
test/p2p/data/mach2/core/config/priv_validator.json View File

@ -1,5 +1,5 @@
{
"address": "99DBBD2AFC28FB5BAC5574AFAF0D9C806CED3B55",
"address": "8893D14FE09F1157E39CD34B98036048D51B4985",
"pub_key": {
"type": "AC26791624DE60",
"value": "bcU0RlMjEmWH0qKpO1nWibcXBzsd6WiiWm7xPVlTGK0="


+ 1
- 1
test/p2p/data/mach3/core/config/priv_validator.json View File

@ -1,5 +1,5 @@
{
"address": "4C5F061DAC28660853904A66705B12CA2B317572",
"address": "7C747D7E002932B3864E3FBE9AC04287043F66A0",
"pub_key": {
"type": "AC26791624DE60",
"value": "rmesaX0TWqC0YB6lfqqz/r9Lqk8inEWlmMKYWxL80aE="


+ 1
- 1
test/p2p/data/mach4/core/config/priv_validator.json View File

@ -1,5 +1,5 @@
{
"address": "86F6DA4B34F16D743D2D992B5ACB12F5E724CC2D",
"address": "CEBEFE3CA1363D425643EF63FC179E77A50A1E9A",
"pub_key": {
"type": "AC26791624DE60",
"value": "nryPWM7UtG3NWrirpZHdJTzXy1A3Jz/aMrwLZGHE79k="


+ 1
- 4
test/p2p/peer.sh View File

@ -10,13 +10,10 @@ set +u
NODE_FLAGS=$5
set -u
set +eu
echo "starting tendermint peer ID=$ID"
# start tendermint container on the network
# NOTE: $NODE_FLAGS should be unescaped (no quotes). otherwise it will be
# treated as one flag.
set -u
docker run -d \
--net="$NETWORK_NAME" \
--ip=$(test/p2p/ip.sh "$ID") \
@ -27,4 +24,4 @@ docker run -d \
--log-opt syslog-address=udp://127.0.0.1:5514 \
--log-opt syslog-facility=daemon \
--log-opt tag="{{.Name}}" \
"$DOCKER_IMAGE" node $NODE_FLAGS --log_level=debug --proxy_app="$APP_PROXY"
"$DOCKER_IMAGE" node $NODE_FLAGS --log_level=debug --proxy_app="$APP_PROXY"

Loading…
Cancel
Save