Commit graph

17838 commits

Author SHA1 Message Date
Jerry
75ef2a29fe
Bump version to v1.5.4-beta 2025-01-02 08:09:34 -08:00
Jerry
2c453199c8
Merge pull request #1395 from cffls/develop
Backport master to develop
2025-01-02 07:51:47 -08:00
Raneet Debnath
37e6f705c5
Merge pull request #1386 from maticnetwork/dependabot/go_modules/golang.org/x/crypto-0.31.0
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0
2024-12-26 09:46:20 +05:30
Jerry
ba53498f49
Merge remote-tracking branch 'upstream/master' into develop 2024-12-24 09:34:36 -08:00
Jerry
47cdc309f5
Fix hasher (#1394)
This will fix a hasher bug that was introduced in a23701f2d4
2024-12-24 09:03:55 -08:00
Jerry
b49047f4ee
core/state: fix SetStorage override behavior (#30185) (#1393)
This pull request fixes the broken feature where the entire storage set is overridden.

Originally, the storage set override was achieved by marking the associated account
as deleted, preventing access to the storage slot on disk. However, since #29520, this
flag is also checked when accessing the account, rendering the account unreachable.

A fix has been applied in this pull request, which re-creates a new state object with all
account metadata inherited.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2024-12-24 09:03:42 -08:00
Jerry
d68987696a
Fallback to serial execution if parallel execution fails (#1392) 2024-12-24 09:03:30 -08:00
Marcello Ardizzone
135878f611
Merge pull request #1381 from Dimitrolito/fix/typos
Fix typos and improve documentation across several files
2024-12-18 15:16:33 +01:00
Marcello Ardizzone
a1d36c2a74
Merge pull request #1385 from maticnetwork/djpolygon/packaging_cleanup
Removing control files and updating the updateVersion.sh
2024-12-18 14:59:23 +01:00
Daniel Jones
e2d3fbf2b9
Adding systemd copy, missed in copy over 2024-12-17 11:41:36 -06:00
dependabot[bot]
d2e12f4717
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 00:15:06 +00:00
Daniel Jones
e24a1456b4
Removing control files and updating the updateVersion.sh 2024-12-11 16:23:56 -06:00
Marcello Ardizzone
569eb7bb5a
Merge pull request #1383 from maticnetwork/v1.5.3-beta-candidate
v1.5.3 candidate
2024-12-11 09:42:25 +01:00
Manav Darji
e1f6d2593d
Merge pull request #1384 from maticnetwork/manav/fix-invalid-validator-set
Use `header.ParentHash` while fetching validator set from child chain contract so that while making the call, it uses the state which belongs to the same fork which is being imported.
2024-12-11 15:15:11 +07:00
Jerry
6c75359553
Fix incorrect balance when CreateContract is used in block-stm (#1382)
* Fix incorrect balance when CreateContract is used in block-stm

* address CR comments
2024-12-11 13:34:55 +05:30
marcello33
8f7533076e
chg: bump stable version 2024-12-11 08:39:16 +01:00
Manav Darji
14c88877e6
consensus/bor: fetch validator set using parent hash 2024-12-10 21:15:49 +05:30
Jerry
67b12b50df
Fix incorrect balance when CreateContract is used in block-stm (#1382)
* Fix incorrect balance when CreateContract is used in block-stm

* address CR comments
2024-12-10 18:56:47 +05:30
marcello33
d509034fc9
chg: update version 2024-12-10 08:58:30 +01:00
Marcello Ardizzone
d227610781
Merge pull request #1380 from maticnetwork/djpolygon/SPEC-559
Wrong architecture binary ended up in arm64
2024-12-10 07:29:49 +01:00
Dmytrol
1ce49563a6
typos README.md 2024-12-06 17:28:23 +02:00
Dmytrol
096b429bcb
typos server.md 2024-12-06 17:27:28 +02:00
Dmytrol
ebffd991f2
typos server.md 2024-12-06 17:27:00 +02:00
Dmytrol
104271260e
typos server.md 2024-12-06 17:24:03 +02:00
Dmytrol
5eccec7ab6
typos intapi_changelog.md 2024-12-06 17:21:31 +02:00
Daniel Jones
7869600b24
Updating verbage 2024-12-05 11:05:20 -06:00
Daniel Jones
b45347aa1a
Wrong architecture binary ended up in arm64 2024-12-05 11:03:04 -06:00
Martin Holst Swende
293a300d64 version: go-ethereum v1.14.12 stable 2024-11-19 14:50:11 +01:00
Håvard Anda Estensen
f3c19b1a1e rpc: run tests in parallel (#30384)
Continuation of https://github.com/ethereum/go-ethereum/pull/30381
2024-11-19 14:50:11 +01:00
jwasinger
71b32b4d73 core/txpool, eth/catalyst: clear transaction pool in Rollback (#30534)
This adds an API method `DropTransactions` to legacy pool, blob pool and
txpool interface. This method removes all txs currently tracked in the
pools.

It modifies the simulated beacon to use the new method in `Rollback`
which removes previous hacky implementation that also erroneously reset
the gas tip to 1 gwei.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2024-11-19 14:50:11 +01:00
jwasinger
9e959dbb81 all: remove kilic dependency from bls12381 fuzzers (#30296)
The [kilic](https://github.com/kilic/bls12-381) bls12381 implementation
has been archived. It shouldn't be necessary to include it as a fuzzing
target any longer.

This also adds fuzzers for G1/G2 mul that use inputs that are guaranteed
to be valid. Previously, we just did random input fuzzing for these
precompiles.
2024-11-19 14:50:11 +01:00
bitcoin-lightning
ed7bac05f1 core: fix typos (#30767) 2024-11-19 14:50:11 +01:00
Marius Kjærstad
a7ef9d645e build: upgrade -dlgo version to Go 1.23.3 (#30742)
New release: https://groups.google.com/g/golang-announce/c/X5KodEJYuqI
2024-11-19 14:50:11 +01:00
Martin HS
55b18e9bc1 cmd/geth: remove unlock commandline flag (#30737)
This is one further step towards removing account management from
`geth`. This PR deprecates the flag `unlock`, and makes the flag moot:
unlock via geth is no longer possible.
2024-11-19 14:50:11 +01:00
Martin HS
62cce0ca6a core/state: tests on the binary iterator (#30754)
Fixes an error in the binary iterator, adds additional testcases

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2024-11-19 14:50:11 +01:00
witty
c8f6d24f80 docs: fix typo (#30740)
fixes a typo on one of the postmortems
2024-11-19 14:50:11 +01:00
tianyeyouyou
4afca7c832 p2p/netutil: unittests for addrutil (#30439)
add unit tests for `p2p/addrutil`

---------

Co-authored-by: Martin HS <martin@swende.se>
2024-11-19 14:50:11 +01:00
rjl493456442
243feea417 tests: fix test panic (#30741)
Fix panic in tests
2024-11-19 14:50:11 +01:00
Marius van der Wijden
9b3cf575cd eth/protocols/eth: add ETH68 protocol handler fuzzers (#30417)
Adds a protocol handler fuzzer to fuzz the ETH68 protocol handlers
2024-11-19 14:50:11 +01:00
rjl493456442
ba882b6b4d core/state, triedb/database: refactor state reader (#30712)
Co-authored-by: Martin HS <martin@swende.se>
2024-11-19 14:50:11 +01:00
Péter Szilágyi
2b53182c92 travis: build and upload RISC-V docker images too (#30739)
Requested by @barnabasbusa
2024-11-19 14:50:11 +01:00
zhiqiangxu
0e06e891c6 trie/utils: remove unneeded initialization (#30472) 2024-11-19 14:50:11 +01:00
Karol Chojnowski
d71da302db core/state: invoke OnCodeChange-hook on selfdestruct (#30686)
This change invokes the OnCodeChange hook when selfdestruct operation is performed, and a contract is removed. This is an event which can be consumed by tracers.
2024-11-19 14:50:11 +01:00
Felföldi Zsolt
766cda84e1 beacon/blsync: remove cli dependencies (#30720)
This PR moves chain config related code (config file processing, fork
logic, network defaults) from `beacon/types` and `beacon/blsync` into
`beacon/params` while the command line flag logic of the chain config is
moved into `cmd/utils`, thereby removing the cli dependencies from
package `beacon` and its sub-packages.
2024-11-19 14:50:11 +01:00
jwasinger
f57f215f70 cmd/evm: benchmarking via statetest command + filter by name, index and fork (#30442)
When `evm statetest --bench` is specified, benchmark the execution
similarly to `evm run`.

Also adds the ability to filter tests by name, index and fork. 

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-11-19 14:50:11 +01:00
Naveen
b362c37e3f signer/core: extended support for EIP-712 array types (#30620)
This change updates the EIP-712 implementation to resolve [#30619](https://github.com/ethereum/go-ethereum/issues/30619).

The test cases have been repurposed from the ethers.js [repository](https://github.com/ethers-io/ethers.js/blob/main/testcases/typed-data.json.gz), but have been updated to remove tests that don't have a valid domain separator; EIP-712 messages without a domain separator are not supported by geth.

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-11-19 14:50:11 +01:00
Madhur Shrimal
f476702ea7 accounts/usbwallet: support dynamic tx (#30180)
Adds support non-legacy transaction-signing using ledger

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-11-19 14:50:11 +01:00
jwasinger
25d0740f18 internal/ethapi: Set basefee for AccessList based on given block, not chain tip (#30538) 2024-11-19 14:50:11 +01:00
SangIlMo
a01688eb23 ethclient/gethclient: testcase for createAccessList, make tabledriven (#30194)
Adds testcase for createAccessList when user requested gasPrice is less than baseFee, also makes the tests tabledriven
---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-11-19 14:50:11 +01:00
Felix Lange
13413be184 ethclient: add RevertErrorData function and example (#30669)
Here I'm adding a new helper function that extracts the revert reason of
a contract call. Unfortunately, this aspect of the API is underspecified.
See these spec issues for more detail:

- https://github.com/ethereum/execution-apis/issues/232
- https://github.com/ethereum/execution-apis/issues/463
- https://github.com/ethereum/execution-apis/issues/523

The function added here only works with Geth-like servers that return
error code `3`. We will not be able to support all possible servers.
However, if there is a specific server implementation that makes it
possible to extract the same info, we could add it in the same function
as well.

---------

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2024-11-19 14:50:11 +01:00