Skip to content

Commit 2cc01ba

Browse files
committed
Grammer fix and github action update
1 parent eaaa92b commit 2cc01ba

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Go
1616
uses: actions/setup-go@v4
1717
with:
18-
go-version: '1.25.1'
18+
go-version: '1.25'
1919

2020
- name: Install golangci-lint
2121
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

.github/workflows/gotest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Go
1616
uses: actions/setup-go@v4
1717
with:
18-
go-version: '1.25.1'
18+
go-version: '1.25'
1919

2020
- name: Run tests
2121
run: go test -short ./...

.github/workflows/integration-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Integration Tests
22

33
on:
44
pull_request:
5-
branches: [ main, develop ]
5+
branches: [ main, dev ]
66
push:
7-
branches: [ main, develop ]
7+
branches: [ main, dev ]
88
workflow_dispatch:
99
inputs:
1010
test_size:
@@ -28,11 +28,11 @@ jobs:
2828
image: timescale/timescaledb-ha:pg17
2929
env:
3030
POSTGRES_PASSWORD: test_password_12345678
31-
POSTGRES_DB: gnoland
31+
POSTGRES_DB: postgres
3232
ports:
3333
- 5432:5432
3434
options: >-
35-
--health-cmd "pg_isready -U postgres -d gnoland"
35+
--health-cmd "pg_isready -U postgres -d postgres"
3636
--health-interval 10s
3737
--health-timeout 5s
3838
--health-retries 5
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Initialize database schema
5757
run: |
58-
go run indexer/main.go setup create-db
58+
go run indexer/main.go setup create-db
5959
env:
6060
DB_HOST: localhost
6161
DB_PORT: 5432

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v4
2121
with:
22-
go-version: '1.25.1'
22+
go-version: '1.25'
2323

2424
- name: Get version
2525
id: version

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ In this release there are some fixes and improvements. The live process should w
1616
### Changed
1717

1818
- The CLI commands are now combined all together so the cmd/setup.go is removed and the users can now only download the main cli and initiate everything they needs for the indexer to work. [805513b](https://github.com/Cogwheel-Validator/spectra-gnoland-indexer/commit/805513b20fdd4f452e8d6f5ad6d56d318e78d5d9)
19-
- Changed the data and query operators to use mutex and store any data they process/collect directly into the type they need to return. There shouldn't be any major preformance difference but it should alocate less memory. [89e5b6d](https://github.com/Cogwheel-Validator/spectra-gnoland-indexer/commit/89e5b6d103710970cbe69c02865bb4b0727649b3)
19+
- Changed the data and query operators to use mutex and store any data they process/collect directly into the type they need to return. There shouldn't be any major perfromance difference but it should allocate less memory. [89e5b6d](https://github.com/Cogwheel-Validator/spectra-gnoland-indexer/commit/89e5b6d103710970cbe69c02865bb4b0727649b3)
2020

2121
### Fixed
2222

23-
- When Indexer started to run in live mode without any previous data it should start tho prcess the data from frist block height. But instead it tried to query block height 0. [3517e5a](https://github.com/Cogwheel-Validator/spectra-gnoland-indexer/commit/3517e5aec32a21d70f43b0595d842841098a4c47)
23+
- When Indexer started to run in live mode without any previous data it should start to process the data from first block height. But instead it tried to query block height 0. [3517e5a](https://github.com/Cogwheel-Validator/spectra-gnoland-indexer/commit/3517e5aec32a21d70f43b0595d842841098a4c47)
2424

2525
## [0.2.1] - 2025-10-06
2626

docs/requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ and how much data is indexed you might need to increase the RAM size.
6666

6767
The following software and OS requirements are required to run the indexer:
6868

69-
- Go 1.25.1
69+
- go 1.25.4
7070
- TimescaleDB 2.18 or higher but with PostgresSQL 16 or higher
7171
- OS: Linux, anything based on Debian(Ubuntu, Mint, etc.) or RHEL(CentOS stream, Rocky Linux, etc.) should work, openSUSE also ok
7272
- Docker (optional)

integration/HISTORIC_REPORTS.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The database holds around 2.3 GB of data, out of which:
9696

9797
The transaction general stores the most, I think this is due to events. Althoug this was synthetic representation of the data it still stores a lot of data. Untill I run the program with real data I will not know the real picture of how much do events pop up into the transactions and what kind of real data they store. This could be decreased with compressing the events but I would need to train the zstandard dirctionary for this to be efficient.
9898

99-
Address tx stores the second most, but I think this was due to the bug. On avarage every transaction had at least one more doubled entry from the signers. I will need to fix it later. But out of 2.5 million entries there is at least 1 million duplicated entries. So in realaty this should be at least 40% less. I do not think there is much improvment for space here.
99+
Address tx stores the second most, but I think this was due to the bug. On average every transaction had at least one more doubled entry from the signers. I will need to fix it later. But out of 2.5 million entries there is at least 1 million duplicated entries. So in realaty this should be at least 40% less. I do not think there is much improvment for space here.
100100

101101
Bank msg send stores the third most, this is expected as it stores the data from the bank msg send. But this is moslty because the chances for the generator to create this type of transaction is higher than the other types.
102102

integration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Additional info, anything above 100K block height is not recommended
1919
to run. To clarify it can run but the
2020
generator that creates the synthetic data stores the data in the RAM
2121
memory. Unless you have abnormally high RAM
22-
you are risking to run out of memory. On avarage I saw the RAM going
22+
you are risking to run out of memory. On average I saw the RAM going
2323
up to 4-5GB for the 100K blocks with 500 regular addresses and 50
2424
validators.
2525

0 commit comments

Comments
 (0)