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: add support stateful precompiles #66

Merged
merged 10 commits into from
Jul 23, 2024
Merged

Commits on Jul 18, 2024

  1. feat!: add stateful precompiled contract (cherry-pick)

    - (evm) crypto-org-chain#328 Support precompile interface.
    - (statedb) crypto-org-chain#333 Support native action in statedb, prepare for precompiles.
    - (precompile) crypto-org-chain#338 Fix simulation of precompile using context.
    - (precompile) crypto-org-chain#342 Problem: native action don't support mem keys
    - (precompile) crypto-org-chain#343 Problem: no api to convert native events to logs
    - (precompile) crypto-org-chain#344 Fix error handling in precompile context.
    - (precompile) crypto-org-chain#346 Add support for new precompile context.
    - (precompile) crypto-org-chain#347 Problem: miss contract in ExtStateDB interface
    - (precompile) crypto-org-chain#359 Problem: no efficient way to execute read-only native actions
    - (precompile) crypto-org-chain#371 Add StateDB itself into native context for precompiles to emit evm logs directly.
    - (precompile) crypto-org-chain#380 Allow init precompiled contract with rules when new evm.
    dongsam authored and fbac committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    ede500e View commit details
    Browse the repository at this point in the history
  2. Problem: no access to ctx params in precompile (#383)

    * Problem: no access to ctx params in precompile
    
    * Update CHANGELOG.md
    
    Signed-off-by: mmsqe <mavis@crypto.com>
    
    ---------
    
    Signed-off-by: mmsqe <mavis@crypto.com>
    mmsqe authored and fbac committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    d947584 View commit details
    Browse the repository at this point in the history
  3. chore: update dependencies

    Signed-off-by: Francisco de Borja Aranda Castillejo <borja@zetachain.com>
    fbac committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    42780b7 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. chore; disable lint for unused code

    Signed-off-by: Francisco de Borja Aranda Castillejo <borja@zetachain.com>
    fbac committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    fea9d22 View commit details
    Browse the repository at this point in the history
  2. chore: fix markdown linting issues

    Signed-off-by: Francisco de Borja Aranda Castillejo <borja@zetachain.com>
    fbac committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    9d3f3e2 View commit details
    Browse the repository at this point in the history
  3. chore: change CODEOWNERS

    Signed-off-by: Francisco de Borja Aranda Castillejo <borja@zetachain.com>
    fbac committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    4d0c720 View commit details
    Browse the repository at this point in the history
  4. Update go.mod

    Co-authored-by: Lucas Bertrand <lucas.bertrand.22@gmail.com>
    fbac and lumtis committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    7b0656a View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. doc: document changes in code

    Signed-off-by: Francisco de Borja Aranda Castillejo <borja@zetachain.com>
    fbac committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    a5a3c14 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. docs: expand documentation

    Signed-off-by: Francisco de Borja Aranda Castillejo <borja@zetachain.com>
    fbac committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    66c665b View commit details
    Browse the repository at this point in the history
  2. doc: document allKeys

    Signed-off-by: Francisco de Borja Aranda Castillejo <borja@zetachain.com>
    fbac committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    cd0b54c View commit details
    Browse the repository at this point in the history