Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
asoliman92 committed Jul 10, 2024
1 parent e5244c8 commit 88cfa28
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ import (
pp "github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/ping_pong_demo"
)

/*
* Test is setting up 3 chains (let's call them A, B, C), each chain deploys and starts 2 ping pong contracts for the other 2.
* A ---deploy+start---> (pingPongB, pingPongC)
* B ---deploy+start---> (pingPongA, pingPongC)
* C ---deploy+start---> (pingPongA, pingPongB)
* and then checks that each ping pong contract emitted `CCIPSendRequested` event from the expected source to destination.
* Test fails if any wiring between contracts is not correct.
*/
func TestPingPong(t *testing.T) {
owner, chains := createChains(t, 4)

Expand Down

0 comments on commit 88cfa28

Please sign in to comment.