-
Notifications
You must be signed in to change notification settings - Fork 84
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
feat: Optimism Derivation Proof Composition #69
Merged
Merged
Changes from 114 commits
Commits
Show all changes
130 commits
Select commit
Hold shift + click to select a range
7b08224
transactions module
hashcashier 07c0335
TxEssence trait
hashcashier ff74eeb
Generic Transaction struct
hashcashier 7fd240c
tx essence as a generic parameter
hashcashier cb1b7d5
OptimismTxEssence
hashcashier a3d826b
op chain spec
hashcashier c27cfcf
OpTxExecStrategy
hashcashier 133e881
Merge branch 'main' of github.com:risc0/zeth into rkhalil/op
hashcashier b261dbf
redundant block builder type params
hashcashier 3dc1629
strategy bundles
hashcashier ca30106
host binary parameters
hashcashier 7e5ce52
profiling flag
hashcashier b267f3f
optimism
hashcashier 16db242
new derivation binary skeleton, copy over libs
hashcashier dc4a251
providers and conversion utils
hashcashier 2fa1919
epoch transitioning
hashcashier 2ca612d
basic derive flow
hashcashier 2482e7d
host-side derivation
hashcashier b67f8ba
read metadata from op head
hashcashier c8fdfb3
op-derive guest
hashcashier 2b1df5c
disable guest memory leaks
hashcashier 25b97c0
heapless batch derivation
hashcashier 4839400
Merge branch 'main' of github.com:risc0/zeth into rkhalil/op-derive
hashcashier 912786d
Pull from main
intoverflow f2c8076
Merge with main
intoverflow dd471d5
Add missing import
intoverflow 187cebc
Remove heapless BinaryHeap
intoverflow 33df195
Remove heapless
intoverflow 4805a4b
Merge from main
intoverflow 83f482d
Merge branch 'rkhalil/op-derive' of github.com:risc0/zeth into tcarst…
intoverflow 5f958a7
Introduce op-derive tool
intoverflow a479a33
Remove ethers types from BatcherDb trait
intoverflow 531a5e3
Verify new op block has correct transaction list
intoverflow 1f94958
Move derive logic into library
intoverflow 5aeb237
Fix bug in transaction trie reconstruction
intoverflow 3842e72
Introduce get_op_header() to BatcherDb
intoverflow c6c02a2
Merge with main
intoverflow 973c451
Clippy warning
intoverflow 41d88a7
Default Serde value for FileProvider::receipts
intoverflow 4a90227
Disable bloom filter checks
intoverflow 7aa11fd
Clippy
intoverflow b541602
Clippy
intoverflow 151b4e8
Fix parsing of from and to fields for deposits
intoverflow 782c1ab
Merge branch 'main' of github.com:risc0/zeth into tcarstens/op-derive
intoverflow 394f5ea
Reintroduce filtering by log bloom
intoverflow 13254a9
Merge branch 'main' of github.com:risc0/zeth into tcarstens/op-derive
hashcashier 8516a7d
fmt
hashcashier 76402a3
Add support for local exec to op-derive
intoverflow a7cc496
Enforce block_number is correct in MemDb
intoverflow 6a5435b
Split derive() into multiple functions
intoverflow 7fbcce1
Remove redundant check for batch parent hash
intoverflow 1e9441e
Remove redundant copy of system config
intoverflow fc696d2
Remove redundant block number check
intoverflow d9573ca
Cleanup
intoverflow a8748f6
Remove redundant vector of eth blocks
intoverflow 65d04d8
Add base_fee_per_gas to Epoch
intoverflow 1591bf1
Store deposits in Epoch
intoverflow b9a5eb6
Add Eth tail to DeriveOutput
intoverflow b843875
Cleanup
intoverflow 7ed041f
Move deque_next_epoch_if_none to State
intoverflow 944e6b0
Move eth block processing to Batches
intoverflow fe1c95e
Pull from main
intoverflow ab6aa20
update zkvm, basic guest
hashcashier e38c1f1
more compose guest code, comment bonsai code
hashcashier f571159
untested composition draft guest code
hashcashier f24a477
Reorg and cleanup
intoverflow f25b30e
More cleanup
intoverflow 76c98f6
run cargo fmt --all
Wollac f633fe0
fix clippy warnings
Wollac e2badf2
Merge branch 'main' into tcarstens/op-derive
Wollac a480a14
remove unused imports
Wollac a33f842
basic prep/left/fin in-memory flow
hashcashier 5540c1e
in memory aggregation workflow
hashcashier 6d7364c
format guest code
Wollac acd5573
composition with receipts
hashcashier 14ffa70
Merge branch 'tcarstens/op-derive' of github.com:risc0/zeth into rkha…
hashcashier 1538b26
add op-derive cmd test
Wollac 0e08feb
add cmd tests
Wollac 0cbb413
cleanup optimism/mod
Wollac 2b0ada8
Rename command line args
intoverflow 3b166b5
Fix test arguments
intoverflow bc1ec04
Rename config field to max_channel_bank_size
intoverflow 2ab54b2
Enforce decompression limit of MAX_RLP_BYTES_PER_CHANNEL
intoverflow 2d007dd
Use constant OPTIMISM_DEPOSITED_TX_TYPE when checking batch validity
intoverflow c81dd60
Import from std instead of alloc/core
intoverflow 2f6a865
Re-enable core::mem::forget() optimization
intoverflow 707b89b
Replace asserts with ensures; enforce absence of receipts for Op blocks
intoverflow 098d82d
Simplfy iteration through derived transactions
intoverflow dae216a
Add Bonsai support to op-derive. Also add Bonsai session status to ou…
intoverflow 040aa3a
More println
intoverflow 2fd7c89
Rework Batcher initialization
intoverflow a08b13d
More logging
intoverflow 2b7186a
More log output if Bonsai workflow fails
intoverflow cb2ddcb
Merge branch 'tcarstens/op-derive' of github.com:risc0/zeth into rkha…
hashcashier 3435c2a
Merge branch 'main' of github.com:risc0/zeth into rkhalil/op-compose
hashcashier 0240472
refactor rpc db
hashcashier 7de2483
variable derive step support
hashcashier 64240f2
re-enable profiling
hashcashier 3b314ab
ignore rpc_cache dir
hashcashier 8595dda
add -profile support to compose binary
hashcashier facbd33
upgrade zkvm, modify code comments
hashcashier 83e1d8f
Merge branch 'main' of github.com:risc0/zeth into rkhalil/op-compose
hashcashier 7c2470a
Merge branch 'main' of github.com:risc0/zeth into rkhalil/op-compose
hashcashier 93d0e0b
bump zkvm, fix CI
hashcashier 8b036ef
clippies
hashcashier ce5aac1
fixes and changes
hashcashier 9eb70d9
vs code change
hashcashier 5422ad5
disambiguate merkle ranges and proofs
hashcashier ecd68ff
Merge branch 'main' of github.com:risc0/zeth into rkhalil/op-compose
hashcashier 4c18859
Merge branch 'main' of github.com:risc0/zeth into rkhalil/op-compose
hashcashier da933fe
update risc0 to release v0.20
hashcashier 563c5bf
update GH action to 0.20
Wollac 8349be3
use old actions
Wollac d5efdc1
changes
hashcashier d2ab2f6
refactor: Unified zeth utility (#72)
hashcashier 9a58965
cleanup toml files
Wollac 573a2a1
remove unused imports
Wollac 1358376
cli cleanup
Wollac 1147152
change block count to u32
Wollac 6bf0eee
test composition
Wollac 90b5ea0
fix arguments
Wollac 4e8640f
update risc0 to 0.20.1
Wollac 90c9fe8
compact json files
Wollac 3fb1f45
update lock files
Wollac b48f089
test for warnings
Wollac 7f44cb2
nits
hashcashier 3f7905a
docker in readme
hashcashier 1370975
create cache file if not found
Wollac 2d2810a
update copyright
Wollac 9e3d5bf
update copyright
Wollac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.DS_Store | ||
target/ | ||
tmp/ | ||
rpc_cache/ | ||
log.txt | ||
*.pb | ||
rpc_cache.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really see where that is coming from. Looks like no default config will use this folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been running a lot of tests and needed somewhere else to store my cache files without having to worry about git all the time. We might want to switch the default cache folder to this one and pass in the test data directory explicitly in the tests.