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

fix: long overdue refactor #359

Closed
wants to merge 123 commits into from
Closed

Conversation

faddat
Copy link
Contributor

@faddat faddat commented Feb 21, 2024

This is prepared for pebble support in Celestia without breaking changes

thanethomson and others added 30 commits December 23, 2022 11:33
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
* Revert "Remove @creachadair from the CODEOWNERS file. (tendermint#285)"

This reverts commit 0c9484c.

* Revert all changes since v0.6.6

Signed-off-by: Thane Thomson <[email protected]>

* make format

Signed-off-by: Thane Thomson <[email protected]>

* Address linter complaints

Signed-off-by: Thane Thomson <[email protected]>

* Remove deprecated io/ioutil usage

Signed-off-by: Thane Thomson <[email protected]>

* Use latest GitHub workflows

Signed-off-by: Thane Thomson <[email protected]>

* regenerate certs (tendermint#280)

* Disable CI failure if coverage upload fails

Signed-off-by: Thane Thomson <[email protected]>

* Remove redundant Printf/Println statements/comments

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
* Rename package

Signed-off-by: Thane Thomson <[email protected]>

* Update and rename Makefile to match convention

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
* Lowercase repo and org names in package

Signed-off-by: Thane Thomson <[email protected]>

* Regenerate certs with cometbft.com domain

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
Bumps [github.com/dgraph-io/badger/v2](https://github.com/dgraph-io/badger) from 2.2007.2 to 2.2007.4.
- [Release notes](https://github.com/dgraph-io/badger/releases)
- [Changelog](https://github.com/dgraph-io/badger/blob/main/CHANGELOG.md)
- [Commits](dgraph-io/badger@v2.2007.2...v2.2007.4)

---
updated-dependencies:
- dependency-name: github.com/dgraph-io/badger/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…dermint#20)

* ci: Update workflows to use cometbft/cometbft-db-testing image

Signed-off-by: Thane Thomson <[email protected]>

* Add version "v" prefix to golangci-lint in action config

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v5...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…endermint#2)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v3.2.0...v3.3.1)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rmint#6)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.50.1 to 1.52.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.50.1...v1.52.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…mint#18)

Bumps [github.com/google/btree](https://github.com/google/btree) from 1.0.0 to 1.1.2.
- [Release notes](https://github.com/google/btree/releases)
- [Commits](google/btree@v1.0.0...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/google/btree
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add local version of CI test

Signed-off-by: Thane Thomson <[email protected]>

* Remove unnecessary env var config

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
* Update Go version to 1.18

Signed-off-by: Thane Thomson <[email protected]>

* Update readme to reflect minimum Go version

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
* Add govulncheck

Signed-off-by: Thane Thomson <[email protected]>

* Sync stalebot config with cometbft

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
* Enabling manual creation of CHANGELOG.md with unclog

* Update .changelog/epilogue.md

Co-authored-by: Thane Thomson <[email protected]>

* Delete entry for reverted commit

Co-authored-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
* docs: Update README

Signed-off-by: Thane Thomson <[email protected]>

* docs: Update contributing guidelines

Signed-off-by: Thane Thomson <[email protected]>

* docs: Replace how_to_release doc with RELEASES in repo root

Signed-off-by: Thane Thomson <[email protected]>

* Remove dead links from code

Signed-off-by: Thane Thomson <[email protected]>

* Use standard Apache 2.0 license

Signed-off-by: Thane Thomson <[email protected]>

* Apply suggestions from code review

Co-authored-by: Sergio Mena <[email protected]>

* docs: Add fork notice to readme

Signed-off-by: Thane Thomson <[email protected]>

* docs: Reshuffle some links

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
Co-authored-by: Sergio Mena <[email protected]>
* Prepare changelog for v0.7.0

Signed-off-by: Thane Thomson <[email protected]>

* Build changelog

Signed-off-by: Thane Thomson <[email protected]>

* Add hrule to top of epilogue to separate changelog from epilogue

Signed-off-by: Thane Thomson <[email protected]>

* Manually escape issue number

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
…rmint#31)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.52.0 to 1.52.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.52.0...v1.52.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…endermint#30)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rmint#32)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.52.1 to 1.52.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.52.1...v1.52.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rmint#38)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.52.3 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.52.3...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt) from 1.3.6 to 1.3.7.
- [Release notes](https://github.com/etcd-io/bbolt/releases)
- [Commits](etcd-io/bbolt@v1.3.6...v1.3.7)

---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Attention: Patch coverage is 73.70130% with 81 lines in your changes are missing coverage. Please review.

Project coverage is 74.94%. Comparing base (774cdfe) to head (fc0fbd3).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #359      +/-   ##
==========================================
+ Coverage   68.30%   74.94%   +6.63%     
==========================================
  Files          27       13      -14     
  Lines        2073      930    -1143     
==========================================
- Hits         1416      697     -719     
+ Misses        586      190     -396     
+ Partials       71       43      -28     
Files Coverage Δ
goleveldb_batch.go 94.44% <ø> (+1.11%) ⬆️
prefixdb.go 71.30% <100.00%> (+7.74%) ⬆️
prefixdb_iterator.go 81.25% <100.00%> (+0.23%) ⬆️
test_helpers.go 100.00% <100.00%> (ø)
util.go 40.00% <100.00%> (+3.33%) ⬆️
db.go 41.17% <50.00%> (+6.17%) ⬆️
goleveldb.go 65.51% <84.21%> (+6.60%) ⬆️
memdb_iterator.go 91.46% <50.00%> (-1.95%) ⬇️
memdb.go 70.65% <71.42%> (+0.38%) ⬆️
pebble.go 70.71% <70.71%> (ø)

... and 3 files with indirect coverage changes

Files Coverage Δ
goleveldb_batch.go 94.44% <ø> (+1.11%) ⬆️
prefixdb.go 71.30% <100.00%> (+7.74%) ⬆️
prefixdb_iterator.go 81.25% <100.00%> (+0.23%) ⬆️
test_helpers.go 100.00% <100.00%> (ø)
util.go 40.00% <100.00%> (+3.33%) ⬆️
db.go 41.17% <50.00%> (+6.17%) ⬆️
goleveldb.go 65.51% <84.21%> (+6.60%) ⬆️
memdb_iterator.go 91.46% <50.00%> (-1.95%) ⬇️
memdb.go 70.65% <71.42%> (+0.38%) ⬆️
pebble.go 70.71% <70.71%> (ø)

... and 3 files with indirect coverage changes

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added Stale and removed Stale labels Mar 13, 2024
Copy link

github-actions bot commented Apr 4, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added Stale and removed Stale labels Apr 4, 2024
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Apr 26, 2024
@github-actions github-actions bot closed this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants