Browse Source

e2e: control access to state in Info calls (#7345)

This is probably belt and suspenders, but might help the apphash clarity.
pull/7349/head
Sam Kleinman 3 years ago
committed by GitHub
parent
commit
cf5c7be4d8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      test/e2e/app/app.go

+ 3
- 0
test/e2e/app/app.go View File

@ -97,6 +97,9 @@ func NewApplication(cfg *Config) (*Application, error) {
// Info implements ABCI.
func (app *Application) Info(req abci.RequestInfo) abci.ResponseInfo {
app.state.RLock()
defer app.state.RUnlock()
return abci.ResponseInfo{
Version: version.ABCIVersion,
AppVersion: 1,


Loading…
Cancel
Save