Commit graph

1118 commits

Author SHA1 Message Date
Lucca Martins
fc2198bedd
Merge tag 'v1.14.10' into lmartins/upstream_merge_v1.14.10 2025-02-04 07:41:07 -03:00
kamuikatsurgi
f09f89e1cb
make bor && make all successful 2025-01-22 15:36:07 +05:30
Lucca Martins
b0bba24d7c removed blob tx tests 2025-01-14 04:08:07 -03:00
Lucca Martins
31e7d4a4ed proper error handling for not found scenarios 2025-01-13 07:26:21 -03:00
Lucca Martins
3582958cc0 eth_getTransactionByBlockHashAndIndex tests and fix on parallel tests 2025-01-12 19:03:19 -03:00
Lucca Martins
5646ee6258 getAllBlockTransactionsTest 2025-01-12 18:30:00 -03:00
Lucca Martins
a345d6c95c GetBlockReceipts test 2025-01-12 17:05:00 -03:00
Lucca Martins
828fc00b6f GetTransactionByHash tests and rawdb call replacement 2025-01-12 09:44:47 -03:00
Lucca Martins
41134d0473 state sync tests on rpc methods 2025-01-12 04:07:25 -03:00
Angel Valkov
7ed0bae0ec
Additional GRPC API checks 2025-01-08 12:12:52 +02: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
marcello33
10d9594b52
chg: try blocks hex ecnoding 2024-11-14 07:19:13 +01:00
marcello33
0634d11d86
cgh: use geth for maxInt 2024-11-13 15:01:55 +01:00
marcello33
32138d70ad
cgh: fix possible out of range on blockNumber 2024-11-13 14:58:18 +01:00
marcello33
baa8a2bb63
cgh: fix rpc blockNumber and bash warnings 2024-11-13 14:45:41 +01:00
marcello33
927db07fc4
chg: switch blockNumber 2024-11-13 14:04:19 +01:00
marcello33
9cb6fcac0b
chg: handle edge cases with string blockNumber 2024-11-13 11:33:02 +01:00
marcello33
7a854127dc
fix: lint 2024-11-08 18:40:26 +01:00
marcello33
2af775c1f8
fix: build 2024-11-08 18:25:39 +01:00
marcello33
422122815c
add: deps 2024-11-08 18:16:23 +01:00
marcello33
8c960fd08a
Merge branch 'develop' of https://github.com/maticnetwork/bor into bor-grpc 2024-11-08 18:13:04 +01:00
marcello33
e21905701d
chg: sort imports 2024-11-08 17:46:55 +01:00
marcello33
10f5303fac
chg: remove redundant logs 2024-11-08 17:37:48 +01:00
marcello33
af939db84b
chg: logs 2024-11-08 16:22:50 +01:00
marcello33
af5c3275b2
chg: fix functions' names 2024-11-08 12:05:03 +01:00
marcello33
5d0d4fbbc5
chg: register reflection for grpc server 2024-11-08 11:31:11 +01:00
marcello33
7b4666df92
add: logs 2024-11-07 14:14:19 +01:00
Jerry
ab66e61737
Fix getBlockTransactionCountByNumber/Hash (#1365) 2024-10-29 11:45:56 -07:00
Jerry
19ab4720ae Add flag discovery.dns 2024-10-15 11:04:42 -07:00
Jerry
57a7f7fd6f Fix eth_getTransactionReceipt 2024-10-15 11:04:42 -07:00
Jerry
3b9f73ab69
Fix bor tx missing 2024-10-09 09:36:06 -07:00
Jerry
a7578a3cea Fix panic on getting safe block
Since bor doesn't have "safe" block, the api should always return null when requested safe block.
2024-10-09 07:59:21 -07:00
marcello33
63dd8d6315
fix: lint 2024-10-07 07:50:23 +02:00
marcello33
8185d48f71
internal/cli: add: prometheus sever timeouts 2024-10-07 07:40:19 +02:00
Jerry
af5c2b1cad
Merge remote-tracking branch 'upstream/master' into develop 2024-10-01 11:59:32 -07:00
Sina M
f2e13c7e33
internal/ethapi: fix gascap 0 for eth_simulateV1 (#30496)
Similar to #30474.
2024-09-24 13:14:38 +02:00
jwasinger
564b616163
internal/ethapi/api: for simulated calls, set gaspool to max value if global gascap is 0 (#30474)
In #27720, we introduced RPC global gas cap. A value of `0` means an unlimited gas cap. However, this was not the case for simulated calls. This PR fixes the behaviour.
2024-09-23 13:31:56 +02:00
Håvard Anda Estensen
4c4f21293e
internal: run tests in parallel (#30381)
Continuation of https://github.com/ethereum/go-ethereum/pull/28546
2024-09-16 08:44:47 +02:00
Pratik Patil
95c051215d
AMOY SPECIFIC (updated WMATIC code) 2024-09-13 21:07:37 +05:30
Pratik Patil
625e943fab
added Ahmedabad HF related configs and block number for mainnet 2024-09-13 10:16:40 +05:30
marcello33
8c14f12d68
chg: solve conflicts 2024-09-10 15:32:42 +02:00
Sina M
8f4fac7b86
internal/ethapi: eth_multicall (#27720)
This is a successor PR to #25743. This PR is based on a new iteration of
the spec: https://github.com/ethereum/execution-apis/pull/484.

`eth_multicall` takes in a list of blocks, each optionally overriding
fields like number, timestamp, etc. of a base block. Each block can
include calls. At each block users can override the state. There are
extra features, such as:

- Include ether transfers as part of the logs
- Overriding precompile codes with evm bytecode
- Redirecting accounts to another address

## Breaking changes

This PR includes the following breaking changes:

- Block override fields of eth_call and debug_traceCall have had the
following fields renamed
  - `coinbase` -> `feeRecipient`
  - `random` -> `prevRandao`
  - `baseFee` -> `baseFeePerGas`

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-09-06 11:31:00 +02:00
Pratik Patil
79fd5cad70
added Ahmedabad HF related configs and block number for amoy (#1324) 2024-09-05 21:11:59 +05:30
Manav Darji
8262eae9e3
consensus/bor: use CallWithState to fetch last state id (#1323)
* consensus/bor: use CallWithState to fetch last state id

* fix
2024-09-05 21:11:44 +05:30
anshalshukla
a66305dae3
fix: lint, add: milestone related tests in downloader 2024-09-05 14:03:10 +05:30
Marius van der Wijden
b0b67be0a2
all: remove forkchoicer and reorgNeeded (#29179)
This PR changes how sidechains are handled. 

Before the merge, it was possible to import a chain with lower td and not set it as canonical. After the merge, we expect every chain that we get via InsertChain to be canonical. Non-canonical blocks can still be inserted
with InsertBlockWIthoutSetHead.

If during the InsertChain, the existing chain is not canonical anymore, we mark it as a sidechain and send the SideChainEvents normally.
2024-09-04 15:03:06 +02:00
lightclient
dfd33c7792
all: implement EIP-6110, execution layer triggered deposits (#29431)
This PR implements EIP-6110: Supply validator deposits on chain. It also sketches
out the base for Prague in the engine API types.
2024-09-04 14:33:51 +02:00
anshalshukla
3cb949f674
fix: avoid capping warnings for gas set by internal system transactions 2024-09-04 13:12:14 +05:30
anshalshukla
693d8aebcd
skip: testcase 2024-09-04 10:52:11 +05:30
anshalshukla
43043ed7ec
fix: few linting errors 2024-09-02 11:00:33 +05:30