Skip to content

Commit 5d2f157

Browse files
authored
chore: make function comment match function name (#2177)
Signed-off-by: linghuying <[email protected]>
1 parent 8a08e07 commit 5d2f157

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/relay_pingpong_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,15 @@ func (p *player) Execute(_ wasmvm.Checksum, _ wasmvmtypes.Env, _ wasmvmtypes.Mes
175175
}, 0, nil
176176
}
177177

178-
// OnIBCChannelOpen ensures to accept only configured version
178+
// IBCChannelOpen ensures to accept only configured version
179179
func (p player) IBCChannelOpen(_ wasmvm.Checksum, _ wasmvmtypes.Env, msg wasmvmtypes.IBCChannelOpenMsg, _ wasmvm.KVStore, _ wasmvm.GoAPI, _ wasmvm.Querier, _ wasmvm.GasMeter, _ uint64, _ wasmvmtypes.UFraction) (*wasmvmtypes.IBCChannelOpenResult, uint64, error) {
180180
if msg.GetChannel().Version != p.actor {
181181
return &wasmvmtypes.IBCChannelOpenResult{Ok: &wasmvmtypes.IBC3ChannelOpenResponse{}}, 0, nil
182182
}
183183
return &wasmvmtypes.IBCChannelOpenResult{Ok: &wasmvmtypes.IBC3ChannelOpenResponse{}}, 0, nil
184184
}
185185

186-
// OnIBCChannelConnect persists connection endpoints
186+
// IBCChannelConnect persists connection endpoints
187187
func (p player) IBCChannelConnect(_ wasmvm.Checksum, _ wasmvmtypes.Env, msg wasmvmtypes.IBCChannelConnectMsg, store wasmvm.KVStore, _ wasmvm.GoAPI, _ wasmvm.Querier, _ wasmvm.GasMeter, _ uint64, _ wasmvmtypes.UFraction) (*wasmvmtypes.IBCBasicResult, uint64, error) {
188188
p.storeEndpoint(store, msg.GetChannel())
189189
return &wasmvmtypes.IBCBasicResult{Ok: &wasmvmtypes.IBCBasicResponse{}}, 0, nil
@@ -272,7 +272,7 @@ func (p player) IBCPacketReceive(_ wasmvm.Checksum, _ wasmvmtypes.Env, msg wasmv
272272
}, 0, nil
273273
}
274274

275-
// OnIBCPacketAcknowledgement handles the packet acknowledgment frame. Stops the game on an any error
275+
// IBCPacketAck handles the packet acknowledgment frame. Stops the game on an any error
276276
func (p player) IBCPacketAck(_ wasmvm.Checksum, _ wasmvmtypes.Env, msg wasmvmtypes.IBCPacketAckMsg, store wasmvm.KVStore, _ wasmvm.GoAPI, _ wasmvm.Querier, _ wasmvm.GasMeter, _ uint64, _ wasmvmtypes.UFraction) (*wasmvmtypes.IBCBasicResult, uint64, error) {
277277
// parse received data and store
278278
var sentBall hit

0 commit comments

Comments
 (0)