William Banfield
4e96c6b234
tools: add mockery to tools.go and remove mockery version strings ( #6787 )
This change aims to keep versions of mockery consistent across developer laptops.
This change adds mockery to the `tools.go` file so that its version can be managed consistently in the `go.mod` file.
Additionally, this change temporarily disables adding mockery's version number to generated files. There is an outstanding issue against the mockery project related to the version string behavior when running from `go get`. I have created a pull request to fix this issue in the mockery project.
see: https://github.com/vektra/mockery/issues/397
3 years ago
Marko
363ea56680
abci: remove counter app ( #6684 )
* remove counter app
* remove unneeeded ci
* lint fix
* modify tx sizes
* cleanup docs
* Update abci/cmd/abci-cli/abci-cli.go
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
* Update docs/app-dev/getting-started.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
* Update docs/app-dev/getting-started.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
* bring back comment
* migrate to kvstore and not persistent
* remove unused func
* test persistent
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
3 years ago
Marko
719e028e00
libs: internalize some packages ( #6366 )
## Description
Internalize some libs. This reduces the amount ot public API tendermint is supporting. The moved libraries are mainly ones that are used within Tendermint-core.
4 years ago
Sam Kleinman
6d9372bd39
test: improve cleanup for data and disk use ( #6311 )
4 years ago
Sam Kleinman
1c4dbe30d4
abci: change client to use multi-reader mutexes ( #6306 )
4 years ago
Marko
2d167aefcf
ci: freeze golangci action version ( #5196 )
## Description
This PR updates golang-ci to latest and stops looking at master for the action.
Closes: #XXX
4 years ago
Marko
2ac5a559b4
libs: wrap mutexes for build flag with godeadlock ( #5126 )
## Description
This PR wraps the stdlib sync.(RW)Mutex & godeadlock.(RW)Mutex. This enables using go-deadlock via a build flag instead of using sed to replace sync with godeadlock in all files
Closes : #3242
4 years ago
Anton Kaliaev
16216028a1
proxy: improve ABCI app connection handling ( #5078 )
Closes #5074
Old code does not work when --consensus.create_empty_blocks=false
(because it only calls tmos.Kill when ApplyBlock fails). New code is
listening ABCI clients for Quit and kills TM process if there were any
errors.
4 years ago
Anton Kaliaev
b7b721c484
change use of errors.Wrap to fmt.Errorf with %w verb
Closes #4603
Commands used (VIM):
```
:args `rg -l errors.Wrap`
:argdo normal @q | update
```
where q is a macros rewriting the `errors.Wrap` to `fmt.Errorf`.
5 years ago
Marko
3e2751d274
lint: Enable Golint ( #4212 )
* Fix many golint errors
* Fix golint errors in the 'lite' package
* Don't export Pool.store
* Fix typo
* Revert unwanted changes
* Fix errors in counter package
* Fix linter errors in kvstore package
* Fix linter error in example package
* Fix error in tests package
* Fix linter errors in v2 package
* Fix linter errors in consensus package
* Fix linter errors in evidence package
* Fix linter error in fail package
* Fix linter errors in query package
* Fix linter errors in core package
* Fix linter errors in node package
* Fix linter errors in mempool package
* Fix linter error in conn package
* Fix linter errors in pex package
* Rename PEXReactor export to Reactor
* Fix linter errors in trust package
* Fix linter errors in upnp package
* Fix linter errors in p2p package
* Fix linter errors in proxy package
* Fix linter errors in mock_test package
* Fix linter error in client_test package
* Fix linter errors in coretypes package
* Fix linter errors in coregrpc package
* Fix linter errors in rpcserver package
* Fix linter errors in rpctypes package
* Fix linter errors in rpctest package
* Fix linter error in json2wal script
* Fix linter error in wal2json script
* Fix linter errors in kv package
* Fix linter error in state package
* Fix linter error in grpc_client
* Fix linter errors in types package
* Fix linter error in version package
* Fix remaining errors
* Address review comments
* Fix broken tests
* Reconcile package coregrpc
* Fix golangci bot error
* Fix new golint errors
* Fix broken reference
* Enable golint linter
* minor changes to bring golint into line
* fix failing test
* fix pex reactor naming
* address PR comments
5 years ago
Zach
0ff715125b
fix docs / proxy app ( #2988 )
* fix docs / proxy app, closes #2986
* counter_serial
* review comments
* list all possible options
* add changelog entries
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Alexander Simmerl
a605b66c5a
Move abci imports
6 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Anton Kaliaev
87372da730
return back dummy & persistent_dummy as options for proxy_app
7 years ago
Zach
2cc63069c6
rename dummy to kvstore ( #1223 )
* remove accidental binary
* docs: s/Dummy&dummy/KVStore&kvstore/g
* glide update to abci
* update abci import paths
* dummy begone, hello kvstore
* RequestInitChain needs genesisBytes
* glide update
7 years ago
Anton Kaliaev
91dc87e7c4
update for a new ABCI API
8 years ago
Ethan Buchman
1fcc9dc654
remove viper from proxy
8 years ago
Rigel Rozanski
cefb2bede0
adding viper
int
int
8 years ago
Ethan Buchman
7d91d4300b
update glide
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Anton Kalyaev
69a449a073
test/p2p: use PROXY_APP=persistent_dummy
8 years ago
Ethan Buchman
c7e578ac0d
check tmsp client err and set mustConnect=false
8 years ago
Ethan Buchman
0b919f4fd2
proxy: nil -> nilapp
8 years ago
Ethan Buchman
caeda30b72
proxy: wrap NewTMSPClient in ClientCreator
8 years ago
Ethan Buchman
035ca7ef61
proxy: NewAppConns takes a NewTMSPClient func
8 years ago