Skip to content

Commit

Permalink
build: downgrade go to 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Feb 26, 2024
1 parent d3eee7d commit 3b9bbca
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.19"
check-latest: true
- name: run lint
run: nix develop -c make lint
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.19"
check-latest: true
cache: true
cache-dependency-path: store/go.sum
Expand Down
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Changelog

## [v1.0.2] - 2024-02-26

* Downgrade Go version in go.mod to 1.19

## [v1.0.1] - 2024-02-25

## [v1.0.0] - 2023-05-25

> Note this repository was forked from [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db). Minor modifications were made after the fork to better support the Cosmos SDK. Notably, this repo removes badger, boltdb and cleveldb.
- added bloom filter: <https://github.com/cosmos/cosmos-db/pull/42/files>
- Removed Badger & Boltdb
- Add `NewBatchWithSize` to `DB` interface: <https://github.com/cosmos/cosmos-db/pull/64>
- Add `NewRocksDBWithRaw` to support different rocksdb open mode (read-only, secondary-standby).
* added bloom filter: <https://github.com/cosmos/cosmos-db/pull/42/files>
* Removed Badger & Boltdb
* Add `NewBatchWithSize` to `DB` interface: <https://github.com/cosmos/cosmos-db/pull/64>
* Add `NewRocksDBWithRaw` to support different rocksdb open mode (read-only, secondary-standby).
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
devShells = rec {
default = with pkgs; mkShell {
buildInputs = [
go_1_22 # Use Go 1.22 version
go_1_19 # Use Go 1.19 version
rocksdb
];
};
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cosmos/cosmos-db

go 1.22
go 1.19

require (
github.com/cockroachdb/pebble v1.1.0
Expand Down

0 comments on commit 3b9bbca

Please sign in to comment.