Felix Lange
a867039c53
internal/build: apply -ubuntu to env ( #27910 )
2023-08-12 11:02:24 +02:00
Felix Lange
68860063fb
internal/build: apply -ubuntu to env ( #27910 )
2023-08-12 10:32:50 +02:00
Felix Lange
f298ec4fe1
go.mod, build: upgrade c-kzg-4844 ( #27907 )
...
This upgrades to the latest release of ckzg, and also attempts to fix some blst-related
build errors that occur on launchpad.net.
2023-08-12 00:23:19 +02:00
Felix Lange
e91b21ce2b
go.mod, build: upgrade c-kzg-4844 ( #27907 )
...
This upgrades to the latest release of ckzg, and also attempts to fix some blst-related
build errors that occur on launchpad.net.
2023-08-12 00:21:46 +02:00
Péter Szilágyi
811a674059
all: update golang/x/ext and fix slice sorting fallout ( #27909 )
...
The Go authors updated golang/x/ext to change the function signature of the slices sort method.
It's an entire shitshow now because x/ext is not tagged, so everyone's codebase just
picked a new version that some other dep depends on, causing our code to fail building.
This PR updates the dep on our code too and does all the refactorings to follow upstream...
2023-08-12 00:19:12 +02:00
Delweng
770db145ab
ethdb/leveldb: support more than 7 levels in metrics ( #27904 )
2023-08-12 00:18:23 +02:00
imulmat4
55863ce0d8
core/txpool/blobpool: fix metrics name for prometheus export ( #27901 )
2023-08-12 00:18:16 +02:00
dependabot[bot]
a0491a04b5
deps: update supranational/blst to 0.3.11 ( #27890 )
...
build(deps): bump github.com/supranational/blst
Bumps [github.com/supranational/blst](https://github.com/supranational/blst ) from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11.
- [Release notes](https://github.com/supranational/blst/releases )
- [Commits](https://github.com/supranational/blst/commits/v0.3.11 )
---
updated-dependencies:
- dependency-name: github.com/supranational/blst
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 00:18:11 +02:00
Péter Szilágyi
be65b47645
all: update golang/x/ext and fix slice sorting fallout ( #27909 )
...
The Go authors updated golang/x/ext to change the function signature of the slices sort method.
It's an entire shitshow now because x/ext is not tagged, so everyone's codebase just
picked a new version that some other dep depends on, causing our code to fail building.
This PR updates the dep on our code too and does all the refactorings to follow upstream...
2023-08-12 00:04:12 +02:00
Péter Szilágyi
0ce331f56a
trie/triedb/pathdb: make shutdown journal log friendlier ( #27905 )
2023-08-11 17:05:35 +03:00
DongXi Huang
80b76a9527
core/types: remove duplication in eip2930 signer ( #27860 )
...
Remove duplication in signer
---------
Co-authored-by: GDdark <huangdongxi@minijoy.work>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-08-11 09:50:57 -04:00
Felix Lange
8f8ef2bc0c
rpc: attempt to fix ping/pong logic race ( #27733 )
...
This should fix #27726 . With enough load, it might happen that the SetPongHandler
callback gets invoked before the call to SetReadDeadline is made in pingLoop. When
this occurs, the socket will end up with a 30s read deadline even though it got the pong,
which will lead to a timeout.
The fix here is processing the pong on pingLoop, synchronizing with the code that
sends the ping.
2023-08-11 15:16:45 +02:00
Delweng
35f7f3d015
ethdb/leveldb: support more than 7 levels in metrics ( #27904 )
2023-08-11 15:15:49 +02:00
marcello33
b4cc1f65be
graphql: dev: chg: avoid greedy allocation on graphql blocks call ( #958 )
...
* dev: chg: avoid greedy allocation on graphql blocks call
* dev: fix: linter issues
2023-08-11 14:37:11 +02:00
imulmat4
6ddb92cac3
core/txpool/blobpool: fix metrics name for prometheus export ( #27901 )
2023-08-11 10:12:26 +03:00
Péter Szilágyi
e2507a17e8
params: switch release family to 1.13 to prep for PBSS
2023-08-10 22:22:17 +03:00
rjl493456442
503f1f7ada
all: activate pbss as experimental feature ( #26274 )
...
* all: activate pbss
* core/rawdb: fix compilation error
* cma, core, eth, les, trie: address comments
* cmd, core, eth, trie: polish code
* core, cmd, eth: address comments
* cmd, core, eth, les, light, tests: address comment
* cmd/utils: shorten log message
* trie/triedb/pathdb: limit node buffer size to 1gb
* cmd/utils: fix opening non-existing db
* cmd/utils: rename flag name
* cmd, core: group chain history flags and fix tests
* core, eth, trie: fix memory leak in snapshot generation
* cmd, eth, internal: deprecate flags
* all: enable state tests for pathdb, fixes
* cmd, core: polish code
* trie/triedb/pathdb: limit the node buffer size to 256mb
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2023-08-10 22:21:36 +03:00
Sina Mahmoodi
5e89ff4d6b
graphql: validate block params ( #27876 )
...
Block takes a number and a hash. The spec is unclear on what should happen in this case, leaving it an implemenation detail. With this change, we return an error in case both number and hash are passed in.
2023-08-10 07:00:52 -04:00
dependabot[bot]
86d7f5aeee
deps: update supranational/blst to 0.3.11 ( #27890 )
...
build(deps): bump github.com/supranational/blst
Bumps [github.com/supranational/blst](https://github.com/supranational/blst ) from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11.
- [Release notes](https://github.com/supranational/blst/releases )
- [Commits](https://github.com/supranational/blst/commits/v0.3.11 )
---
updated-dependencies:
- dependency-name: github.com/supranational/blst
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-10 06:50:09 -04:00
Martin Holst Swende
8d1db1601d
eth/filters, core/rawdb: remove unused param, refactor filtering-loop ( #27891 )
...
This change removes a chainconfig parameter passed into rawdb.ReadLogs, which is not used nor needed.
It also modifies the filter loop slightly, avoiding a labeled break and instead using a method.
This change does not modify any behaviour.
2023-08-10 06:49:05 -04:00
Felix Lange
d9a8b0ff71
params: begin v1.12.2 release cycle
2023-08-10 12:13:15 +02:00
Felix Lange
9c216bd6cb
params: release go-ethereum v1.12.1
2023-08-10 12:10:33 +02:00
Guillaume Ballet
67979022aa
core/state: move UpdateContractCode before the trie hash is computed ( #27853 )
...
Context: The UpdateContractCode method was introduced for the state storage commitment
schemes that include the whole code for their commitment computation. It must therefore be called
before the root hash is computed at the end of IntermediateRoot.
This should have no impact on the MPT since, in this context, the method is a no-op.
2023-08-09 18:02:45 +02:00
Delweng
10d9f9377b
graphql: add yParity field for transactions ( #27882 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-08-09 17:57:57 +02:00
Felix Lange
7ec60d5f0c
p2p: move ping handling into pingLoop goroutine ( #27887 )
...
Moving the response sending there allows tracking all peer goroutines
in the peer WaitGroup.
2023-08-09 16:00:31 +02:00
Martin Holst Swende
e13fa32cea
core/vm: update 4844 - point evaluation precompile address ( #27874 )
2023-08-08 15:54:19 +03:00
Martin Holst Swende
0d772b9f09
graphql: avoid greedy allocation ( #27873 )
...
Fixes a graphql-dos
---------
Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2023-08-08 07:35:58 -04:00
Shivam Sharma
a602479f72
bump : version to 0.5.0-beta-4
2023-08-08 13:34:26 +05:30
Jerry
4b6f1a6fd6
Minor fix
2023-08-07 14:59:40 -07:00
ucwong
6d2bcb911a
p2p/simulations/examples: use atomic.Int64 ( #27861 )
2023-08-07 18:30:05 +02:00
Amin Talebi
eeebb07c73
internal/ethapi: add state override to estimateGas ( #27845 )
2023-08-07 16:03:57 +02:00
ucwong
d14c07d91e
accounts: use atomic type ( #27857 )
2023-08-07 03:11:50 -04:00
ucwong
857476753d
internal: use atomic type ( #27858 )
2023-08-07 03:11:06 -04:00
Christopher Harrison
60070fe5c6
internal/ethapi, graphql: correct comments about gas price logic ( #27752 )
2023-08-05 01:08:53 +02:00
ucwong
5c30541c2a
log: use atomic types ( #27763 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-08-05 00:58:53 +02:00
Felix Lange
bb148dd342
core/types: support yParity field in JSON transactions ( #27744 )
...
This adds support for the "yParity" field in transaction objects returned by RPC
APIs. We somehow forgot to add this field even though it has been in the spec for
a long time.
2023-08-05 00:54:55 +02:00
Darioush Jalali
57cdbaef30
all: remove trailing whitespace ( #27741 )
2023-08-05 00:24:32 +02:00
Jerry
4bc2359c81
Bump version to 0.5.0-beta-3
2023-08-04 12:27:56 -07:00
Jerry
3da36b08ff
Revert "add : mutex for stateObjects"
...
This reverts commit 4d5cdae2e6 .
2023-08-04 12:26:11 -07:00
Jerry
173a26f0c3
Revert "chg : modify stateObjectsMu"
...
This reverts commit 62208934ad .
2023-08-04 12:26:06 -07:00
Jerry
75fe9c6c84
Add mutex for currentState in TxPool
2023-08-04 12:25:27 -07:00
Felix Lange
df544350bc
core/types: fix immutability guarantees in Block ( #27844 )
...
This change rearranges the accessor methods in block.go and fixes some minor issues with
the copy-on-write logic of block data. Fixed issues:
- Block.WithWithdrawals did not create a shallow copy of the block.
- Block.WithBody copied the header unnecessarily, and did not preserve withdrawals.
However, the bugs did not affect any code in go-ethereum because blocks are *always*
created using NewBlockWithHeader().WithBody().WithWithdrawals()
2023-08-04 14:16:23 +02:00
Daniel Jones
d4959497c8
Merge pull request #950 from maticnetwork/djpolygon/bootnode_package_updates
...
Fixes for bootnode
2023-08-04 06:59:14 -05:00
Shivam Sharma
560620fa89
bump : version to 0.5.0-beta-2
2023-08-04 15:23:31 +05:30
Shivam Sharma
62208934ad
chg : modify stateObjectsMu
2023-08-04 15:05:45 +05:30
Shivam Sharma
4d5cdae2e6
add : mutex for stateObjects
2023-08-04 14:52:00 +05:30
Daniel Jones
49da26c1a0
Fixing copy name of the bor_bootnode.service file and updating the bor_bootnode.service file for what is the current values
2023-08-03 12:38:53 -05:00
Péter Szilágyi
6e934f40f9
eth/protocols/snap: fix batch writer when resuming an aborted sync ( #27842 )
2023-08-03 14:51:02 +03:00
Shivam Sharma
b7efe4d3c2
fix : goreleaser
2023-08-03 14:55:15 +05:30
Shivam Sharma
ac376e53e0
bump version to v0.5.0-beta-1
2023-08-03 14:55:01 +05:30