Skip to content

Commit

Permalink
Merge pull request #3 from archway-network/v9xx-upgrade
Browse files Browse the repository at this point in the history
feat: upgrade to archwayd v9.0.0-rc1
  • Loading branch information
shahbazn committed Sep 12, 2024
2 parents 99683b5 + 23eaedf commit 2b3d640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/faucet/cosmosfaucet.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ func (f Faucet) ValidateRequest(req TransferRequest) error {
// TotalTransferredAmount returns the total transferred amount from faucet account to toAccountAddress.
func (f Faucet) TotalTransferredAmount(req TransferRequest) (coinsTransferred map[string]sdkmath.Int, err error) {
//TODO: Add pagination support if there are more than 1 page of transactions
command := []string{"q", "txs", "--events",
"message.sender=" + f.faucetAccountAddress + "&transfer.recipient=" + req.AccountAddress,
command := []string{"q", "txs", "--query",
fmt.Sprintf("message.sender='%s' AND transfer.recipient='%s'", f.faucetAccountAddress, req.AccountAddress),
"--page", "1", "--limit", "50", "--node", f.AppNode,
"--output", "json", "--chain-id", f.AppChainID}

Expand Down

0 comments on commit 2b3d640

Please sign in to comment.