Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: downgrade go to 1.19 #102

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.20"
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.20"
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).
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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_20 # Use Go 1.20 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
Loading