frozen
b242506df5
Commented golangci.
2 years ago
Casey Gardiner
a32a1755b3
Release Candidate hotfix: dev -> main ( #4333 )
...
* Rebase dev branch to current main branch (#4318 )
* add openssl compatibility on m2 chips using darwin (#4302 )
Adds support for OpenSSL on MacOS Ventura using m2 chips.
* [dumpdb] ensure each cross link is dumped (#4311 )
* bump libp2p to version 0.24.0 and update its dependencies and relevant tests (#4315 )
* Removed legacy syncing peer provider. (#4260 )
* Removed legacy syncing peer provider.
* Fix localnet.
* Fix migrate version.
* Rebased on main.
* Fix formatting.
* Remove blockchain dependency from engine. (#4310 )
* Consensus doesn't require anymore `Node` as a circular dependency.
* Rebased upon main.
* Removed engine beacon chain dependency.
* Fixed nil error.
* Fixed error.
* bump libp2p to version 0.24.0 and update its dependencies and relevant tests
* fix format, remove wrongly added configs
* add back wrongly deleted comment
* fix travis go checker
Co-authored-by: Konstantin <355847+Frozen@users.noreply.github.com>
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* bump libp2p to version 0.24.0 and update its dependencies and relevant tests (#4315 )
* Removed legacy syncing peer provider. (#4260 )
* Removed legacy syncing peer provider.
* Fix localnet.
* Fix migrate version.
* Rebased on main.
* Fix formatting.
* Remove blockchain dependency from engine. (#4310 )
* Consensus doesn't require anymore `Node` as a circular dependency.
* Rebased upon main.
* Removed engine beacon chain dependency.
* Fixed nil error.
* Fixed error.
* bump libp2p to version 0.24.0 and update its dependencies and relevant tests
* fix format, remove wrongly added configs
* add back wrongly deleted comment
* fix travis go checker
Co-authored-by: Konstantin <355847+Frozen@users.noreply.github.com>
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* Fix for consensus stuck. (#4307 )
* Added check for block validity.
* Starts new view change if block invalid.
* Revert "Starts new view change if block invalid."
This reverts commit e889fa5da2e0780f087ab7dae5106b96287706db.
* staged dns sync v1.0 (#4316 )
* staged dns sync v1.0
* enabled stream downloader for localnet
* fix code review issues
* remove extra lock
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* add description for closing client and change randomize process to ma… (#4276 )
* add description for closing client and change randomize process to make sure only online nodes are added to sync config
* fix sync test
* fix legacy limitNumPeers test
* add WaitForEachPeerToConnect to node configs to make parallel peer connection optional
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* Small fixes and code cleanup for network stack. (#4320 )
* staged dns sync v1.0
* enabled stream downloader for localnet
* fix code review issues
* remove extra lock
* staged dns sync v1.0
* Fixed, code clean up and other.
* Fixed, code clean up and other.
* Fixed, code clean up and other.
* Fix config.
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
* Fix not disable cache in archival mode (#4322 )
* Feature registry (#4324 )
* Registry for services.
* Test.
* Reverted comment.
* Fix.
* Slash fix (#4284 )
* Implementation of new slashing rate calculation
* Write tests for then new slashing rate calculation
* Add engine.applySlashing tests
* fix #4059
Co-authored-by: Alex Brezas <abresas@gmail.com>
Co-authored-by: Dimitris Lamprinos <pkakelas@gmail.com>
* Bump github.com/aws/aws-sdk-go from 1.30.1 to 1.33.0 (#4325 ) (#4328 )
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.1 to 1.33.0.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/v1.33.0/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.1...v1.33.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump github.com/btcsuite/btcd from 0.21.0-beta to 0.23.2 (#4327 ) (#4329 )
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd ) from 0.21.0-beta to 0.23.2.
- [Release notes](https://github.com/btcsuite/btcd/releases )
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES )
- [Commits](https://github.com/btcsuite/btcd/compare/v0.21.0-beta...v0.23.2 )
---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix epoch chain initialization issue (#4331 )
* Fix getting epoch number. (#4279 )
* feat: update dockerfile with some enhacement (#4250 )
* feat: update dockerfile with some enhancement
* [docker] fix: update golang version
Co-authored-by: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com>
* [build] github action update (#4336 )
* [ops] update github action files
* [ops] add debug message in github action
* [ops] fix GPG action variable
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [ops] fix macos-12 build
* [cmd] update year version (#4334 )
* chore(build): upgrade golang to 1.19 (#4335 )
* chore(build): upgrade golang to 1.19
* chore(build): run `go mod tidy`
* chore(build): run `goimports -w -e ${file}`
* chore(build): revert github ci changes
* chore(build): pin golang version to 1.19.5
* chore(build): fix protoc version on gen files
* chore(build): fix protoc-gen-go to v1.26.0 (#4337 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Max <82761650+MaxMustermann2@users.noreply.github.com>
Co-authored-by: Gheis <36589218+GheisMohammadi@users.noreply.github.com>
Co-authored-by: Konstantin <355847+Frozen@users.noreply.github.com>
Co-authored-by: “GheisMohammadi” <“Gheis.Mohammadi@gmail.com”>
Co-authored-by: Danny Willis <102543677+dannyposi@users.noreply.github.com>
Co-authored-by: PeekPI <894646171@QQ.COM>
Co-authored-by: Alex Brezas <abresas@gmail.com>
Co-authored-by: Dimitris Lamprinos <pkakelas@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gheis Mohammadi <Gheis.Mohammadi@gmail.com>
Co-authored-by: Jason Yi <90701258+jasonyic@users.noreply.github.com>
Co-authored-by: Soph <35721420+sophoah@users.noreply.github.com>
2 years ago
Max
b300a4ec4d
chore(build): upgrade golang to 1.19 ( #4335 )
...
* chore(build): upgrade golang to 1.19
* chore(build): run `go mod tidy`
* chore(build): run `goimports -w -e ${file}`
* chore(build): revert github ci changes
* chore(build): pin golang version to 1.19.5
* chore(build): fix protoc version on gen files
2 years ago
Konstantin
3175d8aab3
Bump go1.18. ( #4107 )
...
* Bump go1.18.
* Build tags.
* Go vet errors fix.
* Fix imports.
* Fix imports.
* Fix go vet.
* Fix protobuf.
* Fix file gen.
* Fix tools.
* Travis fix.
* Travis fix.
* Travis fix.
* Fix dependency.
* Clean up.
* Fix rosetta test.
* Add comment to run tests.
* Add comment to run tests.
* 1.18.2
* Fix rosetta script.
* Fix docker version.
* Fix imports.
* Fix formatting.
* Fix formatting.
Co-authored-by: Konstantin <k.potapov@softpro.com>
2 years ago
Konstantin
e56ee2e689
Build docker image while tests. ( #4233 )
...
* Build docker image while tests.
* Fix paths.
* Empty line to trigger tests.
* Empty line to trigger tests.
Co-authored-by: Konstantin <k.potapov@softpro.com>
2 years ago
Konstantin
97eb8d972f
Go vet fixed.
3 years ago
Frozen
c698ee4c5d
Feature get blocks by height. ( #4078 )
...
* Support getting block by height.
* Fix to compile.
* Http method.
* Generate fix.
* Install protoc-gen-go-grpc.
* Added limit to avoid abuse, small fixes.
Co-authored-by: Konstantin <k.potapov@softpro.com>
3 years ago
Alex Chen
45b90e9b3b
upgrade go version to 1.16
4 years ago
Daniel Van Der Maden
0b6a90a28c
[travis] Cache docker imgs ( #3523 )
...
* [travis] Cache build img
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
* [travis] Safely cache imgs
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
4 years ago
Daniel Van Der Maden
25b7373b5f
[travis] Fix script call perm err
...
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
4 years ago
Daniel Van Der Maden
a69d87740f
[travis] Rename travis_build_checker.sh to travis_go_checker.sh
...
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
4 years ago
Daniel Van Der Maden
42f7ab68c5
[travis] Add travis_rosetta_checker.sh & rename other checks
...
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
4 years ago
haodi
2272237738
move codecov script to checker
4 years ago
haodi
054d280463
[travis]integrate with codecov.io
4 years ago
Anatoli Babenia
88cd135919
[travis] Use `make`
4 years ago
Anatoli Babenia
a3477b6c16
[travis] Move `go get` to Makefile
...
Building `bls` in `go get` requires sourcing env vars
4 years ago
Anatoli Babenia
3bf13305fc
[travis] Use Travis defaults for Go paths
...
https://docs.travis-ci.com/user/languages/go/#go-import-path
4 years ago
Anatoli Babenia
b36c296645
.travis.yml Test default source location for Go projects
4 years ago
Anatoli Babenia
c3e6113322
.travis.yml Run tests on Ubuntu 18.04 LTS ( #3309 )
...
* .travis.yml Run tests on Ubuntu 18.04 LTS
* README.md Remove unnecessary badge token
* README.md Change badge branch to `main`
4 years ago
Daniel Van Der Maden
eb3df51285
[travis] Add travis_node_checker.sh
...
* Remove slack notification
* Parallelize tests
4 years ago
Leo Chen
0bacc9e769
[go] upgrade golang to 1.14 ( #2779 )
...
* [go] upgrade golang to 1.14
Signed-off-by: Leo Chen <leo@harmony.one>
* [go] fix goimports and update go.mod
Signed-off-by: Leo Chen <leo@harmony.one>
* [docker] update golang version
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
e194e144ef
[build] upgrade to 1.13 for travis build
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Eugene Kim
743545e7dd
Peg s3 to Go 1.12
5 years ago
Rongjian Lan
415ae067a2
update travis to compile SWAPPED BLS
6 years ago
Eugene Kim
7d2c88fa47
Do not manually install gopkg.in/check.v1
...
This is listed (and version-pegged) in go.mod and will be pulled in
whenever needed by the build, thanks to the modules system.
6 years ago
Eugene Kim
d17a06dfe0
Version-peg protoc-gen-go
...
The provider module (github.com/golang/protobuf) was already in go.mod
as a build dependency.
6 years ago
Eugene Kim
3fe16fd8cc
Version-peg mockgen
...
The provider module (github.com/golang/mock) was already in go.mod as
a test dependency.
6 years ago
Eugene Kim
757897858a
Version-peg gencodec
6 years ago
Eugene Kim
a9e4b7fa14
Version-peg goimports
6 years ago
Eugene Kim
b6ad958a53
Version-peg golint
6 years ago
Eugene Kim
ca6fd788ce
Factor build tool installation out into a script
...
For now it only moves protoc installation. Support for version-pegging
“go get”-able tools is included, but since tools/tools.go lists no tools
yet, it is a no-op. The list will be populated/migrated in later
commits.
6 years ago
Eugene Kim
e3bd479aa4
Do not run Travis checker twice
...
Really. Makes no sense to do so.
6 years ago
Eugene Kim
9d6ea5f137
Move go build -v ./... to the script stage
...
Install stage (where it was previously found), by convention, is used
for installing tools and dependencies only.
6 years ago
Eugene Kim
b64d7a4412
“go get: -t flag is a no-op when using modules”
6 years ago
Eugene Kim
93acc5e934
Turn module mode on
6 years ago
Rongjian Lan
948ba3b824
remove install_solc in travis for now
6 years ago
Rongjian Lan
fe8316ba34
Change permission for install_solc.sh
6 years ago
Rongjian Lan
25bbac6411
change permission of install solc
6 years ago
Rongjian Lan
30c0d721f9
Add install_solc.sh
6 years ago
Eugene Kim
de52df8ec1
Ensure mockgen is installed
...
go get -t -v ./... finds only github.com/golang/mock/gomock as
dependency, and not github.com/golang/mock/mockgen.
6 years ago
Eugene Kim
3034d8c217
Install protoc and gencodec
...
mockgen is installed as part of go get -t ./... (which pulls in gomock).
6 years ago
Minh Doan
86a85b9c29
trying to fix travis
6 years ago
Eugene Kim
6e102eb730
Make Travis-CI use the canonical import path
...
Currently we get an import problem for forks, for example
“someone-else/harmony”. Travis-CI job set up for such a fork will check
out the repo under GOPATH/src/github.com/someone-else/harmony,
importable as "github.com/someone-else/harmony" and not as the intended
"github.com/harmony-one/harmony".
Recording the canonical import path (go_import_path) in .travis.yml lets
Travis-CI check out the repo under GOPATH/src always using the canonical
import path, resolving build issues for forks.
6 years ago
Eugene Kim
dddd104b4f
Install goimports in Travis-CI
6 years ago
Eugene Kim
f3fa46cd79
Fetch and use (“gimme”) stable Go, not master
...
The Go installation (gimme) step of Travis-CI is super slow (~3m),
because we use master version of Go, which gimme needs to
download/compile/install out of the Git repository.
Use stable instead of master, which lets gimme to download/install the
binary version (if available), of the latest stable release, and fall
back to source only if that fails.
6 years ago
Rongjian Lan
9a95aa6a71
Fix build error
6 years ago
Rongjian Lan
60e5670cf6
Fix travis failure
6 years ago
Rongjian Lan
aafd537dbd
Fix travis failure
6 years ago
Rongjian Lan
68d795f803
Fix build failure
6 years ago
Rongjian Lan
de10e0c2b2
Change to ci test
6 years ago