Conversation
015a9d6 to
e9072dc
Compare
2cee8a9 to
ce7b92c
Compare
|
Was it a lot of work to do this? Asking because we'll need to do this for the |
thanethomson
left a comment
There was a problem hiding this comment.
Thanks for this Lásaro!
Doing a grep -E '\stm[a-z]+ "github' **/*.go through your branch though, I still see the following import aliases:
cmd/tendermint/commands/root.go: tmflags "github.com/tendermint/tendermint/libs/cli/flags"
consensus/byzantine_test.go: tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
consensus/invalid_test.go: tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
consensus/msgs.go: tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
consensus/msgs_test.go: tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
consensus/reactor.go: tmevents "github.com/tendermint/tendermint/libs/events"
consensus/reactor.go: tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
consensus/reactor_test.go: tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
consensus/state.go: tmevents "github.com/tendermint/tendermint/libs/events"
consensus/wal.go: tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
consensus/wal_test.go: tmtypes "github.com/tendermint/tendermint/types"
crypto/merkle/proof.go: tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto"
crypto/merkle/proof_op.go: tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto"
crypto/merkle/proof_test.go: tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto"
crypto/merkle/proof_value.go: tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto"
inspect/inspect.go: tmstrings "github.com/tendermint/tendermint/libs/strings"
libs/bits/bit_array.go: tmprotobits "github.com/tendermint/tendermint/proto/tendermint/libs/bits"
libs/cli/flags/log_level_test.go: tmflags "github.com/tendermint/tendermint/libs/cli/flags"
p2p/node_info.go: tmstrings "github.com/tendermint/tendermint/libs/strings"
p2p/peer.go: tmconn "github.com/tendermint/tendermint/p2p/conn"
p2p/peer_test.go: tmconn "github.com/tendermint/tendermint/p2p/conn"
store/store.go: tmstore "github.com/tendermint/tendermint/proto/tendermint/store"
store/store_test.go: tmstore "github.com/tendermint/tendermint/proto/tendermint/store"
test/e2e/node/main.go: tmnet "github.com/tendermint/tendermint/libs/net"
I think that we can automate at least the aliasing safely, which will reduce the work considerably. |
|
I guess my grep wasn't as extensive (using the IDE, actually). Thanks for catching. Fixed now! |
There was a problem hiding this comment.
Thanks @sergio-mena.
I did the change here and didn't find any occurrences.
…/v0.37.4/pr-101 perf(consensus): Run broadcast routines out of process cometbft#3180 (backport cometbft#101)
Closes #100
PR checklist
CHANGELOG_PENDING.mdupdated, or no changelog entry neededdocs/) and code comments, or nodocumentation updates needed