Commit graph

16283 commits

Author SHA1 Message Date
Shivam Sharma
8c088c7295 fix : resolve static problems 2023-12-15 13:57:19 +05:30
Shivam Sharma
a9fa325b7e Merge tag 'v1.13.5' of https://github.com/ethereum/go-ethereum into shivam/upstream-geth-1.13.5 2023-12-15 13:55:57 +05:30
Arpit Temani
abab36be3d
Merge pull request #1098 from maticnetwork/arpit/fix-shadowfork
allow unprotected txns
2023-12-06 10:46:55 +05:30
Arpit Temani
073d75c72f Merge branch 'arpit/fix-shadowfork' of github.com:maticnetwork/bor into arpit/fix-shadowfork 2023-12-03 17:17:30 +05:30
Arpit Temani
4e3e1de14c added log 2023-12-03 17:16:37 +05:30
Arpit Temani
968267957e
Update core/txpool/validation.go
Co-authored-by: Raneet Debnath <35629432+Raneet10@users.noreply.github.com>
2023-12-03 17:14:57 +05:30
Anshal Shukla
1065e21cce
consensus/bor: handle blockalloc balance changes (#1074)
* fix: set balance in blockalloc

* chg: don't update balance if not zero

* fix: lint

* fix logic, add test cases
2023-12-01 11:39:58 +05:30
Arpit Temani
91ff270cd9 allow unprotected txns 2023-11-30 15:35:46 +05:30
Arpit Temani
11969b0212
Merge pull request #1093 from maticnetwork/arpit/1.2.0
merge master into develop
2023-11-22 12:18:22 +05:30
Arpit Temani
47bffe9a2c update version 2023-11-22 11:43:26 +05:30
Arpit Temani
7006addb59 Merge tag 'v1.1.0' of github.com:maticnetwork/bor into arpit/1.2.0 2023-11-22 11:41:34 +05:30
Pratik Patil
923c192c7d
Added cache.blocklogs (FilterLogCacheSize) flag (#1083)
* added cache.blocklogs (FilterLogCacheSize) flag

* updated docs

* minor fix

Co-authored-by: Mael Regnery <mael@mqli.fr>

---------

Co-authored-by: Mael Regnery <mael@mqli.fr>
2023-11-20 10:18:11 +05:30
marcello33
d345879437
chg: bump deps for sec updates / reduce perceived severity of merge related log (#1082) 2023-11-16 11:23:31 +01:00
dependabot[bot]
368e08316c
build(deps): bump github.com/consensys/gnark-crypto (#1077)
Bumps [github.com/consensys/gnark-crypto](https://github.com/consensys/gnark-crypto) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/consensys/gnark-crypto/releases)
- [Changelog](https://github.com/Consensys/gnark-crypto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/consensys/gnark-crypto/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: github.com/consensys/gnark-crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: marcello33 <marcelloardizzone@hotmail.it>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-16 12:01:46 +05:30
Péter Szilágyi
916d6a441a params: release Geth v1.15.5 2023-11-14 15:02:24 +03:00
Delweng
f265cc24b4
cmd/geth: remove some whitespace in code and comments (#28148)
This changes just removes some whitespace
2023-11-10 13:26:13 +01:00
Marius Kjærstad
49b2c5f43c
build: upgrade -dlgo version to Go 1.21.4 (#28505) 2023-11-10 13:15:06 +01:00
Delweng
ce5a4809fd
ethclient: add empty/nonexist account testcase for eth_getProof RPC (#28482)
Adds testcases for eth_getProof endpoint for the following cases: 

- the account/contract does not exist
- the account/contract exists but is empty.
2023-11-10 12:23:09 +01:00
Wei Tang
2f4833b828
cmd/evm: allow state dump regardless if test passes in statetest (#28484)
This change makes it so that when executing state tess, state is always dumped out if the corresponding flag is set.
2023-11-10 12:21:51 +01:00
rjl493456442
326fa00759
core/rawdb: fsync the index file after each freezer write (#28483)
* core/rawdb: fsync the index and data file after each freezer write

* core/rawdb: fsync the data file in freezer after write
2023-11-10 12:56:39 +02:00
Arpit Temani
384383c1eb
Merge pull request #968 from maticnetwork/arpit/pos-1731
Geth Merge v1.12.2
2023-11-10 15:11:26 +05:30
Arpit Temani
3c97a5b7a0 Revert "aded blobpool related flags"
This reverts commit 15f0c41d2c.
2023-11-10 14:37:26 +05:30
Arpit Temani
9c1308818c make blobgas nil 2023-11-10 14:29:27 +05:30
Arpit Temani
073bb183da make blobgas nil 2023-11-10 14:22:14 +05:30
Delweng
e38b9f1830
eth/filters: exit early if topics-filter has more than 4 topics (#28494)
Currently, geth's will return `[]` for any `len(topics) > 4` log filter. The EVM only supports up to four logs, via LOG4 opcode, so larger criterias fail. This change makes the filter query exit early in those cases.
2023-11-10 08:10:03 +01:00
Arpit Temani
38c0431812 Merge branch 'arpit/pos-1731' of github.com:maticnetwork/bor into arpit/pos-1731 2023-11-09 22:18:56 +05:30
Arpit Temani
3be856ce7e remove blobpool 2023-11-09 22:16:38 +05:30
Pratik Patil
b889327a3a
Merge branch 'arpit/pos-1731' of https://github.com/maticnetwork/bor into arpit/pos-1731 2023-11-09 22:05:03 +05:30
Arpit Temani
bee537ab98 fix lint 2023-11-09 21:19:27 +05:30
Arpit Temani
cee2c221b2 disbale 4844 2023-11-09 20:43:18 +05:30
Arpit Temani
3d84c4d270 Merge branch 'arpit/pos-1731' of github.com:maticnetwork/bor into arpit/pos-1731 2023-11-09 20:19:14 +05:30
Jim McDonald
f7dde2a96c
ethdb/pebble: add Errorf function to panicLogger (#28491)
cockroachdb/pebble@422dce9 added Errorf to the Logger interface, this change makes it possible to compile geth with that version of pebble by adding the corresponding method to panicLogger.
2023-11-09 15:15:22 +01:00
Arpit Temani
cf18eccee6
Merge pull request #1079 from maticnetwork/v1.1.0-beta-candidate
merge V1.1.0-beta-candidate to master
2023-11-09 18:25:01 +05:30
Arpit Temani
3106cb143b Revert "change withdrawals hash"
This reverts commit cd5a7d3391.
2023-11-09 18:09:39 +05:30
Shivam Sharma
654d269dd7 bump : version to v1.1.0 stable 2023-11-09 17:26:16 +05:30
Shivam Sharma
5b5ea8cf37 add : mainnet Agra block 2023-11-09 17:25:05 +05:30
Arpit Temani
cd5a7d3391 change withdrawals hash 2023-11-09 16:36:21 +05:30
Martin Holst Swende
b77a9b127c
cmd/geth: more testcases for logging (#28501)
* cmd/geth: more testcases for logging

This adds more edgecases around logging, particularly around handling of different types of nil-values
as concrete types and within interfaces.

Also adds tests with 'reserved' values which breaks json/logfmt formats. The json output is checked in,
but not actively used by any testcase at the moment.

* cmd/geth/testdata: remove timestamps
2023-11-09 10:46:48 +01:00
Pratik Patil
15f0c41d2c
aded blobpool related flags 2023-11-09 15:04:28 +05:30
Delweng
7ea860d665
graphql: type of yParity from Long to BigInt (#28456)
Signed-off-by: jsvisa <delweng@gmail.com>
2023-11-09 11:36:27 +03:00
Manav Darji
c66862aa09
Merge pull request #1062 from maticnetwork/v1.1.0-beta-candidate
Merge v1.1.0 changes to master
2023-11-09 12:31:49 +05:30
Pratik Patil
368ae246fd
added p2p v4 discovery flag wrt geth v1.12.2 merge 2023-11-08 17:44:35 +05:30
Pratik Patil
6aed36d9d1
removed --cache.trie.journal and --cache.trie.rejournal wrt geth v1.12.2 merge 2023-11-08 17:11:54 +05:30
Pratik Patil
ae99b47a7c
update config.toml with correct db.engine flag 2023-11-08 17:07:30 +05:30
Pratik Patil
aa604a6744
added conditional transaction filtering in legacypool 2023-11-08 16:23:43 +05:30
Péter Szilágyi
470dba8fc1
core/vm: set basefee to 0 internally on eth_call (#28470)
* core/vm: set basefee to 0 internally on eth_call

* core: nicer 0-basefee, make it work for blob fees too

* internal/ethapi: make tests a bit more complex

* core: fix blob fee checker

* core: make code a bit more readable

* core: fix some test error strings

* core/vm: Get rid of weird comment

* core: dict wrong typo
2023-11-08 11:22:08 +02:00
Marius van der Wijden
4d9f3cd5d7
eth: set networkID to chainID by default (#28250)
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-11-07 14:21:46 +01:00
Delweng
f20b334f21
eth/filters: eth_getLogs fast exit for invalid block range (#28386) 2023-11-07 12:41:19 +01:00
Péter Szilágyi
97ae32441e
travis: use newer builder image (#28475) 2023-11-07 13:00:31 +02:00
Péter Szilágyi
51b5ad3da3
.travis: enable cross building to macos arm64 (#28474)
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-11-07 11:35:03 +01:00