Skip to content

Commit 6655b4a

Browse files
authored
fix correction comments (#2175)
* Update README.md * Update group_test.go
1 parent 65d332c commit 6655b4a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/contrib/prometheus/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Enable prometheus metrics in wasmd:
88
# Enabled enables the application telemetry functionality. When enabled,
99
# an in-memory sink is also enabled by default. Operators may also enabled
1010
# other sinks such as Prometheus.
11-
enabled =true
11+
enabled = true
1212
# ...
1313

1414
# PrometheusRetentionTime, when positive, enables a Prometheus metrics sink.
@@ -50,4 +50,4 @@ docker run -it -p 3000:3000 grafana/grafana
5050
* Add Prometheus data source
5151
`http://host.docker.internal:9091`
5252
### Labels
53-
* `wasm_contract_create` = nanosec
53+
* `wasm_contract_create` = nanosec

tests/e2e/group_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func TestGroupWithContract(t *testing.T) {
5555
groupID, policyAddr := createRsp.GroupId, sdk.MustAccAddressFromBech32(createRsp.GroupPolicyAddress)
5656
require.NotEmpty(t, groupID)
5757
chain.Fund(policyAddr, sdkmath.NewIntFromUint64(1_000_000_000))
58-
// and a proposal submitted
58+
// and a proposal is submitted
5959
recipientAddr := sdk.AccAddress(rand.Bytes(address.Len))
6060

6161
payload := []sdk.Msg{banktypes.NewMsgSend(policyAddr, recipientAddr, sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdkmath.OneInt())))}
@@ -70,7 +70,7 @@ func TestGroupWithContract(t *testing.T) {
7070
require.NoError(t, chain.Codec.Unmarshal(execRsp.Data, &groupRsp))
7171
// require.NotEmpty(t, groupRsp.ProposalId)
7272

73-
// and coins received
73+
// and coins are received
7474
recipientBalance := chain.Balance(recipientAddr, sdk.DefaultBondDenom)
7575
expBalanceAmount := sdk.NewCoin(sdk.DefaultBondDenom, sdkmath.OneInt())
7676
assert.Equal(t, expBalanceAmount.String(), recipientBalance.String())

0 commit comments

Comments
 (0)