Skip to content
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

chore: improve logging in getValPower #1211

Merged
merged 13 commits into from
Aug 25, 2023
Prev Previous commit
Next Next commit
Remove unnecessary log after curlJsonRPCRequest
p-offtermatt committed Aug 18, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit ddc6987eac47ae9c01af9792b0534eaa6ef92504
3 changes: 1 addition & 2 deletions tests/e2e/state.go
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@ type Param struct {
func (tr TestRun) getState(modelState State) State {
systemState := State{}
for k, modelState := range modelState {
fmt.Println("Getting model state for chain: ", k)
log.Println("Getting model state for chain: ", k)
p-offtermatt marked this conversation as resolved.
Show resolved Hide resolved
systemState[k] = tr.getChainState(k, modelState)
}

@@ -768,5 +768,4 @@ func (tr TestRun) curlJsonRPCRequest(method, params, address string) {
cmd := exec.Command("docker", "exec", tr.containerConfig.instanceName, "bash", "-c", fmt.Sprintf(cmd_template, method, params, address))

executeCommandWithVerbosity(cmd, "curlJsonRPCRequest", true)
log.Println("this was the curlJsonRPCRequest function")
}