diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index adc172fd44..55a698781d 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -23,8 +23,6 @@ jobs: - name: Setup docker compose working-directory: trinity-${{ github.run_id }}/.github/workflows/docker run: | - export UID=$(id -u) - export GID=$(id -g) docker compose up -d sleep 5s diff --git a/trinity/common/task.py b/trinity/common/task.py index 4a3f3a39c5..e9f88724fb 100644 --- a/trinity/common/task.py +++ b/trinity/common/task.py @@ -175,7 +175,7 @@ def index(self) -> int: @property def epoch(self) -> int: """Get the current epoch.""" - return self._index + return self._epoch def __next__(self) -> Task: """Iterate through the tasks in the taskset."""