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

feat: ope poc #26

Draft
wants to merge 24 commits into
base: basechain/abci2.0/develop
Choose a base branch
from

Commits on Oct 16, 2024

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

Commits on Oct 17, 2024

  1. feat: Apply native action

    dudong2 committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    203f3e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcf207c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bc2e971 View commit details
    Browse the repository at this point in the history
  4. Revert "chore: Sync with cronos memiavl store version"

    This reverts commit bc2e971.
    dudong2 committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    5a21bcb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    67b6546 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. feat: Apply native fee

    dudong2 committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    9c0810b View commit details
    Browse the repository at this point in the history
  2. Problem: block gas meter not compatible with parallel tx execution (e…

    …vmos#451)
    
    Disable block gas meter, it's safe to do because we checks gas wanted against block gas limit in ProcessProposal now.
    
    Update CHANGELOG.md
    
    Signed-off-by: yihuang <[email protected]>
    
    Update CHANGELOG.md
    
    Signed-off-by: yihuang <[email protected]>
    
    cleanup
    
    format
    
    use block gas wanted in context
    
    update deps
    
    fix unit test
    
    fix unit test
    
    remove feemarket transient store
    
    remove
    
    update deps
    yihuang authored and dudong2 committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    f94d262 View commit details
    Browse the repository at this point in the history
  3. Problem: sender address verification is not decoupled from execution (e…

    …vmos#358)
    
    * Problem: sender address verification is not decoupled from execution
    
    WIP: evmos#355
    
    Solution:
    - to decouple sender address verification from execution, we must first enforce user setting the From field in the msg
    
    * changelog
    
    * fix GetSenderLegacy
    
    * cleanup
    
    * fix unit tests
    
    * reduce overhead of debug log
    
    * lazy init the btree in cache store
    
    because many stores are never touched
    
    * fix mutation
    yihuang authored and dudong2 committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    be661e5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0be5835 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c65555 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. chore: cosmos-sdk

    dudong2 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    0f2a18a View commit details
    Browse the repository at this point in the history
  2. feat: Concurrent checktx

    dudong2 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    3b49d2c View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. feat: cosmos-sdk/store

    dudong2 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    8908324 View commit details
    Browse the repository at this point in the history
  2. Problem: parallel transaction execution is not supported (evmos#414)

    * Problem: go-block-stm is not integrated for parallel tx execution
    
    - integrate go-block-stm as tx executor
    - small optimiations
    
    fix
    
    * package deps
    
    * cleanup
    
    * update sdk deps
    
    * cleanup
    
    * cleanup
    
    * cleanup
    
    * Update server/config/config.go
    
    Signed-off-by: yihuang <[email protected]>
    
    * Update server/config/toml.go
    
    Signed-off-by: yihuang <[email protected]>
    
    * cleanup
    
    * cleanup
    
    * cleanup
    
    * fix default executor
    
    ---------
    
    Signed-off-by: yihuang <[email protected]>
    yihuang authored and dudong2 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    c332e85 View commit details
    Browse the repository at this point in the history
  3. Problem: fee deduction not compatible with parallel execution (evmos#447

    )
    
    * Problem: fee deduction not compatible with parallel execution
    
    Solution:
    - use virtual send
    
    * Update CHANGELOG.md
    
    Signed-off-by: yihuang <[email protected]>
    
    * fix build
    
    * fix test
    
    * cleanup
    
    ---------
    
    Signed-off-by: yihuang <[email protected]>
    yihuang authored and dudong2 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    d1c8b82 View commit details
    Browse the repository at this point in the history
  4. Problem: evm transfer is not efficient (evmos#448)

    * Problem: evm transfer is not efficient
    
    Solution:
    - override the Transfer callback in block context.
    
    Update CHANGELOG.md
    
    Signed-off-by: yihuang <[email protected]>
    
    * test reverted sdk
    
    * update deps
    
    ---------
    
    Signed-off-by: yihuang <[email protected]>
    yihuang authored and dudong2 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    562c45b View commit details
    Browse the repository at this point in the history
  5. Problem: transient store usage not compatible with parallel tx execut…

    …ion (evmos#450)
    
    * Problem: transient store usage not compatible with parallel tx execution
    
    Currently we use shared transient store keys to accumulate some states,
    which cause issues when developing parallel tx execution
    
    Solution:
    - remove some transient stores.
    - the others are used in a per-tx fasion.
    
    Update CHANGELOG.md
    
    Signed-off-by: yihuang <[email protected]>
    
    cleanup
    
    fix test
    
    * fix
    
    * cleanup
    yihuang authored and dudong2 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    4cbdb83 View commit details
    Browse the repository at this point in the history
  6. Problem: block gas meter not compatible with parallel tx execution (e…

    …vmos#451)
    
    Disable block gas meter, it's safe to do because we checks gas wanted against block gas limit in ProcessProposal now.
    
    Update CHANGELOG.md
    
    Signed-off-by: yihuang <[email protected]>
    
    Update CHANGELOG.md
    
    Signed-off-by: yihuang <[email protected]>
    
    cleanup
    
    format
    
    use block gas wanted in context
    
    update deps
    
    fix unit test
    
    fix unit test
    
    remove feemarket transient store
    
    remove
    
    update deps
    yihuang authored and dudong2 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    462baa9 View commit details
    Browse the repository at this point in the history
  7. Problem: params not cached in object store (evmos#454)

    Solution:
    - save the cost of repeated encoding/decoding during the block execution
    - also migrate existing transient stores to object stores
    
    Update CHANGELOG.md
    
    Signed-off-by: yihuang <[email protected]>
    
    Update x/feemarket/types/keys.go
    
    Signed-off-by: yihuang <[email protected]>
    
    renmae
    
    fix test
    yihuang authored and dudong2 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    7c8b457 View commit details
    Browse the repository at this point in the history
  8. Problem: block-stm tx executor bad worst case performance (evmos#522)

    * Problem: block-stm tx executor don't do simple static dependency
    analysis
    
    Solution:
    - estimate dependencies based on tx fee payer, try to optimise worst case
      performance.
    
    * fix build
    
    * customize estimates instead of dependencies
    
    * fix context
    
    * update api
    
    * cleanup
    
    * changelog
    
    * cleanup
    
    * cleanup
    
    * cleanup
    
    * pre-estimate config
    
    * fix lint
    yihuang authored and dudong2 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    12efbd1 View commit details
    Browse the repository at this point in the history
  9. Problem: pre-estimation don't run in parallel (evmos#523)

    * Problem: pre-estimation don't run in parallel
    
    * fix build
    
    * fix race
    
    * cleanup chunking
    
    * keep unchanged
    
    ---------
    
    Co-authored-by: mmsqe <[email protected]>
    2 people authored and dudong2 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    3af5795 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Configuration menu
    Copy the full SHA
    12e303c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e8c341 View commit details
    Browse the repository at this point in the history