-
Notifications
You must be signed in to change notification settings - Fork 636
replace tm for cmt #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace tm for cmt #101
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.md
updated, or no changelog entry neededdocs/
) and code comments, or nodocumentation updates needed