Skip to content

Commit

Permalink
remove balance at calls
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Jun 10, 2024
1 parent 8083858 commit 70ba6d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integration/obscurogateway/tengateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,8 @@ func testRateLimiter(t *testing.T, httpURL, wsURL string, w wallet.Wallet) {

address := user0.Wallets[0].Address()

// make 100 request with the same user to "spam" the gateway
// make 1000 requests with the same user to "spam" the gateway
for i := 0; i < 1000; i++ {
_, _ = user0.HTTPClient.BalanceAt(context.Background(), user0.Wallets[0].Address(), nil)
msg := ethereum.CallMsg{
From: address,
To: &address, // Example: self-call to the user's address
Expand Down

0 comments on commit 70ba6d3

Please sign in to comment.