Igor Mandrigin
f386003815
skip deadlock
2021-03-16 13:45:58 +01:00
Marius van der Wijden
e04e33eac2
accounts/abi/bind: allow specifying signer on transactOpts ( #21356 )
...
This commit enables users to specify which signer they want to use while creating their transactOpts.
Previously all contract interactions used the homestead signer. Now a user can specify whether they
want to sign with homestead or EIP155 and specify the chainID which adds another layer of security.
Closes #16484
# Conflicts:
# accounts/abi/bind/auth.go
# accounts/abi/bind/backends/simulated.go
# accounts/abi/bind/bind_test.go
# les/sync_test.go
# les/test_helper.go
# mobile/bind.go
2021-03-08 14:18:03 +01:00
Alex Prut
f032b6d18e
all: remove redundant conversions and import names ( #21903 )
...
# Conflicts:
# accounts/accounts.go
# accounts/keystore/wallet.go
# accounts/scwallet/wallet.go
# accounts/usbwallet/wallet.go
# cmd/clef/main.go
# cmd/devp2p/dnscmd.go
# cmd/evm/compiler.go
# cmd/evm/disasm.go
# cmd/evm/runner.go
# cmd/evm/staterunner.go
# cmd/geth/config.go
# cmd/geth/main.go
# cmd/geth/usage.go
# cmd/utils/flags.go
# consensus/ethash/ethash.go
# core/state/statedb.go
# core/tx_pool_test.go
# core/vm/evm.go
# core/vm/gas_table.go
# core/vm/instructions.go
# core/vm/operations_acl.go
# eth/downloader/api.go
# eth/filters/api.go
# eth/filters/filter_system.go
# eth/filters/filter_system_test.go
# eth/tracers/tracer.go
# internal/debug/flags.go
# internal/ethapi/api.go
# internal/flags/helpers.go
# miner/unconfirmed_test.go
# mobile/ethereum.go
# trie/iterator.go
# turbo/trie/database.go
2021-03-08 12:43:02 +01:00
Marius van der Wijden
3949c520a4
accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface ( #21091 )
...
* accounts/abi: refactored abi.Unpack
* accounts/abi/bind: fixed error
* accounts/abi/bind: modified template
* accounts/abi/bind: added ToStruct for conversion
* accounts/abi: reenabled tests
* accounts/abi: fixed tests
* accounts/abi: fixed tests for packing/unpacking
* accounts/abi: fixed tests
* accounts/abi: added more logic to ToStruct
* accounts/abi/bind: fixed template
* accounts/abi/bind: fixed ToStruct conversion
* accounts/abi/: removed unused code
* accounts/abi: updated template
* accounts/abi: refactored unused code
* contracts/checkpointoracle: updated contracts to sol ^0.6.0
* accounts/abi: refactored reflection logic
* accounts/abi: less code duplication in Unpack*
* accounts/abi: fixed rebasing bug
* fix a few typos in comments
* rebase on master
Co-authored-by: Guillaume Ballet <gballet@gmail.com>
# Conflicts:
# accounts/abi/bind/base_test.go
# accounts/abi/bind/bind_test.go
# accounts/abi/pack_test.go
# go.mod
# mobile/bind.go
2020-10-26 17:16:00 +01:00
ledgerwatch
8728e54a72
Another step in migrating tests to staged sync ( #970 )
...
* Log in GetAsOf
* Default plain state
* trace
* More test fixes
* Fix lint
* Fix
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Fix for events
* Repair events
* Fix lint
* Fix lint
* Change back to InsertChain
2020-08-24 18:00:40 +01:00
Igor Mandrigin
46f9df7821
accounts/abi: move U256Bytes to common/math ( #21020 )
...
# Conflicts:
# accounts/abi/abi_test.go
# accounts/abi/numbers.go
# signer/core/signed_data.go
2020-05-20 15:26:22 +03:00
Igor Mandrigin
49621dc4d1
les/checkpointoracle: move oracle into its own package ( #20508 )
...
* les: move the checkpoint oracle into its own package
It's first step of refactor LES package. LES package
basically can be divided into LES client and LES server.
However both sides will use checkpoint package for
status retrieval and verification. So this PR moves
checkpoint oracle into a separate package
* les: address comments
2020-01-30 13:36:30 +02:00
Alexey Akhunov
fe01bccbb8
Apply Turbo-Geth modifications to go-ethereum codebase
2019-11-01 21:52:03 +01:00
Péter Szilágyi
140a7e9177
accounts/abi/bind: support closing a simulated backend
2019-07-31 11:35:57 +03:00
Christian Muehlhaeuser
a32a2b933a
cmd, contracts, eth, p2p, signer, whisper: fixed ineffectual assignments ( #19869 )
...
Fixed assigning values to variables we don't end up using.
2019-07-22 13:34:41 +03:00
Péter Szilágyi
1a83114c74
all: update author list and licenses
2019-07-22 12:17:27 +03:00
gary rong
6814797173
accounts, cmd, contracts, les: integrate clef for transaction signing ( #19783 )
...
* accounts, cmd, contracts, les: integrate clef for transaction signing
* accounts, cmd/checkpoint-admin, signer/core: minor fixups
2019-07-03 22:54:59 +03:00
gary rong
f7cdea2bdc
all: on-chain oracle checkpoint syncing ( #19543 )
...
* all: implement simple checkpoint syncing
cmd, les, node: remove callback mechanism
cmd, node: remove callback definition
les: simplify the registrar
les: expose checkpoint rpc services in the light client
les, light: don't store untrusted receipt
cmd, contracts, les: discard stale checkpoint
cmd, contracts/registrar: loose restriction of registeration
cmd, contracts: add replay-protection
all: off-chain multi-signature contract
params: deploy checkpoint contract for rinkeby
cmd/registrar: add raw signing mode for registrar
cmd/registrar, contracts/registrar, les: fixed messages
* cmd/registrar, contracts/registrar: fix lints
* accounts/abi/bind, les: address comments
* cmd, contracts, les, light, params: minor checkpoint sync cleanups
* cmd, eth, les, light: move checkpoint config to config file
* cmd, eth, les, params: address comments
* eth, les, params: address comments
* cmd: polish up the checkpoint admin CLI
* cmd, contracts, params: deploy new version contract
* cmd/checkpoint-admin: add another flag for clef mode signing
* cmd, contracts, les: rename and regen checkpoint oracle with abigen
2019-06-28 10:34:02 +03:00