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
MaxMustermann2
ec8d197f00
[abi] fix: Typo in comment
3 years ago
MaxMustermann2
75017bfbad
[core] feat: Add cross shard transfer precompile
...
...for native tokens only, and not for smart contracts (which will be
added later). Resolves #4132 and requires a hard fork, currently
scheduled at EpochTBD on main and test nets, but epoch 1 (after
AcceptsCrossTx) on other nets.
The precompile is at address 249 and the method has the signature
`crossShardTransfer(uint256 amount, address to, uint32 toShardID)`. It
requires a transfer of the `amount` to the precompile address first, in
the form of `msg.value`, and cascades a cross shard receipt to the
network when executed. At this stage, it is blocked for use by smart
contracts by checking that there is no code at the address, and that the
address is not a validator. Documentation for Python integration tests
to follow.
3 years ago
Konstantin
97eb8d972f
Go vet fixed.
3 years ago
Jacky Wang
af5eaa8d0a
[RPC] Replace go-ethereum/rpc module with harmony/eth/rpc ( #3983 )
...
* [rpc] fix some test cases
* fix test cases
* [rpc] use harmony/eth/rpc for customized changes
* [RPC] replace one more use of RPC at accounts module
* [RPC] fix test cases
3 years ago
Soph
17e6bafb3b
[RPC] revert PR #3907 ( #3922 )
...
* Revert "Merge pull request #3907 from harjas27/go_json"
This reverts commit 791c9d2018
, reversing
changes made to 0bed4945f4
.
* [api] remove unused go-ethereum/rpc
* fix go-get error
Co-authored-by: Nita Neou <soph@harmony.one>
3 years ago
harjas
44c13a24cd
Update goimports
3 years ago
harjas
9c9793cbc1
use eth rpc with go-json
3 years ago
Rongjian Lan
2bf97dd376
return error for invalid address parsing
4 years ago
Sebastian Johnsson
f860d18b1d
Add keystore -> SignEthTx/SignEthTxWithPassphrase
4 years ago
Leo Chen
cf26665d13
fix build error with new tx interface
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
349adb7c8b
[test] remove bind_test.go
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
537d0b4abd
fix go test error
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
34499c4ab2
[golint] fix lint errors
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
c6ccc403b6
[abi] use harmony/common/math
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
af48b05019
[abi] hardcoded abi/bind to use shard0
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
df20bea501
[abi] update external package
...
upstream to the following version
----
commit 0a3993c558616868e35f9730e92c704ac16ee437
Author: yumiel yoomee1313 <yumiel.ko@groundx.xyz>
Date: Wed Dec 30 21:10:11 2020 +0900
accounts/abi/bind: fix erroneous test (#22053 )
closes #22049
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
11f36c930f
[abi] update abi/bind package
...
upstream to the following version
----
commit 0a3993c558616868e35f9730e92c704ac16ee437
Author: yumiel yoomee1313 <yumiel.ko@groundx.xyz>
Date: Wed Dec 30 21:10:11 2020 +0900
accounts/abi/bind: fix erroneous test (#22053 )
closes #22049
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
c63a27fdd1
[abi] update abi package to upstream go-ethereum version
...
upstream to the following version
----
commit 0a3993c558616868e35f9730e92c704ac16ee437
Author: yumiel yoomee1313 <yumiel.ko@groundx.xyz>
Date: Wed Dec 30 21:10:11 2020 +0900
accounts/abi/bind: fix erroneous test (#22053 )
closes #22049
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Rongjian Lan
4452b36ee4
Rollup evm to geth v1.9.9 Muir Glacier ( #3356 )
...
* Rollup evm to geth v1.9.9 Muir Glacier
* fix go gen
* update intrinsic gas for istanbul
* Update statedb.Commit
* revert go gen result
* revert protobuf version
* update protobuf
* update go gen files
* set testnet epoch for evm upgrade
4 years ago
Edgar Aroutiounian
b0ffa1616d
[accounts] Remove dead code ( #2946 )
5 years ago
Edgar Aroutiounian
6c6006be44
[project][node] bump max message handlers per topic, update deprecated/staticcheck finds ( #2821 )
...
* [rpc] Remove filter code - it is not used
* [node][project] Remove more dead code, bump max message handler to 200
* [rpc] Undo overzealous filter removal
5 years ago
Edgar Aroutiounian
a1c8156afc
[project] Endless tech debt ( #2777 )
...
* [internal] Remove dead RPC/wallet
* [rpc] Reduce API surface area for dead RPC
* [node] Remove dead flags, unused setters
* [project] Unused logger, too many loggers
* [core] staticcheck fixes, remove unused db keys
* [project] More dead code through, now in param and genesis
* [internal] Useless test
5 years ago
flicker-harmony
a90968d379
Replace ethereum log with zerolog and some ctxerrors
5 years ago
Edgar Aroutiounian
9ef6c8a135
[accounts] Expose internal Address value, parsing ( #1734 )
5 years ago
Edgar Aroutiounian
1297623cfe
Staking dev cycle ( #1689 )
...
* [staking] Sign staking transaction with standalone staking-iterate CLI
* [staking] golint
* [staking] Fix for build, move transaction under staking/types
* [staking] Send RLP signed staking transaction, receive in RPC
* [staking] Organize staking packages, send over specific staking message
* [staking] Satisfy jenkins build in temp CLI staking-iterate
* [staking] Adjust naming of types
* [staking] Fold separate package into types as initial creation by RJ
5 years ago
Rongjian Lan
08e7375610
Migrate go-ethereum params into harmony/internal/params
5 years ago
Kai Lee
ec77abfb87
Replaced loggers in `accounts/` with custom shared logger
5 years ago
Rongjian Lan
65bf29ce0f
Add utility to export private key
5 years ago
Eugene Kim
b841559e28
Replace non-constant HexToAddress with ParseAddr
...
Leave constant HexToAddress calls as is for now; they are numerous and
converting them have no real benefit.
ParseAddr parses both base16 and bech32 addresses.
5 years ago
Rongjian Lan
16279258d0
Remove bls address util and sha256 hash
5 years ago
Richard Liu
fe217ad2b7
more rpc APIs. ( #863 )
...
* added readme
* more RPC APIs
* update for comments; fix travis issues
* update auto-generated host_mock.go
6 years ago
Leo Chen
a3ab659bab
[accounts] fix golint and go test errors
...
removed accounts/abi/bind/backends/simulated_test.go
removed accounts/abi/bind/util_test.go
removed accounts/external/backend.go
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
56ce665435
replace ethereum/core with harmony/core
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
91516b2498
replace ethereum/accounts with harmony/accounts
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
7f783e50ea
removed accounts/usbwallet
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
57b599d208
removed accounts/scwallet
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
d794c7bcc1
import ethereum accounts package
...
copy from the following commit.
commit 9b831d74fbee3d59ceca380a40e4a9af1a55cfca
Author: Guillaume Ballet <gballet@gmail.com>
Date: Tue May 7 18:22:24 2019 +0200
accounts/usbwallet: fix a comment typo in trezor driver (#19535 )
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago