Raneet Debnath
0f32302313
common,core,miner: fix goleaks,duplicate init and inconsistent mutex (un)locks
2023-07-13 11:23:20 +08:00
Raneet Debnath
60b85cf088
core,eth/tracers: fix TestPrestateWithDiffModeTracer
2023-07-06 15:51:52 +05:30
Jerry
46882e8247
Fix header encoding test
2023-07-05 13:22:45 -07:00
Shivam Sharma
a454c46c79
adding balance send to burntcontract back
2023-07-05 18:10:13 +05:30
Shivam Sharma
25be12715f
rm : multiple coinbase balance
2023-07-05 16:36:30 +05:30
Shivam Sharma
e2292bfc3e
fix : TestTxIndexer
2023-07-04 20:30:32 +05:30
Raneet Debnath
b605c3848e
core,eth: fix TestDeduplication, TestSyncAccountPerformance, TestTraceTransaction
2023-07-04 19:16:19 +05:30
Shivam Sharma
616e33f290
fix : TestBeaconSync66
2023-07-04 16:50:05 +05:30
Shivam Sharma
2ad1e0f7e9
fix : TestTransactionIndices, testBeaconSync
2023-07-04 13:41:04 +05:30
Raneet Debnath
2b06029fb8
core,eth,miner: fix initial test cases ( #922 )
2023-07-04 10:43:28 +05:30
Shivam Sharma
6d4e60045a
fix : freezer, TestStateProcessorErrors
2023-07-03 17:11:56 +05:30
Shivam Sharma
392bebdb05
fix : testcase : config, addTxWithChain, burnAmount
2023-06-26 14:07:31 +05:30
Shivam Sharma
64486d0a82
fix : runtime testcases
2023-06-26 12:54:08 +05:30
marcello33
43e114beda
dev: fix: tests failing due to t.Parallel
2023-06-21 15:03:16 +02:00
marcello33
ba61cfa2e1
dev: fix: t.Parallel called multiple times
2023-06-21 10:54:47 +02:00
marcello33
99693ef56c
dev: fix: all remaining lint issues
2023-06-19 11:39:59 +02:00
marcello33
f3ffacf2d7
dev: fix: most of wsl lint issues
2023-06-15 15:48:26 +02:00
marcello33
82f33b22f5
dev: fix: more errcheck lint issues
2023-06-15 15:31:07 +02:00
marcello33
6223765aab
dev: fix: more wsl lint issues
2023-06-15 15:10:57 +02:00
marcello33
131d7b221f
dev: fix: solve more lint issues
2023-06-15 14:54:08 +02:00
marcello33
218917076c
dev: fix: more wsl lint issues
2023-06-15 13:06:10 +02:00
marcello33
3af5e435c7
dev: fix: some wsl lint issues
2023-06-15 12:27:20 +02:00
marcello33
2c87219c80
dev: fix: bodyclose lint issues
2023-06-15 10:11:23 +02:00
marcello33
79ff0c17e1
dev: fix: error related lint issues
2023-06-14 17:21:52 +02:00
marcello33
6850ca4d2d
dev: fix: govet lint errors
2023-06-14 17:08:14 +02:00
marcello33
4307e68288
dev: fix: http related and nilnil lint errors
2023-06-14 16:58:04 +02:00
marcello33
631efbe675
dev: fix: thelper and tparallel lint
2023-06-14 16:29:26 +02:00
marcello33
df106e64df
dev: fix: CreateConsensusEngine for new ethereum objects
2023-06-13 15:11:08 +02:00
marcello33
dda0d1163f
dev: chg: solve some TODOs
2023-06-13 13:11:25 +02:00
marcello33
b5571e97fb
dev: chg: further fixes merging develop into upstream-merge
2023-06-13 13:01:18 +02:00
marcello33
8562597c6c
dev: chg: regression changes after develop is merged into upstream-merge
2023-06-13 12:50:48 +02:00
marcello33
1c106dc251
dev: add: merge develop in upstream-merge
2023-06-13 12:37:20 +02:00
marcello33
81c3f1e035
dev: chg: txpool_test regression changes after merge
2023-06-13 10:01:12 +02:00
Matthieu Vachon
891ec7fef6
Use big.Int#Set instead of big.Int#SetBytes when possible ( #896 )
...
There is no reason to make the bytes transformation and back to big int to assign a big int to another one.
The `Set` method should be used instead.
2023-06-13 12:02:57 +05:30
marcello33
d3f6da90e1
dev: chg: more regression changes for bor after merge
2023-06-12 19:35:40 +02:00
marcello33
162af07d38
dev: chg: regression changes for bor after merge
2023-06-12 16:46:03 +02:00
marcello33
a043ec6d62
dev: add: merge upstream
2023-06-09 14:34:30 +02:00
Jerry
f96c668baf
Disable reverted tx optimization in block-stm validation ( #891 )
...
A reverted transaction, X, can incorrectly write to a slot, which might be read by another transaction, Y. If we skip checking states written by X, then Y might end up with reading the wrong value and we won't be able to detect this error.
2023-06-06 21:36:36 -07:00
Jerry
3d30c341c4
Keep nonce and balance in write list even if the transaction is reverted ( #889 )
...
An address's nonce and balance will get updated even if its transaction is reverted. Therefore, we need to keep balance and nonce in write list in order to check the transaction's validity in parallel execution.
2023-06-05 22:10:48 -07:00
Jerry
f2c48fed0b
Remove dependency when a transaction is reverted
...
If a transaction is reverted, its write records should be excluded from
dependency calculation.
2023-05-11 09:09:33 -07:00
Pratik Patil
c39c66fb9c
Added check for circular and out-of-range dependency problem ( #841 )
...
* added check for circular and out-of-range dependency problem
* addressed comment
* addressed comments
2023-05-11 12:20:58 +05:30
Pratik Patil
adce0e8235
removed PSP comment
2023-05-10 10:33:43 +05:30
Jerry
193aee0063
Make block context sharable in parallel state processor
2023-05-04 11:36:55 -07:00
Jerry
badb574b25
Skip looking up interruptedTxCache if it is not initialized
2023-05-03 09:46:24 -07:00
Jerry
01dd019c5e
Fit linters
2023-05-01 21:33:33 -07:00
Jerry
82390264bc
Remove recover from settle
2023-05-01 15:32:20 -07:00
Jerry
a093c4e7df
Merge remote-tracking branch 'upstream/develop' into block-stm
2023-05-01 11:16:05 -07:00
SHIVAM SHARMA
acff69ac3e
core/vm, miner : Make commitInterrupt OPCODE level ( #794 )
...
* add : make commitInterrupt OPCODE level
* fix : build fix + lint
* fix : small fix
* chg : use context and add check on commitTransactions
* add : testCommitInterruptExperimentBorContract
* fix : minor fixes
* add : TestCommitInterruptExperimentBorContract working
* fix : lint and context.TODO() to context.Background()
* fix : lint
* fix : context cancel check
* add : metrics for tx/opcode level interrupts + comments
* add : interruptcommit flag
* fix : minor flag fix
* add : caching of interrupted tx
* add : minor improvements on cache
* fix : lint & added comments
* add : GetCurrentTxFromContext and SetCurrentTxOnContext
* fix : unstable testcases giving false negatives
* rm : remove parallelTest from CommitInterrupt Tests
* fix : small changes
* rm : remove t.Parallel() from TestGenerateBlockAndImport tests
* fix : commitInterrupt tests assertion changes
2023-05-01 16:38:35 +05:30
Jerry
f9171c4946
Add ParallelExecFailedError
...
Parallel execution can fail due to bad dependencies. In the case of bad
dependencies, the result of serial execution should be used.
2023-04-25 12:03:08 -07:00
Jerry
01fc7e3a53
Run serial and parallel processor at the same time
2023-04-24 21:48:41 -07:00