mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-04 15:17:02 +00:00
node: feature flag for legacy p2p support (#6056)
This commit is contained in:
@@ -27,6 +27,7 @@ RUN cd test/e2e && make app && cp build/app /usr/bin/app
|
||||
WORKDIR /tendermint
|
||||
VOLUME /tendermint
|
||||
ENV TMHOME=/tendermint
|
||||
ENV TM_LEGACY_P2P=true
|
||||
|
||||
EXPOSE 26656 26657 26660 6060
|
||||
ENTRYPOINT ["/usr/bin/entrypoint"]
|
||||
|
||||
@@ -71,8 +71,10 @@ func waitForNode(node *e2e.Node, height int64, timeout time.Duration) (*rpctypes
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), timeout)
|
||||
defer cancel()
|
||||
|
||||
for {
|
||||
status, err := client.Status(ctx)
|
||||
switch {
|
||||
|
||||
Reference in New Issue
Block a user