Skip to content
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

Complete Std removal from zeth-primitives & zeth-lib #4

Open
wants to merge 47 commits into
base: main
Choose a base branch
from

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    ddb349b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    332ea67 View commit details
    Browse the repository at this point in the history
  3. use revm optimism execution

    Wollac committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    3ef2f20 View commit details
    Browse the repository at this point in the history
  4. update testdata

    Wollac committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    90add25 View commit details
    Browse the repository at this point in the history
  5. add optimism tests

    Wollac committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    a2be5bc View commit details
    Browse the repository at this point in the history
  6. upgrade revm to latest commit

    Wollac committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    2056058 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4db793c View commit details
    Browse the repository at this point in the history
  8. fix clippy (taikoxyz#45)

    Wollac authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    2f12782 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Introduce op-info tool (taikoxyz#48)

    * Introduce op-info tool
    
    * Whitespace
    
    * Update host/Cargo.toml
    
    Co-authored-by: Wolfgang Welz <[email protected]>
    
    * Update Cargo.lock
    
    ---------
    
    Co-authored-by: Wolfgang Welz <[email protected]>
    intoverflow and Wollac authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    69402de View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    ccc327c View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Configuration menu
    Copy the full SHA
    eed232b View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. chore(deps): bump risc0 to v0.19.1 (taikoxyz#54)

    * upgrade dependencies
    
    * upgrade dependencies
    Wollac authored Nov 18, 2023
    Configuration menu
    Copy the full SHA
    2dc0bc6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2290e8b View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    71135b7 View commit details
    Browse the repository at this point in the history
  2. chore: MPT cleanups (taikoxyz#56)

    * MPT cleanups
    
    * avoid clone when calling hash
    
    * fix clippy
    Wollac authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    59c23fd View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Pre-flight and block building improvements (taikoxyz#55)

    * cleanup host crate
    
    * minor cleanups
    
    * fix trie creation
    
    * separate node maps
    
    * fix tests
    
    * fix proof generation
    
    * fix integration test
    
    * add documentation
    
    * inline public mpt methods
    
    * move mpt functions
    
    * fix verification of zero RPC accounts
    Wollac authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    3e70593 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    ee88f6d View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. fix: use PathBuf instead of String to compatible different platforms …

    …and non-Unicode sequences in filepath (taikoxyz#65)
    
    * fix: use PathBuf and Path for compatibility
    
    * fix: use PathBuf as cache path type
    dyxushuai authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    c24c7b8 View commit details
    Browse the repository at this point in the history
  2. Update CI (taikoxyz#60)

    * Update and fix CI
    
    * fix cargo-install version
    
    * try without cache
    
    * Revert "try without cache"
    
    This reverts commit d91547ab1697989050cfdfce35229e8899b0b27f.
    
    * add GITHUB_TOKEN
    
    * review suggestions
    
    * make version env
    Wollac authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    916f8c5 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    6f046e0 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Optimism L1 -> L2 derivation (taikoxyz#51)

    * transactions module
    
    * TxEssence trait
    
    * Generic Transaction struct
    
    * tx essence as a generic parameter
    
    * OptimismTxEssence
    
    * op chain spec
    
    * OpTxExecStrategy
    
    * redundant block builder type params
    
    * strategy bundles
    
    * host binary parameters
    
    * profiling flag
    
    * optimism
    
    * new derivation binary skeleton, copy over libs
    
    * providers and conversion utils
    
    * epoch transitioning
    
    * basic derive flow
    
    * host-side derivation
    
    * read metadata from op head
    
    * op-derive guest
    
    * disable guest memory leaks
    
    * heapless batch derivation
    
    * Add missing import
    
    * Remove heapless BinaryHeap
    
    * Remove heapless
    
    * Introduce op-derive tool
    
    * Remove ethers types from BatcherDb trait
    
    * Verify new op block has correct transaction list
    
    * Move derive logic into library
    
    * Fix bug in transaction trie reconstruction
    
    * Introduce get_op_header() to BatcherDb
    
    * Clippy warning
    
    * Default Serde value for FileProvider::receipts
    
    * Disable bloom filter checks
    
    * Clippy
    
    * Clippy
    
    * Fix parsing of from and to fields for deposits
    
    * Reintroduce filtering by log bloom
    
    * fmt
    
    * Add support for local exec to op-derive
    
    * Enforce block_number is correct in MemDb
    
    * Split derive() into multiple functions
    
    * Remove redundant check for batch parent hash
    
    * Remove redundant copy of system config
    
    * Remove redundant block number check
    
    * Cleanup
    
    * Remove redundant vector of eth blocks
    
    * Add base_fee_per_gas to Epoch
    
    * Store deposits in Epoch
    
    * Add Eth tail to DeriveOutput
    
    * Cleanup
    
    * Move deque_next_epoch_if_none to State
    
    * Move eth block processing to Batches
    
    * Reorg and cleanup
    
    * More cleanup
    
    * run cargo fmt --all
    
    * fix clippy warnings
    
    * remove unused imports
    
    * format guest code
    
    * add op-derive cmd test
    
    * add cmd tests
    
    * cleanup optimism/mod
    
    * Rename command line args
    
    * Fix test arguments
    
    * Rename config field to max_channel_bank_size
    
    * Enforce decompression limit of MAX_RLP_BYTES_PER_CHANNEL
    
    * Use constant OPTIMISM_DEPOSITED_TX_TYPE when checking batch validity
    
    * Import from std instead of alloc/core
    
    * Re-enable core::mem::forget() optimization
    
    * Replace asserts with ensures; enforce absence of receipts for Op blocks
    
    * Simplfy iteration through derived transactions
    
    * Add Bonsai support to op-derive. Also add Bonsai session status to output when polling
    
    * More println
    
    * Rework Batcher initialization
    
    * More logging
    
    * More log output if Bonsai workflow fails
    
    ---------
    
    Co-authored-by: Rami Khalil <[email protected]>
    Co-authored-by: Wolfgang Welz <[email protected]>
    3 people authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    4c0496c View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Fix frame parsing and loading in Optimism derivation (taikoxyz#68)

    * cleanup frame parsing
    
    * fix frame loading
    
    * move byte wrapping into RLP encoding
    
    * improve documentation
    
    * fmt
    
    * use an actual Batch for the tests
    
    * log batcher transaction
    
    * add unit tests
    Wollac authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    0b2efed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2daac0d View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Fix channel bank handling in Optimism derivation (taikoxyz#71)

    * fix channel bank
    
    * channel_index is not mut
    Wollac authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    fbe4255 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Update dependencies versions

    dyxushuai authored and Wollac committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    08b8985 View commit details
    Browse the repository at this point in the history
  2. fix revm commit

    Wollac committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    abfa855 View commit details
    Browse the repository at this point in the history
  3. use correct tags

    Wollac committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    da7b212 View commit details
    Browse the repository at this point in the history
  4. use EVM in comments

    Wollac committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    ec8599d View commit details
    Browse the repository at this point in the history
  5. update copyright

    Wollac committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    f96beaa View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. register optimism revm handle

    Wollac committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    7905ac7 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. init

    CeciliaZ030 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e7af733 View commit details
    Browse the repository at this point in the history
  2. init

    CeciliaZ030 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    6640067 View commit details
    Browse the repository at this point in the history
  3. no_std_preflight

    CeciliaZ030 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2512519 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    34f3c67 View commit details
    Browse the repository at this point in the history
  5. default-features = false

    CeciliaZ030 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    fd22f1b View commit details
    Browse the repository at this point in the history
  6. feat: Use revm Optimism execution (taikoxyz#44)

    * do not default source_hash and mint
    
    * use revm optimism execution
    
    * update testdata
    
    * add optimism tests
    
    * upgrade revm to latest commit
    
    * upgrade revm with latest op changes
    
    * Upgrade `revm` in Optimism execution (taikoxyz#76)
    
    * Update dependencies versions
    
    * fix revm commit
    
    * use correct tags
    
    * use EVM in comments
    
    * update copyright
    
    * register optimism revm handle
    
    * update revm
    
    * update k256
    
    ---------
    
    Co-authored-by: john xu <[email protected]>
    
    ---------
    
    Co-authored-by: john xu <[email protected]>
    Wollac and dyxushuai authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    7280614 View commit details
    Browse the repository at this point in the history
  7. Fix batch queue handling in Optimism derivation (taikoxyz#73)

    * sort batches in a multimap
    
    * update copyright
    Wollac authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    3a99983 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Fix OP block header validation (taikoxyz#74)

    * verify op block loaded from DB
    
    * improve errors
    
    * Simplify BatcherDb (taikoxyz#81)
    
    * fix warnings
    
    ---------
    
    Co-authored-by: Tim Carstens <[email protected]>
    Wollac and intoverflow authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    6867af4 View commit details
    Browse the repository at this point in the history
  2. compiled host util

    CeciliaZ030 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    4c13a22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8be1203 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. fmt & dependency

    CeciliaZ030 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    1369d92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3af84ea View commit details
    Browse the repository at this point in the history
  3. cargo.lock

    CeciliaZ030 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    5a958c7 View commit details
    Browse the repository at this point in the history
  4. cargo update

    CeciliaZ030 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    e386e29 View commit details
    Browse the repository at this point in the history
  5. resolve merge error

    CeciliaZ030 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    c35f9e0 View commit details
    Browse the repository at this point in the history
  6. cargo.lock

    CeciliaZ030 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    039d219 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. update

    checksum
    
    fmt & clippy
    
    fix util import
    
     #![feature(build_hasher_simple_hash_one)]
    
    clear comments
    
    fmt
    CeciliaZ030 committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    92fa6be View commit details
    Browse the repository at this point in the history