kamuikatsurgi
fc1d1fb01f
Merge develop
2025-02-11 10:22:01 +05:30
marcello33
44b94ca6d3
POS-2821: solve lint issues
2025-02-06 13:05:46 +01:00
kamuikatsurgi
2d2dbcc398
Merge develop branch
2025-01-31 10:21:37 +05:30
chloefeal
b42c28dd93
fix: some typos ( #1396 )
...
* 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>
* fix: typo
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
* fix: typo
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
* fix: typo
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
* fix: typo
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raneet Debnath <35629432+Raneet10@users.noreply.github.com>
2025-01-31 01:02:27 +05:30
Manav Darji
a2f545573c
miner: get rid of test_backend helper functions ( #1424 )
...
* initial work for removing tracing from worker
* fix more things
* miner: sync code with worker.go, remove traces
* fix lint
* miner, core: get rid of test_backend helper functions
* miner: handle delay during tests in block building
* fix lint
* miner: reset context to get rid of parent timeout context
* miner: refactor test
2025-01-30 23:07:58 +05:30
Manav Darji
8a1e0ec125
Enforce parallel evm via flag ( #1425 )
...
* (feat): implement --parallelevm.enforce to force using block-stm
* core: debug log
* docs: update docs with new flag
* update all config files
* core: modify chain import test to enforce parallel processing
2025-01-30 23:01:27 +05:30
Manav Darji
9da0432ec2
miner, consensus, core: remove tracing in mining workflow ( #1422 )
...
This PR removes open telemetry based tracing from the whole mining workflow. The tracing extended into consensus and core blockchain functions from miner is also removed in this PR. We weren't checking the tracing from a long time and the way it was implemented increased the code complexity a lot.
2025-01-30 22:27:03 +05:30
kamuikatsurgi
78513d75a3
Merge develop and remove commented code
2025-01-30 16:15:29 +05:30
Jerry
c038dd26ce
Remove redundant locks from txpool ( #1420 )
2025-01-28 08:49:30 -08:00
Manav Darji
3a3e619d4c
Merge pull request #1411 from maticnetwork/manav/indexer-graceful-shutdown
...
core/rawdb: prevent ungraceful shutdown in tx indexing
2025-01-24 16:12:26 +05:30
kamuikatsurgi
f09f89e1cb
make bor && make all successful
2025-01-22 15:36:07 +05:30
Jerry
99be105427
Make block execution timer more accurate
...
Block execution contains the time it takes to fetch state sync data from heimdall, which sometimes returns data with long latency (> 1s). When the latency is significant, the chain execution time will be affected and become inaccurate. This PR isolate the time of heimdall requests from block execution.
2025-01-15 14:39:44 -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
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
Manav Darji
ee5318b07b
core: validate chain before writing block ( #1319 )
2024-11-18 12:48:04 +05:30
Pratik Patil
9adec0290d
Merge pull request #1369 from maticnetwork/master
...
Backport master to develop (v1.5.2)
2024-10-30 21:27:24 +05:30
jj1980a
a106bd18f7
check block number and timestamp options when filtering conditional transactions
2024-10-11 10:17:57 -07:00
luozexuan
69470888fa
chore: fix function name
2024-10-10 20:48:48 +08:00
Jerry
48bdfa7ffb
Fix tx index limit not being used correctly
2024-10-09 07:59:21 -07:00
Jerry
af5c2b1cad
Merge remote-tracking branch 'upstream/master' into develop
2024-10-01 11:59:32 -07:00
Jerry
352fb8adfa
Fix txIndexer
2024-09-20 19:49:26 -07:00
Jerry
8e2afe5075
Fix mvhashmap test
2024-09-18 08:14:59 -07:00
Jerry
81efd63269
Quit early when read conflict is detected
2024-09-17 12:40:46 -07:00
Jerry
d9daacad17
Address goroutine leak
2024-09-12 15:56:33 -07:00
anshalshukla
a291fa7649
fix: lint
2024-09-12 15:25:44 +05:30
Jerry
f9f774f8a4
Fix fee conversion
2024-09-11 14:46:03 -07:00
marcello33
fc319f7bcb
chg: fix assertions in test
2024-09-10 17:50:34 +02:00
marcello33
18c7226d2e
chg: fix tests
2024-09-10 17:37:22 +02:00
marcello33
8c14f12d68
chg: solve conflicts
2024-09-10 15:32:42 +02:00
marcello33
4ef3f6e1d0
chg: test
2024-09-10 15:30:10 +02:00
marcello33
955eb3dfd7
chg: skip snap synced tests
2024-09-10 15:13:59 +02:00
Jerry
94ead5eb76
Add test for concurrent revert in MVHashmap ( #1326 )
...
* Add test for concurrent revert in MVHashmap
* Address CR comment
2024-09-06 10:30:34 -07:00
anshalshukla
a66305dae3
fix: lint, add: milestone related tests in downloader
2024-09-05 14:03:10 +05:30
anshalshukla
ef88b4dfce
fix: parallelise tests in core
2024-09-05 13:46:37 +05:30
anshalshukla
cec3ee18d8
fix: testcases
2024-09-03 16:21:20 +05:30
anshalshukla
43043ed7ec
fix: few linting errors
2024-09-02 11:00:33 +05:30
anshalshukla
fc30355849
fix: TestRPCGetTransactionReceiptsByBlock
2024-09-01 13:36:21 +05:30
anshalshukla
da49748cd2
fix: Eth2NewBlock, add: tip check in commit txn
2024-08-31 14:53:02 +05:30
anshalshukla
c0ff6dbf81
fix: testcases, add: block broadcasting mechanism
2024-08-30 14:43:02 +05:30
anshalshukla
68d8614b72
fix: tracers, add bor fee log in results
2024-08-26 17:25:47 +05:30
Jerry
a49d56fb65
Fix TestFilterTxConditional
...
Explicitly call state.Finalize in order to flush the writes to storage trie. Root cause was because finalise called within state object were removed by this commit: be3284373f
2024-08-21 08:53:21 -07:00
Pratik Patil
635dacc63e
PIP-30: increased max code size limit to 32KB ( #1310 )
...
* PIP-30: increased max code size limit to 32KB
* fixed tests
2024-08-20 09:02:48 +05:30
anshalshukla
687cd76405
fix: testcases
2024-08-19 18:07:05 +05:30
Jerry
a23701f2d4
Fix getStateObject in statedb when MVHashmap is enabled
...
getDeletedStateObject is renamed to getStateObject after a recent upstream merge. We should wrap the entire function call with MVRead.
2024-08-13 11:29:06 -07:00
anshalshukla
b1419eb41d
fix: testcases
2024-08-13 16:46:46 +05:30
anshalshukla
4a9a875738
merge: master
2024-08-13 11:48:57 +05:30
anshalshukla
5cda3fe0f0
fix: testcases
2024-08-13 11:39:52 +05:30
Pratik Patil
bd5ed4c2c3
Merge branch 'master' of https://github.com/maticnetwork/bor into 1.3.5-candidate
2024-08-12 10:21:34 +05:30