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: constant overflow when compiling for 32bit machines #318

Merged
merged 2 commits into from
Oct 1, 2020
Merged

fix: constant overflow when compiling for 32bit machines #318

merged 2 commits into from
Oct 1, 2020

Conversation

troian
Copy link
Contributor

@troian troian commented Sep 30, 2020

on Go 1.x(x) all constants are ints by default which causing
build for 32bit machines to fail due to overflow
golang/go#23086

on Go 1.x(x) all constants are ints by default which causing
build for 32bit machines to fail due to overflow
golang/go#23086

Signed-off-by: Artur Troian <troian.ap@gmail.com>
@erikgrinaker
Copy link
Contributor

Thanks! Can you add an entry to CHANGELOG.md as well please, under "Unreleased"?

Signed-off-by: Artur Troian <troian.ap@gmail.com>
@erikgrinaker erikgrinaker self-assigned this Oct 1, 2020
@erikgrinaker erikgrinaker merged commit 360b032 into cosmos:master Oct 1, 2020
@erikgrinaker erikgrinaker mentioned this pull request Oct 12, 2020
erikgrinaker pushed a commit that referenced this pull request Oct 12, 2020
on Go 1.x(x) all constants are ints by default which causing
build for 32bit machines to fail due to overflow
golang/go#23086

Signed-off-by: Artur Troian <troian.ap@gmail.com>
KamiD added a commit to okblockchainlab/iavl that referenced this pull request Apr 10, 2021
* fix: constant overflow when compiling for 32bit machines (cosmos#318)

on Go 1.x(x) all constants are ints by default which causing
build for 32bit machines to fail due to overflow
golang/go#23086

Signed-off-by: Artur Troian <troian.ap@gmail.com>

* changelog: release 0.14.2

* lint: update golangci-lint to 1.29 (cosmos#297)

* ci: freeze golangci action version (cosmos#303)

* github: bump golangci-lint and fix linter issues (cosmos#325)

* test: check stray database entries in TestRandomOperations (cosmos#326)

Checks that we don't leave behind any junk in the database, as reported in cosmos#324.

* revert Protobuf methods accidentally cherry-picked in a41e36b

* go.mod: bump tm-db to 0.5.2

* fix DeleteVersions stray orphans, and add DeleteVersionsRange (cosmos#324)

* test: add TestRandomOperations case for DeleteVersions

* test: run slow tests without race detector in CI (cosmos#338)

* changelog: release 0.14.3 (cosmos#333)

Co-authored-by: Artur Troian <troian@users.noreply.github.com>
Co-authored-by: Erik Grinaker <erik@interchain.berlin>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Klimov Sergey <klim0v-sergey@yandex.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants