Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
dff2890
hard fork: add state expiry hard forks;
0xbundler Feb 28, 2023
ad06cef
core/transaction: add revive state transaction; message support witne…
0xbundler Mar 29, 2023
6ae9ec7
trie: implement expire subtree by prefix
asyukii Mar 28, 2023
7b0530e
witness: add test to check proof with expired sister node
asyukii Mar 28, 2023
f05e43f
witness: decouple traverse nodes
asyukii Mar 28, 2023
b1322b0
witness: add MPTProof
asyukii Mar 29, 2023
0b9a12b
witness: generate storage proof
asyukii Mar 29, 2023
ce66824
witness: verify storage proof
asyukii Mar 29, 2023
2ea256b
witness: add test cases
asyukii Mar 29, 2023
7c94fa8
witness: add test cases
asyukii Mar 30, 2023
2925a0a
core/state: add ProveStorage to Trie interface
asyukii Mar 30, 2023
def43ee
trie: implement ProveStorage
asyukii Mar 30, 2023
c44da02
witness: convert key to hex inside function
asyukii Mar 30, 2023
1397d45
core/state: modify GetStorageProof
asyukii Mar 30, 2023
9d2bcaa
witness: remove MPTProof struct
asyukii Mar 30, 2023
ea96468
core/state: add GetStorageWitness() and revert GetStorageProof
asyukii Mar 30, 2023
1b14e57
refactor: rename function and parameter names
asyukii Mar 30, 2023
9fee384
core/transaction: add revive state gas computation;
0xbundler Mar 31, 2023
ce285c0
core/ReviveWitness: refactor witness definition, add verify witness;
0xbundler Apr 6, 2023
6319070
witness: MPT revive
asyukii Apr 12, 2023
b9a713c
implement MPT and shadow node
cryyl Apr 12, 2023
8e9e1a8
state/state_object: add dirty trie & pending trie;
0xbundler Apr 14, 2023
4d4a2a5
refactor(trie): update ReviveTrie to include cache mechanism
asyukii Apr 17, 2023
b7a3629
trie/shadow_node: add shadow node storage;
0xbundler Apr 18, 2023
2b40f3f
ci: add other develop ci trigger;
0xbundler Apr 19, 2023
1a64833
refactor(trie): track successful nubs for ReviveTrie
asyukii Apr 21, 2023
c67dbe7
StateDB: opt init with state epoch, add getState, setState error handle;
0xbundler Apr 20, 2023
1cf57da
trie: add proofNub resolve kv method, opt split partial witness rule;
0xbundler Apr 23, 2023
9c2297d
state expriy: implement of MPT read and write
cryyl Apr 18, 2023
27110c9
Merge pull request #91 from cryyl/state_expire_mpt
cryyl Apr 26, 2023
4dbdd67
feat(simulation): add EstimateGasReviveState
asyukii Apr 25, 2023
833a245
shadownode/difflayer: support shadow node diff layer & reorg;
0xbundler Apr 27, 2023
1b2cc78
shadownode/diff: opt lock, add more UTs;
0xbundler Apr 28, 2023
d41b1e1
rawdb: handle shadow node history & changeSet & plainState;
0xbundler May 5, 2023
3b9f70e
feat(RPC): add EstimateGasAndReviveState RPC method
asyukii Apr 27, 2023
9f844da
refactor(trie): modify ReviveTrie to include shadow logic
asyukii Apr 26, 2023
12b95d0
fix(trie): resolve insert error
asyukii May 6, 2023
dc1ebbe
trie/shadownode: support shadow node hash calculation;
0xbundler May 9, 2023
ed00116
trie: fix some epoch update bugs;
0xbundler May 10, 2023
c8145b3
state/statedb: opt state epoch check and logic;
0xbundler May 9, 2023
551b63d
state/statedb: opt some function naming;
0xbundler May 11, 2023
e8d9143
fix: add proof nil check
asyukii May 17, 2023
c797f85
state/database: fix reuse trie with shadow nodes bug;
0xbundler May 15, 2023
06b247d
signer: fix txpool, codec bug with new ReviveTx & BEP215Signer;
0xbundler May 17, 2023
a328169
feat(prune): inline prune expired nodes
asyukii May 16, 2023
a98d129
state/pruner: support expired snap kv prune;
0xbundler May 17, 2023
ce354d0
fix: add parent expired check for inline prune
asyukii May 18, 2023
ec4fcf4
logs: add some error logs;
0xbundler May 18, 2023
cba33ff
db/inspect: add inspect shadow nodes info;
0xbundler May 26, 2023
17d93b3
trie/trie: opt trie update epoch, using copy to avoid node sharing;
0xbundler May 29, 2023
6fb0a68
refactor(trie): rootNode implements node interface
asyukii May 25, 2023
b9d8408
fix(prune): storage trie now can be inline pruned
asyukii May 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
branches:
- master
- develop
- state_expiry_develop

pull_request:
branches:
- master
- develop
- state_expiry_develop

jobs:
unit-test:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
branches:
- master
- develop
- state_expiry_develop

pull_request:
branches:
- master
- develop
- state_expiry_develop

jobs:
commitlint:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
branches:
- master
- develop
- state_expiry_develop

pull_request:
branches:
- master
- develop
- state_expiry_develop

jobs:
truffle-test:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
branches:
- master
- develop
- state_expiry_develop

pull_request:
branches:
- master
- develop
- state_expiry_develop

jobs:
golang-lint:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
branches:
- master
- develop
- state_expiry_develop

pull_request:
branches:
- master
- develop
- state_expiry_develop

jobs:
unit-test:
Expand Down
Loading