-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rebase #8
base: develop
Are you sure you want to change the base?
rebase #8
Commits on Sep 25, 2024
-
Feat: Parallel Transaction Execution Implementation
This PR implement the Parallel EVM engine Co-authored-by: setunapo Co-authored-by: sunny2022da Co-authored-by: galaio Co-authored-by: andyzhang2023
Configuration menu - View commit details
-
Copy full SHA for ecaef53 - Browse repository at this point
Copy the full SHA ecaef53View commit details -
Fix: fix incorrectly set origin storage.
Fix an issue of incorrectly set the origin storage at parallel stateDB's GetState(). Remove this code because it is already solved by lightCopy PR: #2
Configuration menu - View commit details
-
Copy full SHA for 247f63c - Browse repository at this point
Copy the full SHA 247f63cView commit details -
rwset: support collect rwset from statedb; mvstates: support export DAG; dag: support travel all execution paths; dag: refactor versioned TxDAG; dag: support profile parallel execution path; protocol: support to transfer TxDAG in NewBLock msg; PR: #4
Configuration menu - View commit details
-
Copy full SHA for dedf04e - Browse repository at this point
Copy the full SHA dedf04eView commit details -
fix several UT with racing issues (#5)
* fix several UT with racing issues * fix incorrect nonce balance codehash issue case: TestEIP1559 / TestDeleteThenCreate * Fix ExecutionSpec tests mainly root caused by balance not updated to dirty correctly. also fix similar issue with nonce and codehash. * fix TestBlockChain testcase issue TestBlockchain/ValidBlocks/bcStateTests/refundReset.json Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f9be14 - Browse repository at this point
Copy the full SHA 0f9be14View commit details -
TxDAG: support PEVM static dispatch; (#6)
* dag: add merge execute path method; pevm: support dispatch with TxDAG; * dag: add merge execute path method; pevm: support dispatch with TxDAG; * dag: clean code; * statedb: fix some broken uts; * pevm: support disable slot steal; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2517b3 - Browse repository at this point
Copy the full SHA e2517b3View commit details -
fix UT test and contention issue (#7)
* fix several UT with racing issues * fix incorrect nonce balance codehash issue case: TestEIP1559 / TestDeleteThenCreate * Fix ExecutionSpec tests mainly root caused by balance not updated to dirty correctly. also fix similar issue with nonce and codehash. * fix TestBlockChain testcase issue TestBlockchain/ValidBlocks/bcStateTests/refundReset.json * fix concurrent racing issue of state.accounts. fix incorrect use of s.accountStorageParallelLock, it is designed to be used for dirty/pending/original storages, not the accounts and storages. Use statedb.AccountMux and statedb.StorageMux for accounts/storages lock. * fix issue of DAOTransactions handle the issue of updateObject of mainDB object touched by DAO transaction. --------- Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3edc53 - Browse repository at this point
Copy the full SHA d3edc53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74e2c96 - Browse repository at this point
Copy the full SHA 74e2c96View commit details -
Fix: avoid update the stateObjects at conflict check phase
There can be a issue that the object updated by mainDB.GetNonce etc is obseleted. The fix use statedb.getStateObjectNoUpdate to avoid touching the stateObjects of mainDB. Case: TestBlockchain/ValidBlocks/bcEIP1559/intrinsic.json
Configuration menu - View commit details
-
Copy full SHA for 1e09e32 - Browse repository at this point
Copy the full SHA 1e09e32View commit details -
TxDAG: support TxDAG transfer, it can be used in QA performance testi…
…ng; (bnb-chain#10) * txdag: support txdag transfer in extra; * txdag: support txdag transfer in extra; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c9e42c - Browse repository at this point
Copy the full SHA 2c9e42cView commit details -
txdag: support write & read TxDAG from file; (#9)
txdag: record txdag metrics; txdag: opt txdag flag name; Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 732090a - Browse repository at this point
Copy the full SHA 732090aView commit details -
FIX: redundancy execution and incorrect merge of dirty object (bnb-ch…
…ain#12) Fix 3 issues: - re-execution happens only to new version of baseDB to remove redundancy execution. And remove the retry with same baseIndex that is conflicted. - incorrect merge dirty objects in addrStateChangeInSlot, which cause incorrect data.root copied with obseleted stateDB, this fix handle the created, stateChanged and deleted object separately. - stateObject.GetCommitedState check mainDB of the object delete. Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ada5f62 - Browse repository at this point
Copy the full SHA ada5f62View commit details -
pevm: support delay gas fee calculation & Uts; (bnb-chain#11)
* pevm: support delay gas fee calculation; txdag: check gas fee receiver; tests: support PEVM+TxDAG UTs; * txdag: skip some cost time operation; tests: fix some broken UTs; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b51dcc - Browse repository at this point
Copy the full SHA 6b51dccView commit details -
FIX: issue in fixUpOriginAndResetPendingStorage (bnb-chain#14)
The originStorage will miss some loading in txn execution,do merge rather than simple copy This fix also use stateObject specific lock for storage update, rather than the one in stateDB. Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23d66cc - Browse repository at this point
Copy the full SHA 23d66ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f213c5 - Browse repository at this point
Copy the full SHA 4f213c5View commit details -
txdag: remove legacy TxDAG transfer logic; (bnb-chain#16)
Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a48f502 - Browse repository at this point
Copy the full SHA a48f502View commit details -
txdag: opt txdag logic & clean todos; (bnb-chain#17)
txdag: opt rw record flag; txdag: opt some logic; Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 947370f - Browse repository at this point
Copy the full SHA 947370fView commit details -
refine lock and fix racying issue (bnb-chain#18)
Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5963131 - Browse repository at this point
Copy the full SHA 5963131View commit details -
txdag: opt TxDAG rwset collecting & generating; (bnb-chain#19)
* txdag: opt some logic; txdag: opt rw set collect logic; * pevm: opt logs; * txdag: opt txdag encoding, reduce rlp size; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea8d9ad - Browse repository at this point
Copy the full SHA ea8d9adView commit details -
contention issue fix (bnb-chain#21)
* remove finalise * fix: update maindb txIndex after merge slotDB otherwise there can be issue that txIndex is load before the change in mergeSlotDB. * Fix: avoid update mainDB nonce in executeInSlot It should use slotDB, otherwise it cause the stateObjects change in mainDB, which cause racing issue. * Fix: remove stateDB update during conflict check stateDB.getState() will update the stateDB's stateObjects, which should not be updated for the purpose of state read for conflict check. --------- Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eaf7405 - Browse repository at this point
Copy the full SHA eaf7405View commit details -
txdag: support multi flags, and supported in pevm; (bnb-chain#22)
* txdag: add excluded flag; mvstates: generate txdag with excluded flag; * pevm: support txdag with excluded tx; * blockchain: opt txdag file mode; * pevm: fix dispatch bugs; * pevm: opt txdag dispatch; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92b02c9 - Browse repository at this point
Copy the full SHA 92b02c9View commit details -
pevm: opt slot trigger mechanism; (bnb-chain#24)
* pevm: opt slot trigger mechanism; * txdag: opt execute stat; * pevm: opt slot trigger mechanism; * txdag: add txdag more validation logic; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfff8f8 - Browse repository at this point
Copy the full SHA bfff8f8View commit details -
fix addBalance for delayGasFee (bnb-chain#25)
Make the change into the merged mainDB instead of slotDB to avoid the concurrency issue Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec799b0 - Browse repository at this point
Copy the full SHA ec799b0View commit details -
txdag: opt read txdag file and validation logic; (bnb-chain#26)
* txdag: support new txdep resolve method; pevm: avoid read txdag file when generating; * pevm: support read txdag file in const size; * txdag: reduce mem alloc and async resolve tx dependency; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c41ce4 - Browse repository at this point
Copy the full SHA 4c41ce4View commit details -
pevm: opt read large txdag logic and add conflict metrics; (bnb-chain#29
) * pevm: add some parallel tx metrics; * pevm: opt read large txdag logic; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 879bf45 - Browse repository at this point
Copy the full SHA 879bf45View commit details -
Configuration menu - View commit details
-
Copy full SHA for f111c50 - Browse repository at this point
Copy the full SHA f111c50View commit details -
feat: avoid parallel process for block with few txs
This change enable parallel execution when txs count > parallelTxNum/2 + 2, with lower bound as 4, as the parallel execution is slower than serial execution with single thread.
Configuration menu - View commit details
-
Copy full SHA for 6a205be - Browse repository at this point
Copy the full SHA 6a205beView commit details -
fix: avoid rewrite readsCache in slotDB
This change avoid the rewrite of reads cache in slotDB.
Configuration menu - View commit details
-
Copy full SHA for 2f99b82 - Browse repository at this point
Copy the full SHA 2f99b82View commit details -
Fix: incorrect GetState of obsoleted data caused by createObject
This change fix the issue that prevDestruct is not recorded correctly and the stateObjectDestruct is not recorded in slotDB's createObject. The incorrect record causes the GetState get obsoleted state as the stateObjectDestruct is not correct.
Configuration menu - View commit details
-
Copy full SHA for 6117f5e - Browse repository at this point
Copy the full SHA 6117f5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 828901f - Browse repository at this point
Copy the full SHA 828901fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e774f15 - Browse repository at this point
Copy the full SHA e774f15View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcc558c - Browse repository at this point
Copy the full SHA fcc558cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f38a91e - Browse repository at this point
Copy the full SHA f38a91eView commit details -
* txDAG transfer * set flag of txDAG transaction to 'no dependency' * encode/decode txDAG data with ABI * set enable flag for txdag * set txDAG receiver to a special address * remove invalid flags --------- Co-authored-by: andyzhang2023 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b0cf58 - Browse repository at this point
Copy the full SHA 3b0cf58View commit details -
txdag: using pending writes to accelerate txdag generation, add more …
…bench tests; (bnb-chain#30) * mvstate: using pending writes to accelerate txdag generation; * txdag: test snappy compress ratio; * txdag: add more bench tests; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c0427b - Browse repository at this point
Copy the full SHA 6c0427bView commit details -
feat: code cleanup (bnb-chain#23)
This PR refine and clean up the code of PEVM Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f614341 - Browse repository at this point
Copy the full SHA f614341View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b29585 - Browse repository at this point
Copy the full SHA 4b29585View commit details -
fix ut of txDAG (bnb-chain#32)
Co-authored-by: andyzhang2023 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ecd5463 - Browse repository at this point
Copy the full SHA ecd5463View commit details -
txdag: support reset txdag reader when SetHead; (bnb-chain#31)
* txdag: support reset txdag reader when SetHead; * txdag: clean some useless logs; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6583c8 - Browse repository at this point
Copy the full SHA a6583c8View commit details -
txdag: fix system tx finalise issue; (bnb-chain#33)
* txdag: fix system tx finalise issue; * txdag: fix system tx finalise issue; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a1c2d6 - Browse repository at this point
Copy the full SHA 0a1c2d6View commit details -
fix: refine the log level of PEVM (bnb-chain#34)
Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 79fdce7 - Browse repository at this point
Copy the full SHA 79fdce7View commit details -
mvstates: fix async dep gen deadlock issue & opt mining txdag generat…
…ion; (bnb-chain#35) * mvstates: fix async dep gen deadlock issue; miner: support record sysytem tx rwset; * miner: opt txdag enable checking; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52ce0e9 - Browse repository at this point
Copy the full SHA 52ce0e9View commit details -
fix parallel Num (bnb-chain#36)
* refine log to use debug for conflict detail * fix: adjust parallelNum to use CpuNum-1 by default --------- Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 737ed16 - Browse repository at this point
Copy the full SHA 737ed16View commit details -
fix: remove unnecessary locks for stateobjects (bnb-chain#37)
Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for febc88e - Browse repository at this point
Copy the full SHA febc88eView commit details -
mvstates: opt async dep generation; (bnb-chain#38)
mvstates: opt resolve dep logic; Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 34012e1 - Browse repository at this point
Copy the full SHA 34012e1View commit details -
mvstates: fix oom issue when mining is enabled; (bnb-chain#40)
Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a40629 - Browse repository at this point
Copy the full SHA 1a40629View commit details -
reduce overhead of slotDB initialize (bnb-chain#39)
* fix: use slotdb pool * fix UT of parallel slotDB --------- Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5cc9ca - Browse repository at this point
Copy the full SHA f5cc9caView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb8203e - Browse repository at this point
Copy the full SHA fb8203eView commit details -
Fix: contention issue of Trie for PEVM (bnb-chain#41)
Co-authored-by: Sunny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c9bdca - Browse repository at this point
Copy the full SHA 9c9bdcaView commit details -
worker: fix TxDAG generation issues when mining block; (bnb-chain#43)
* blockchain: avoid enable txdag generation when pevm is enabled; mvstates: add timeout timer for async loop; worker: change append TxDAG position; worker: fix append TxDAG missing issue; * blockchain: opt mining txdag generation logic; --------- Co-authored-by: galaio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c96af03 - Browse repository at this point
Copy the full SHA c96af03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87987cc - Browse repository at this point
Copy the full SHA 87987ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 061cd9b - Browse repository at this point
Copy the full SHA 061cd9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2768aea - Browse repository at this point
Copy the full SHA 2768aeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8571571 - Browse repository at this point
Copy the full SHA 8571571View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb2630c - Browse repository at this point
Copy the full SHA fb2630cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c97b6c1 - Browse repository at this point
Copy the full SHA c97b6c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d3658 - Browse repository at this point
Copy the full SHA 94d3658View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72b27f4 - Browse repository at this point
Copy the full SHA 72b27f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d300ab8 - Browse repository at this point
Copy the full SHA d300ab8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d6273f - Browse repository at this point
Copy the full SHA 4d6273fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea1140 - Browse repository at this point
Copy the full SHA 8ea1140View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c5eda5 - Browse repository at this point
Copy the full SHA 3c5eda5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc50e31 - Browse repository at this point
Copy the full SHA fc50e31View commit details -
Configuration menu - View commit details
-
Copy full SHA for db146bc - Browse repository at this point
Copy the full SHA db146bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d03c218 - Browse repository at this point
Copy the full SHA d03c218View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8f5dc4 - Browse repository at this point
Copy the full SHA f8f5dc4View commit details
Commits on Sep 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8c429ad - Browse repository at this point
Copy the full SHA 8c429adView commit details
Commits on Sep 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c8b6a41 - Browse repository at this point
Copy the full SHA c8b6a41View commit details -
Configuration menu - View commit details
-
Copy full SHA for e66ad25 - Browse repository at this point
Copy the full SHA e66ad25View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba207bc - Browse repository at this point
Copy the full SHA ba207bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54dd5ad - Browse repository at this point
Copy the full SHA 54dd5adView commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 536d5d9 - Browse repository at this point
Copy the full SHA 536d5d9View commit details
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1ffacc6 - Browse repository at this point
Copy the full SHA 1ffacc6View commit details