Skip to content

Commit

Permalink
upgrade kava to 0.27 (#26)
Browse files Browse the repository at this point in the history
* Update ethlistener.go

* Update tps-uniswap-kava.yml
  • Loading branch information
0g-wh authored Dec 2, 2024
1 parent e07e4af commit 0ffe84e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tps-uniswap-kava.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
make build
- name: Build Chain
run: |
git clone -b release/v0.26.x https://github.com/Kava-Labs/kava.git
git clone -b v0.27.0 https://github.com/Kava-Labs/kava.git
cd kava
make build
sed -i 's|BINARY=kava|BINARY=./out/linux/kava|' ./contrib/devnet/init-new-chain.sh
Expand Down
4 changes: 3 additions & 1 deletion lib/cmd/run/ethlistener.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ func (el *EthereumListener) handleBlockResponse(response map[string]interface{})
}
} else {
if result, ok := response["result"].([]interface{}); ok {
fmt.Println("Logs:", len(result))
if len(result) > 0 {
fmt.Println("Logs:", len(result))
}
}
}
}
Expand Down

0 comments on commit 0ffe84e

Please sign in to comment.