Updated light-client
This commit is contained in:
parent
e90d6db516
commit
f32e6c9b7d
|
@ -79,7 +79,7 @@ func GetCertifier() (*certifiers.InquiringCertifier, error) {
|
|||
return nil, err
|
||||
}
|
||||
cert := certifiers.NewInquiring(
|
||||
viper.GetString(ChainFlag), seed.Validators, trust, source)
|
||||
viper.GetString(ChainFlag), seed, trust, source)
|
||||
return cert, nil
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
hash: 45eed61138603d4d03518ea822068cf32b45d0a219bb7f3b836e52129f2a3a2b
|
||||
updated: 2017-07-26T19:44:39.753066441-04:00
|
||||
hash: 8c438edb7d269da439141e62f3e0c931fa9efaee54b13ce1e7330dc99179fddd
|
||||
updated: 2017-07-24T10:22:44.120576373-04:00
|
||||
imports:
|
||||
- name: github.com/bgentry/speakeasy
|
||||
version: 4aabc24848ce5fd31929f7d1e4ea74d3709c14cd
|
||||
|
@ -133,15 +133,16 @@ imports:
|
|||
- data
|
||||
- data/base58
|
||||
- name: github.com/tendermint/light-client
|
||||
version: 1c53d04dcc65c2fd15526152ed0651af10a09982
|
||||
version: fd166a86ccc2e4d2abcf2e765e70f341b7676d89
|
||||
subpackages:
|
||||
- certifiers
|
||||
- certifiers/client
|
||||
- certifiers/files
|
||||
- proofs
|
||||
- name: github.com/tendermint/merkleeyes
|
||||
version: 0310013053953eef80def3619aeb1e3a3254f452
|
||||
version: 439776e0199f1812e132aa7b97463e8550906690
|
||||
subpackages:
|
||||
- app
|
||||
- client
|
||||
- iavl
|
||||
- name: github.com/tendermint/tendermint
|
||||
|
|
|
@ -35,7 +35,7 @@ func newCertifier(store state.SimpleDB, chainID string, h int) (*certifiers.Inqu
|
|||
}
|
||||
|
||||
// we have no source for untrusted keys, but use the db to load trusted history
|
||||
cert := certifiers.NewInquiring(chainID, seed.Validators, p,
|
||||
cert := certifiers.NewInquiring(chainID, seed, p,
|
||||
certifiers.MissingProvider{})
|
||||
return cert, nil
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ test02GetSecure() {
|
|||
# assertFalse "missing height" "${CLIENT_EXE} rpc headers"
|
||||
HEADERS=$(${CLIENT_EXE} rpc headers --min=$CHEIGHT --max=$HEIGHT)
|
||||
assertTrue "line=${LINENO}, get headers" "$?"
|
||||
assertEquals "line=${LINENO}, proper height" "$HEIGHT" $(echo $HEADERS | jq '.last_height')
|
||||
assertEquals "line=${LINENO}, proper height" "$HEIGHT" $(echo $HEADERS | jq '.block_metas[0].header.height')
|
||||
assertEquals "line=${LINENO}, two headers" "2" $(echo $HEADERS | jq '.block_metas | length')
|
||||
# should we check these headers?
|
||||
CHEAD=$(echo $COMMIT | jq .header)
|
||||
|
|
Loading…
Reference in New Issue