Commit graph

15860 commits

Author SHA1 Message Date
Anshal Shukla
d0f0cef267
Merge pull request #964 from maticnetwork/pebble
internal/cli: add db.engine flag
2023-08-17 20:19:23 +05:30
Anshal Shukla
18dd5dc643 Update docs and add default config 2023-08-17 11:38:21 +05:30
Arpit Temani
58729e50f0
Merge pull request #960 from ForwardSlashBack/patch-1
fix: Improve RETESTBOR.md document formatting
2023-08-17 10:55:52 +05:30
Jerry
3fa0fec5cf
Disable shuffling in unit test (#954) 2023-08-17 10:54:09 +05:30
Manav Darji
a5b1ae5d16
metrics/prometheus: fix count field of metric (#965) 2023-08-16 18:24:23 +05:30
Anshal Shukla
d342e654f3 add db.engine flag 2023-08-16 10:46:57 +05:30
Arpit Temani
e3ad905f31
exempt draft PRs (#962) 2023-08-15 11:25:56 +05:30
Shivam Sharma
d43ad036ae fix : lint 2023-08-14 16:06:48 +05:30
ForwardSlashBack
b58ce594c2
Additional reformatting and cleanup of RETESTBOR document 2023-08-13 15:21:21 -04:00
ForwardSlashBack
30e37c5c7b
Fix minor documentation typo 2023-08-12 23:53:09 -04:00
Felix Lange
bed8460658 params: release go-ethereum v1.12.2 2023-08-12 11:05:07 +02:00
Felix Lange
a867039c53 internal/build: apply -ubuntu to env (#27910) 2023-08-12 11:02:24 +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
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
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
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
SHIVAM SHARMA
b09b69cfb7
Merge pull request #949 from maticnetwork/mardizzone/upstream-merge
Upstream merge from go-ethereum/v1.11.6
2023-08-03 14:48:53 +05:30
SHIVAM SHARMA
5da2eba455
Merge pull request #948 from maticnetwork/revert-901-mardizzone/upstream-merge
Revert "Upstream merge from go-ethereum/v1.11.6"
2023-08-03 14:45:51 +05:30