feat: cache lastTail in txindexer to avoid read from db (#157) #781
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
push: | |
branches: [main, develop] | |
jobs: | |
unit_test: | |
name: unit_test | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- run: | | |
git apply tests/0001-diff-go-ethereum.patch | |
make test |