Commit graph

14014 commits

Author SHA1 Message Date
Victor Castell
8ce30321ad Bump Go 2021-11-10 11:31:39 +01:00
Victor Castell
e58bdfa8e8 Build the new CLI 2021-11-10 11:31:23 +01:00
Victor Castell
57898e43e1 Final touches to Dockerfiles 2021-11-10 11:02:37 +01:00
Rajat Saxena
1cd6c844aa
Vendor protobuf and go extension issue PR (#223)
* Vendor protobuf and go extension issue PR

* Finalized the script

* Quick fix
2021-11-09 10:23:34 +01:00
Victor Castell
0aa8feeb00 Apply best practices to Dockerfile 2021-11-05 16:46:59 +01:00
chuwt
b86a566f8e Fix default attach endpoint 2021-10-29 22:15:35 +08:00
Ferran Borreguero
f94c7ddd6f
Decode big.int in config (#219) 2021-10-26 18:09:46 +02:00
Ferran Borreguero
e9703c7e3f
Add docs for cli and config file (#218)
* Initial docs cli
2021-10-26 14:09:11 +02:00
Ferran Borreguero
8ebfafd3f3
Merge pull request #211 from maticnetwork/feature-peers-module
Feature peers module
2021-10-26 14:08:55 +02:00
Ferran Borreguero
d10f5508b3 Cleanup 2021-10-26 09:38:43 +02:00
Ferran Borreguero
58702220ac Add peers module 2021-10-26 09:35:46 +02:00
Ferran Borreguero
224f4a803c Resolve merge 2021-10-26 09:34:40 +02:00
Ferran Borreguero
026d0ded8b
Merge pull request #208 from maticnetwork/feature-grpc-server
Feature grpc server
2021-10-26 09:05:35 +02:00
Ferran Borreguero
765a4b93d7 Add default values 2021-10-25 14:14:58 +02:00
Ferran Borreguero
a22a68cdc2 Add comments 2021-10-25 14:07:57 +02:00
Ferran Borreguero
6bec5c704b Add cli info 2021-10-25 14:05:29 +02:00
Ferran Borreguero
2c9b2c31dc Add grpc server + debug endpoint 2021-10-25 14:05:29 +02:00
Ferran Borreguero
7282cf9c25 Resolve merge 2021-10-25 14:05:03 +02:00
Ferran Borreguero
7bb48844a4
Merge pull request #214 from maticnetwork/ferran/feature-config-file
Feature to add a config file to Bor
2021-10-25 13:58:57 +02:00
Ferran Borreguero
51de433242 Add hcl/json config file 2021-10-25 13:54:10 +02:00
Ferran Borreguero
c9cc1412a2 Add config file 2021-10-25 13:54:10 +02:00
Ferran Borreguero
b797f25a80
Merge pull request #200 from maticnetwork/feature-cmd
Feature cmd
2021-10-25 13:52:56 +02:00
Ferran Borreguero
3d3f986c5b Remove pointers in config field 2021-10-20 11:45:44 +02:00
ferranbt
2b7bd156cf Add heimdall flag 2021-10-18 07:31:48 +00:00
ferranbt
7225eec0f6 Finish flags 2021-10-17 16:26:25 +00:00
Felix Lange
bb74230f2a params: release go-ethereum v1.10.10 stable 2021-10-15 12:17:13 +02:00
rjl493456442
f915f6873f
core/state/snapshot: fix data race in layer flattening (#23628)
* core/state/snapshot: fix data race in layer flattening

* core/state/snapshot: fix typo
2021-10-15 10:52:40 +03:00
Marius van der Wijden
08e782c61f
accounts/abi: add basic support for error types (#23161)
This is the initial step for support of Solidity errors in contract bindings.
As of this change, errors can be decoded, but are not supported in
bindings yet.

Closes #23157
2021-10-14 13:33:28 +02:00
Sandeep Sreenath
f020b88157
Merge pull request #206 from maticnetwork/fix-binary-search
Include upper bound in binary search
2021-10-14 16:35:43 +05:30
Ferran Borreguero
e4eceefbb0 Merge conflicts 2021-10-14 12:50:41 +02:00
jwasinger
011fe3eb5e
core: remove unused error from TxPool.Pending (#23720) 2021-10-13 23:00:45 +02:00
Marius van der Wijden
79b727bc8a
accounts/abi/bind: refactor transact method (#23719)
This fixes a bug where gas-related fields of the TransactOpts passed
to transaction methods would be modified, skipping gas estimation for
subsequent transactions.

Co-authored-by: Yondon Fu <yondon.fu@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-10-13 22:59:11 +02:00
Iskander (Alex) Sharipov
778ff94794
all: fix some go-critic linter warnings (#23709)
This doesn't fix all go-critic warnings, just the most serious ones.

Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2021-10-13 17:31:02 +02:00
Ian Norden
e4f570fcc6
core/types: add MarshalBinary, UnmarshalBinary for Receipt (#22806) 2021-10-13 15:16:16 +02:00
Felix Lange
f9d683b07f
go.mod: upgrade goja (#23721)
This update adds support for some more ES6 functionality, notably
arrow functions.
2021-10-13 14:42:00 +02:00
Ferran Borreguero
a9b5e5dfb8 Update README 2021-10-13 12:01:35 +02:00
Ferran Borreguero
a421570dc0 Add the rest of the flags 2021-10-13 11:34:48 +02:00
noam-alchemy
633e7ef478
eth,rpc: allow for flag configured timeouts for eth_call (#23645)
* eth,rpc: allow for flag configured timeouts for eth_call

* lint: account for package-local import order

* cr: rename `rpc.calltimeout` to `rpc.evmtimeout`
2021-10-12 10:46:04 +02:00
z89
3d11a22c99
fixed broken web3 methods link in README.md (#23703) 2021-10-12 08:44:07 +02:00
Martin Holst Swende
6289137827
consensus/clique, core: API cleanup (#23100)
This removes some code:

- The clique engine calculated the snapshot twice when verifying headers/blocks.

- The method GetBlockHashesFromHash in Header/Block/Lightchain was only used by tests. It
  is now removed from the API.
  
- The method GetTdByHash internally looked up the number before calling GetTd(hash, num).
  In many cases, callers already had the number, and used this method just because it has a
  shorter name. I have removed the method to make the API surface smaller.
2021-10-11 23:16:46 +02:00
Sandeep Sreenath
ecc0fb1e56 updated golang version in github workflow 2021-10-12 00:05:08 +05:30
Marius van der Wijden
da3da7c0e7
ci: enable race tests as cron job on travis (#23480) 2021-10-11 19:37:18 +02:00
Miro
cf8a6d6173
core: tests for forked blocks retrievable by hash (#23695)
* Update tests to showcase that forked blocks can still be looked up by their hash
2021-10-11 19:25:21 +02:00
rjl493456442
088bc34194
les/vflux/server: fix metrics (#22946)
* les/vflux/server: fix metrics

* les/vflux/server: fix metrics
2021-10-11 18:49:26 +02:00
Marius van der Wijden
53b1420ede
params: changed CatalystBlock to TerminalTotalDifficulty (#23700)
* params: changed CatalystBlock to TerminalTotalDifficulty

* eth/catalyst: comment out unused code
2021-10-11 18:58:11 +03:00
Guillaume Ballet
8b6e018401
build: increase C thread stack size on linux (#23676)
* build: increase thread stack size when running alpine linux

* review feedback: force a stack size of 8M on all linux distribs

* fix missing extldflags
2021-10-11 15:48:41 +02:00
Martin Holst Swende
64da037e99
cmd/evm: stricter transaction validation (#23694)
* cmd/evm: t9n: validate transaction intrinsic gas

* cmd/evm: t9n: stricter tx validation
2021-10-11 12:30:13 +02:00
Sandeep Sreenath
91f4d1b3f7
Merge pull request #203 from maticnetwork/release_v0.2.9
bumped version to v0.2.9
2021-10-11 15:40:55 +05:30
Sandeep Sreenath
db99e0b987
Merge pull request #204 from eltociear/patch-2
core: fix typo in iterator.go
2021-10-11 15:39:47 +05:30
Zachinquarantine
8a430fbd1c
cmd/puppeth: add txpool to explorer Dockerfile (#23652) 2021-10-11 11:15:45 +03:00