Diego Nava
88d8dd6cd4
disable go test verbose flag
1 year 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
06de7dcd6c
Fix race errors. ( #4184 )
...
* Fix data races.
* Fix block num.
* Pub key lock.
* Fixed race errors.
* Fix flag.
* Fix comments.
* Fix comments.
* Fix type.
* Fix race errors in tests.
Co-authored-by: Konstantin <k.potapov@softpro.com>
2 years ago
Alex Chen
7cf2ce59fb
Try Fix go1.16 mod issue
4 years ago
Leo Chen
2d6f1f8c6e
[golint] relax exit error status on golint
...
Signed-off-by: Leo Chen <leo@harmony.one>
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
Rongjian Lan
5d1517cdf7
Revert "[travis]integrate with codecov.io" ( #3376 )
...
* Revert "move codecov script to checker"
This reverts commit 2272237738
.
* Revert "[travis]integrate with codecov.io"
This reverts commit 054d280463
.
4 years ago
haodi
2272237738
move codecov script to checker
4 years ago
haodi
054d280463
[travis]integrate with codecov.io
4 years ago
Daniel Van Der Maden
bb96d8e73f
[scripts] Add shebang to travis_checker.sh
4 years ago
Richard Liu
1db7381d28
Ricl rpc ( #880 )
...
* added readme
* more RPC APIs
* update for comments; fix travis issues
* update auto-generated host_mock.go
* pubsub WIP
* WIP
* added hmy/backend.go
* update to support newBlockFilter
* fix golint
* update readme; add log in travis_checker.sh
* add APIs
* update deploy.sh for duration
* enable sync by default
* testing getFilterChange
* fix ten-oneshard.txt
* add support for bloom indexer
* minior
* update
* [protobuf] generate the pb.go files
Signed-off-by: Leo Chen <leo@harmony.one>
* undo parameters
* remove bloombits
* fix bloom9_test
* remove service.go
6 years ago
Eugene Kim
bf662ff159
Check if go.mod dependencies have changed
...
This is to see if manual tool installation upgraded any dependencies.
6 years ago
Eugene Kim
36e794564a
Move go test to the end because it takes longest
6 years ago
Eugene Kim
1863111998
Check the output status of gogenerate.sh
...
This is because it may fail if the codegen tools are not found.
If failed, skip the status compare step because it may as well return a
false positive, i.e. generated code is not up to date but the codegen
tool to bring it up to date was not found so no diff was detected.
6 years ago
Eugene Kim
7d19151be7
Check if generated files are out of date
6 years ago
Rongjian Lan
399b130679
Add multi-sig check on validator commit phase
6 years ago
Eugene Kim
18804ded81
Factor BLS build flag setup into its own script
6 years ago
Eugene Kim
bb3d29f476
Factor golint validation into a script
...
This script (scripts/golint.sh) handily exempts vendored and generated
files.
Sample usage:
* “scripts/goimports.sh -d -e” → show full diff
* “scripts/goimports.sh -w” → fix files in-place
6 years ago
Eugene Kim
97809dd0dd
Factor goimports validation into a script
...
This script (scripts/goimports.sh) handily exempts vendored and
generated files.
Sample usage:
* “scripts/goimports.sh -d -e” → show full diff
* “scripts/goimports.sh -w” → fix files in-place
6 years ago
Eugene Kim
ecd1977c05
Factor dirnames into a script
6 years ago
Eugene Kim
02a42cdcbd
Factor print_file into a script
6 years ago
Eugene Kim
fd45de0fd1
Factor Go source file listing into a script
6 years ago
Eugene Kim
887fdbc1a5
Avail script dir in progdir and add it to PATH
6 years ago
Eugene Kim
5c8b8ea9b3
Exempt generated files from golint/goimports
6 years ago
Eugene Kim
0755123ca3
s/gofmt/goimports/
...
goimports is a superset of gofmt. It does everything gofmt does, and
also organizes package imports.
6 years ago
Rongjian Lan
8e14357e44
Use GOPATH instead of PWD
6 years ago
Rongjian Lan
39b941d904
Migrate to BLS
6 years ago
Leo Chen
ce77142cf2
be verbose in travis checker
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
92161a2f2d
Revert "fix travis_checker"
...
This reverts commit 496c4a2c7e
.
6 years ago
Minh Doan
496c4a2c7e
fix travis_checker
6 years ago
Eugene Kim
f7d77a22ed
Report all gofmt errors, not just first 10
6 years ago
Eugene Kim
f7c40d3bb4
golint/gofmt only local .go files not in vendor/
...
Also, do not fail on the first failed check.
6 years ago
ak
8eee072300
fixing golint issues
6 years ago
Minh Doan
d95a2dc60d
rename gofmt to travis_checker.sh and add testing checker
6 years ago
Nicolas Burtey
488d7378cd
renaming benchmark to harmony; more readme instructions
6 years ago
Nicolas Burtey
a345483137
renaming benchmark to harmony; more readme instructions
6 years ago
Minh Doan
69afa78b4b
submit check - tested in a PR and it worked
6 years ago
Minh Doan
650d19cde8
modify check logic
6 years ago
Minh Doan
47056552dc
add submit check
6 years ago
Richard Liu
430cd1d5b4
update .travis.gofmt.sh
7 years ago
Richard Liu
dbf6935285
make .travis.gofmt.sh executable
7 years ago
Richard Liu
06a76b40b1
add gofmt to travis
7 years ago