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

Add EVM Engine and Rust libs #1815

Merged
merged 275 commits into from
Jun 9, 2023
Merged

Add EVM Engine and Rust libs #1815

merged 275 commits into from
Jun 9, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 5, 2023

  1. Configuration menu
    Copy the full SHA
    c671bb8 View commit details
    Browse the repository at this point in the history
  2. Add EVM block header to coinbase (#1859)

    * Add context calls for EVM block creation
    
    * Add update_state bool
    
    * Add context discard
    
    * Return vector of vectors
    
    * Vector of vectors unsupported
    
    * Add EVM context to ConnectBlock
    
    * Add TransactionQueueMap and rough finalize_block
    
    * Add EVM header to coinbase
    
    * Add call to get key from wallets
    
    * Send encoded block header
    
    * Remove evm_add_balance dummy call
    
    * Remove comment
    
    * Fix tests
    
    ---------
    
    Co-authored-by: Bushstar <bushsolo@gmail.com>
    Jouzo and Bushstar authored Apr 5, 2023
    Configuration menu
    Copy the full SHA
    da3522a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    edba21c View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Add EVM BlockHandler (#1864)

    * Make handlers extensible, add block handler
    
    * Move EVMHandler
    
    * Fix build errors
    
    * Add connect_block
    
    * Fix Eth_GetBlockByHash
    
    * Fix incomplete merge
    
    * Add bin files to gitignore
    
    * Change RPC methods to lowerCamelCase
    
    * Formatting
    shohamc1 authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    3e943f9 View commit details
    Browse the repository at this point in the history
  2. EVM in/out refinements (#1865)

    * Return error on sub balance failure.
    
    * Change to expected return type
    
    * Update EVM in/out TX
    
    * Use array instead of rust::Vec
    
    * Pass context to CustomTxVisit
    
    * Add temporary state to TransactionQueue
    
    * Improve readability
    
    * Block integration test
    
    ---------
    
    Co-authored-by: Bushstar <bushsolo@gmail.com>
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    3 people authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    35c85d4 View commit details
    Browse the repository at this point in the history
  3. Revert "EVM in/out refinements (#1865)" (#1867)

    This reverts commit 35c85d4.
    prasannavl authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    33c0080 View commit details
    Browse the repository at this point in the history
  4. EVM in/out refinements (#1868)

    * Return error on sub balance failure.
    
    * Change to expected return type
    
    * Update EVM in/out TX
    
    * Use array instead of rust::Vec
    
    * Pass context to CustomTxVisit
    
    * Add temporary state to TransactionQueue
    
    * Improve readability
    
    * Block integration test
    
    ---------
    
    Co-authored-by: Bushstar <bushsolo@gmail.com>
    Jouzo and Bushstar authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    7354a60 View commit details
    Browse the repository at this point in the history
  5. Fix warnings (#1869)

    Jouzo authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    bc9c3c4 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. Got correct hash for public key recovery. Add test. (#1870)

    * Got correct hash for public key recovery. Add test.
    
    * Add support for EIP1559 TXs address recovery
    
    * Add support for EIP2930 TXs address recovery
    
    * Add failing test
    Bushstar authored Apr 7, 2023
    Configuration menu
    Copy the full SHA
    35c61e6 View commit details
    Browse the repository at this point in the history
  2. Improve error handling (#1872)

    * Improve error handling
    
    * Correct test addresses
    Jouzo authored Apr 7, 2023
    Configuration menu
    Copy the full SHA
    b7becd8 View commit details
    Browse the repository at this point in the history
  3. Fix public key extraction from Eth TXs and add tests (#1875)

    * Get correct hash for public key recovery. Add test.
    
    * Update test for EIP-2930
    Bushstar authored Apr 7, 2023
    Configuration menu
    Copy the full SHA
    9e63362 View commit details
    Browse the repository at this point in the history
  4. EVM block integration test (#1874)

    * Add smart contract create && call tests
    Jouzo authored Apr 7, 2023
    Configuration menu
    Copy the full SHA
    ec47dbf View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2023

  1. chore(workflow): evm ci (#1866)

    * add ci for evm
    
    * toolchain nightly will do
    
    * add cargo clippy ci
    
    * Add EVM BlockHandler (#1864)
    
    * Make handlers extensible, add block handler
    
    * Move EVMHandler
    
    * Fix build errors
    
    * Add connect_block
    
    * Fix Eth_GetBlockByHash
    
    * Fix incomplete merge
    
    * Add bin files to gitignore
    
    * Change RPC methods to lowerCamelCase
    
    * Formatting
    
    * EVM in/out refinements (#1865)
    
    * Return error on sub balance failure.
    
    * Change to expected return type
    
    * Update EVM in/out TX
    
    * Use array instead of rust::Vec
    
    * Pass context to CustomTxVisit
    
    * Add temporary state to TransactionQueue
    
    * Improve readability
    
    * Block integration test
    
    ---------
    
    Co-authored-by: Bushstar <bushsolo@gmail.com>
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    
    * Revert "EVM in/out refinements (#1865)" (#1867)
    
    This reverts commit 35c85d4.
    
    * EVM in/out refinements  (#1868)
    
    * Return error on sub balance failure.
    
    * Change to expected return type
    
    * Update EVM in/out TX
    
    * Use array instead of rust::Vec
    
    * Pass context to CustomTxVisit
    
    * Add temporary state to TransactionQueue
    
    * Improve readability
    
    * Block integration test
    
    ---------
    
    Co-authored-by: Bushstar <bushsolo@gmail.com>
    
    * Fix warnings (#1869)
    
    * Got correct hash for public key recovery. Add test. (#1870)
    
    * Got correct hash for public key recovery. Add test.
    
    * Add support for EIP1559 TXs address recovery
    
    * Add support for EIP2930 TXs address recovery
    
    * Add failing test
    
    * Improve error handling (#1872)
    
    * Improve error handling
    
    * Correct test addresses
    
    * Fix public key extraction from Eth TXs and add tests (#1875)
    
    * Get correct hash for public key recovery. Add test.
    
    * Update test for EIP-2930
    
    * EVM block integration test (#1874)
    
    * Add smart contract create && call tests
    
    * evm ci event triggered by path
    
    * fmt
    
    ---------
    
    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    Co-authored-by: Jouzo <15011228+Jouzo@users.noreply.github.com>
    Co-authored-by: Bushstar <bushsolo@gmail.com>
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    5 people authored Apr 10, 2023
    Configuration menu
    Copy the full SHA
    7b8102a View commit details
    Browse the repository at this point in the history
  2. chore(evm): add eth_call & eth_getBalance tests (#1858)

    * eth_call from and to are mandatory field
    
    * expose evm ExitReason and ExitSucceed
    
    * add should_call_evm test
    
    * add should_call test
    
    * add should_get_balance test
    
    * rm println and unuse assert
    
    * fix tests
    
    * fmt
    canonbrother authored Apr 10, 2023
    Configuration menu
    Copy the full SHA
    46b6c62 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. fix(evm): revert from to back to optional (#1881)

    * revert from,to to optional in ethtxinfo
    
    * fmt
    canonbrother authored Apr 11, 2023
    Configuration menu
    Copy the full SHA
    4599ce0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2adc858 View commit details
    Browse the repository at this point in the history
  3. Add auth for EvmOut transfer balance (#1850)

    * Do auth on EvmOut wtih DFI equivalent
    
    * Add authorization for EvmOut with equivalent DFI address of ETH address
    Mixa84 authored Apr 11, 2023
    Configuration menu
    Copy the full SHA
    df42821 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. evm: Connect and store blocks (#1882)

    * Store ethereum blocks in BlockManager
    
    * Update ffi call
    
    * eth_blockNumber and eth_getBlockByCount implementations
    
    * formatting
    
    * Fix hanging
    
    * Fix RPC names and output
    
    * Format
    
    * Fix test
    
    * Fix tests
    
    * Fix logic
    
    * Remove explicit drop
    
    * Fix hash outputs, add test
    
    * Syntax improvements
    shohamc1 authored Apr 12, 2023
    Configuration menu
    Copy the full SHA
    f66f53e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15ddd26 View commit details
    Browse the repository at this point in the history
  3. [WIP] EVM C++ FFI (#1884)

    * C++ FFI
    
    * Ignore unused parametar warning
    
    * Change return type of get_chain_id()
    
    * Use defi-config.h instead of hardcoded values
    
    * Remove defi-config.h
    
    ---------
    
    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    Mixa84 and shohamc1 authored Apr 12, 2023
    Configuration menu
    Copy the full SHA
    6989295 View commit details
    Browse the repository at this point in the history
  4. evm: eth_mining RPC implementation (#1892)

    * eth_mining RPC implementation
    
    * Formatting
    shohamc1 authored Apr 12, 2023
    Configuration menu
    Copy the full SHA
    92629c3 View commit details
    Browse the repository at this point in the history
  5. evm: chainId RPC implementation (#1891)

    * C++ FFI
    
    * Ignore unused parametar warning
    
    * Change return type of get_chain_id()
    
    * eth_chainid implementation
    
    * net_version implementation
    
    * Fix warnings
    
    ---------
    
    Co-authored-by: Mihailo Milenkovic <mihailo.milenkovic84@gmail.com>
    shohamc1 and Mixa84 authored Apr 12, 2023
    Configuration menu
    Copy the full SHA
    3139cf4 View commit details
    Browse the repository at this point in the history
  6. Fix build on Linux

    Mixa84 committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    5eacb32 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    283e1f8 View commit details
    Browse the repository at this point in the history
  8. Use MemoryAccount Default

    Jouzo committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    bc4eea4 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Rebase to master, and enable path agnostic rust builds (#1895)

    * Fix typo in clang dockerfile (#1842)
    
    * Update PULL_REQUEST_TEMPLATE.md
    
    * mingw fixes for bcrypt, suppress depends related warnings  (#1847)
    
    * Suppress depends related superfluous warnings
    
    * Fix passthrough string quote
    
    * Fix windres, bcrypt failures
    
    * Cleanup build process and workflows (#1851)
    
    * Suppress depends related superfluous warnings
    
    * Fix passthrough string quote
    
    * Fix windres, bcrypt failures
    
    * Cleanup build, workflows, dockerfiles
    
    * Cleanup comments
    
    * Refactor default var setup
    
    * Cleanup comments
    
    * Add safe_rm_rf and simplify left file list
    
    * Fix shellcheck
    
    * Fix arm core images
    
    * More cleanup, unify packaging, safer rm
    
    * Apply default conf across all arch, conf args append
    
    * Apply glibc compat only on linux builds
    
    * Clean up obsolete comments
    
    * Cleanup unmaintained deps, configs and tools (#1855)
    
    * Suppress depends related superfluous warnings
    
    * Fix passthrough string quote
    
    * Fix windres, bcrypt failures
    
    * Cleanup build, workflows, dockerfiles
    
    * Cleanup comments
    
    * Refactor default var setup
    
    * Cleanup comments
    
    * Add safe_rm_rf and simplify left file list
    
    * Fix shellcheck
    
    * Fix arm core images
    
    * More cleanup, unify packaging, safer rm
    
    * Apply default conf across all arch, conf args append
    
    * Apply glibc compat only on linux builds
    
    * Clean up obsolete comments
    
    * Cleanup unmaintained files
    
    * Remove install.md
    
    * Remove libdeficonsensus dyn lib, defi-wallet
    
    * Enable static linking
    
    * Revert boost changes
    
    * Remove outdated man pages
    
    * Remove debian packaging related file
    
    * Bump boost min to 1.77, remove obsolete checks
    
    * Revert boost config cleanup
    
    * More cleanups, nsis, gitian
    
    * Remove boost reduce exports change
    
    * Cleanup boost obsolete check
    
    * Remove wallet tool test
    
    * Update toolchains, deps and further cleanup (#1857)
    
    * Suppress depends related superfluous warnings
    
    * Fix passthrough string quote
    
    * Fix windres, bcrypt failures
    
    * Cleanup build, workflows, dockerfiles
    
    * Cleanup comments
    
    * Refactor default var setup
    
    * Cleanup comments
    
    * Add safe_rm_rf and simplify left file list
    
    * Fix shellcheck
    
    * Fix arm core images
    
    * More cleanup, unify packaging, safer rm
    
    * Apply default conf across all arch, conf args append
    
    * Apply glibc compat only on linux builds
    
    * Clean up obsolete comments
    
    * Cleanup unmaintained files
    
    * Remove install.md
    
    * Remove libdeficonsensus dyn lib, defi-wallet
    
    * Enable static linking
    
    * Revert boost changes
    
    * Remove outdated man pages
    
    * Remove debian packaging related file
    
    * Bump boost min to 1.77, remove obsolete checks
    
    * Revert boost config cleanup
    
    * More cleanups, nsis, gitian
    
    * Remove boost reduce exports change
    
    * Cleanup boost obsolete check
    
    * Reorganize scripts, merge share and contrib
    
    * Fix docker script
    
    * Remove wallet tool test
    
    * static libgcc, disable tests and benches on CI builds
    
    * Fix CI builds to use consistent compilers
    
    * Better consistency in toolchains
    
    * Remove cdrkit, libdmg and switch to docker multiplatform base
    
    * Update cppcheck version
    
    * Switch libdeficonsensus to internal, toolchain cleanups  (#1860)
    
    * Cleanup deps
    
    * Switch libdeficonsensus to an internal lib
    
    * Update ubuntu bases
    
    * Update darwin llvm to 16, update cctools and all depends (#1862)
    
    * Update toolchains
    
    * Remove obsolete zeromq patches
    
    * Make libtapi path agnostic of version
    
    * Update XCode SDK
    
    * Rename target to x86_64-apple-darwin
    
    * Revert to older behavior of zeromq
    
    * Remove superfluous LIBADD
    
    * Couple LDFLAGS together
    
    * Skip unrecognized flag on clang
    
    * Fix unintended quote
    
    * Overhaul of build, CI tests and lints, packaging and deps (#1880)
    
    * Fix spv out of tree builds
    
    * Sync dockerignore and gitignore
    
    * Overhaul of builds (to out of tree), deps updates, simplify dockefiles, CI test, lints and more
    
    * Uncomment benchmark code, disable with flags instead
    
    * Resolve compiler warnings
    
    * Fix arm64 crc intrinsics flags
    
    * Minor CI updates and docker login fixes
    
    * Add `--prefix` into configure to workaround surviving config.sub rechecks
    
    * Update ignores (#1888)
    
    * Fixes for make.sh undeclared locals and clean-artifacts (#1887)
    
    * Fix local decls in make.sh
    
    * Fix lints
    
    * Actually fix lints
    
    * Minimal change set to enable rust build
    
    * fmt
    
    * Include google protos to remove external dependence
    
    * Cleanup unused vars
    
    ---------
    
    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    prasannavl and shohamc1 authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    e1ff3dd View commit details
    Browse the repository at this point in the history
  2. Fix sub_balance

    Jouzo committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    543f84d View commit details
    Browse the repository at this point in the history
  3. Refactor projects, flatten, resolve warnings (#1898)

    * Rename and flatten
    
    * cargo fix
    
    * Resolve all warning, rename to cpp-imports
    
    * Resolve warnings, rename to cpp-exports
    
    * set local C to work with OSX out of the box
    
    rm whitespaces
    
    * Revert "set local C to work with OSX out of the box"
    
    This reverts commit db54529.
    
    ---------
    
    Co-authored-by: dcorral <hi@dcorral.com>
    prasannavl and dcorral authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    cc1644d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b184807 View commit details
    Browse the repository at this point in the history
  5. Revert "Remove rm from makefile clean"

    This reverts commit b184807.
    Bushstar committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    7142744 View commit details
    Browse the repository at this point in the history
  6. Fix bench build

    Mixa84 committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    03401e1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5af36f2 View commit details
    Browse the repository at this point in the history
  8. Refactor rust tree into lib (#1903)

    * Fix typo in clang dockerfile (#1842)
    
    * Update PULL_REQUEST_TEMPLATE.md
    
    * mingw fixes for bcrypt, suppress depends related warnings  (#1847)
    
    * Suppress depends related superfluous warnings
    
    * Fix passthrough string quote
    
    * Fix windres, bcrypt failures
    
    * Cleanup build process and workflows (#1851)
    
    * Suppress depends related superfluous warnings
    
    * Fix passthrough string quote
    
    * Fix windres, bcrypt failures
    
    * Cleanup build, workflows, dockerfiles
    
    * Cleanup comments
    
    * Refactor default var setup
    
    * Cleanup comments
    
    * Add safe_rm_rf and simplify left file list
    
    * Fix shellcheck
    
    * Fix arm core images
    
    * More cleanup, unify packaging, safer rm
    
    * Apply default conf across all arch, conf args append
    
    * Apply glibc compat only on linux builds
    
    * Clean up obsolete comments
    
    * Cleanup unmaintained deps, configs and tools (#1855)
    
    * Suppress depends related superfluous warnings
    
    * Fix passthrough string quote
    
    * Fix windres, bcrypt failures
    
    * Cleanup build, workflows, dockerfiles
    
    * Cleanup comments
    
    * Refactor default var setup
    
    * Cleanup comments
    
    * Add safe_rm_rf and simplify left file list
    
    * Fix shellcheck
    
    * Fix arm core images
    
    * More cleanup, unify packaging, safer rm
    
    * Apply default conf across all arch, conf args append
    
    * Apply glibc compat only on linux builds
    
    * Clean up obsolete comments
    
    * Cleanup unmaintained files
    
    * Remove install.md
    
    * Remove libdeficonsensus dyn lib, defi-wallet
    
    * Enable static linking
    
    * Revert boost changes
    
    * Remove outdated man pages
    
    * Remove debian packaging related file
    
    * Bump boost min to 1.77, remove obsolete checks
    
    * Revert boost config cleanup
    
    * More cleanups, nsis, gitian
    
    * Remove boost reduce exports change
    
    * Cleanup boost obsolete check
    
    * Remove wallet tool test
    
    * Update toolchains, deps and further cleanup (#1857)
    
    * Suppress depends related superfluous warnings
    
    * Fix passthrough string quote
    
    * Fix windres, bcrypt failures
    
    * Cleanup build, workflows, dockerfiles
    
    * Cleanup comments
    
    * Refactor default var setup
    
    * Cleanup comments
    
    * Add safe_rm_rf and simplify left file list
    
    * Fix shellcheck
    
    * Fix arm core images
    
    * More cleanup, unify packaging, safer rm
    
    * Apply default conf across all arch, conf args append
    
    * Apply glibc compat only on linux builds
    
    * Clean up obsolete comments
    
    * Cleanup unmaintained files
    
    * Remove install.md
    
    * Remove libdeficonsensus dyn lib, defi-wallet
    
    * Enable static linking
    
    * Revert boost changes
    
    * Remove outdated man pages
    
    * Remove debian packaging related file
    
    * Bump boost min to 1.77, remove obsolete checks
    
    * Revert boost config cleanup
    
    * More cleanups, nsis, gitian
    
    * Remove boost reduce exports change
    
    * Cleanup boost obsolete check
    
    * Reorganize scripts, merge share and contrib
    
    * Fix docker script
    
    * Remove wallet tool test
    
    * static libgcc, disable tests and benches on CI builds
    
    * Fix CI builds to use consistent compilers
    
    * Better consistency in toolchains
    
    * Remove cdrkit, libdmg and switch to docker multiplatform base
    
    * Update cppcheck version
    
    * Switch libdeficonsensus to internal, toolchain cleanups  (#1860)
    
    * Cleanup deps
    
    * Switch libdeficonsensus to an internal lib
    
    * Update ubuntu bases
    
    * Update darwin llvm to 16, update cctools and all depends (#1862)
    
    * Update toolchains
    
    * Remove obsolete zeromq patches
    
    * Make libtapi path agnostic of version
    
    * Update XCode SDK
    
    * Rename target to x86_64-apple-darwin
    
    * Revert to older behavior of zeromq
    
    * Remove superfluous LIBADD
    
    * Couple LDFLAGS together
    
    * Skip unrecognized flag on clang
    
    * Fix unintended quote
    
    * Overhaul of build, CI tests and lints, packaging and deps (#1880)
    
    * Fix spv out of tree builds
    
    * Sync dockerignore and gitignore
    
    * Overhaul of builds (to out of tree), deps updates, simplify dockefiles, CI test, lints and more
    
    * Uncomment benchmark code, disable with flags instead
    
    * Resolve compiler warnings
    
    * Fix arm64 crc intrinsics flags
    
    * Minor CI updates and docker login fixes
    
    * Add `--prefix` into configure to workaround surviving config.sub rechecks
    
    * Update ignores (#1888)
    
    * Fixes for make.sh undeclared locals and clean-artifacts (#1887)
    
    * Fix local decls in make.sh
    
    * Fix lints
    
    * Actually fix lints
    
    * Move rust crate to lib
    
    * Fix CI lib path
    
    * Fix Cargo fmt
    
    * Revert the bench change
    
    * Switch to stable toolchain and x64 platform
    
    * Fix stable toolchain
    
    ---------
    
    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    Co-authored-by: jouzo <jdesclercs@gmail.com>
    3 people authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    5f93587 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    83ce376 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    01abebc View commit details
    Browse the repository at this point in the history
  11. evm: eth_getBlockTransactionCountBy RPC implementations (#1905)

    * Add blockTxCount RPCs
    
    * Add rpcs to eth.proto
    
    * cargo fmt
    
    * Update src/rust/ain-grpc/src/rpc.rs
    
    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    
    * Update src/rust/ain-grpc/src/rpc.rs
    
    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    
    * format
    
    * Fix by number
    
    ---------
    
    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    dcorral and shohamc1 authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    1ceba06 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    28af0e5 View commit details
    Browse the repository at this point in the history
  13. Fix test compilation error

    Bushstar committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    11bf920 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6675c1d View commit details
    Browse the repository at this point in the history
  15. Add cache storage layer and GetTransactionBy* RPCs (#1908)

    * Add cache storage and RPC impl
    
    * Restore block flush()
    Jouzo authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    78a23aa View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    775b252 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    168dd09 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    7cb5e9d View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. evm: Save failed transactions in block (#1900)

    * Save failed transactions in block
    
    * Formatting
    
    * Fix compiler warnings
    shohamc1 authored Apr 14, 2023
    Configuration menu
    Copy the full SHA
    18381f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bde8e5c View commit details
    Browse the repository at this point in the history
  3. evm: Enable C++ FFI (#1912)

    * Enable C++ FFI
    
    * Rename evm_ffi to ffi_exports
    
    * Update Makefile.am
    shohamc1 authored Apr 14, 2023
    Configuration menu
    Copy the full SHA
    b63a29e View commit details
    Browse the repository at this point in the history
  4. evm: eth_sendRawTransaction implementation (#1913)

    * Move ffi files to folder, rename ffi_exports, add cxx header file
    
    * eth_sendRawTransaction implementation
    shohamc1 authored Apr 14, 2023
    Configuration menu
    Copy the full SHA
    dc0b505 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4193339 View commit details
    Browse the repository at this point in the history
  6. Add send to try block

    Bushstar committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    dfe9584 View commit details
    Browse the repository at this point in the history
  7. Fix Linux builds

    Mixa84 committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    3136951 View commit details
    Browse the repository at this point in the history
  8. Fix eth_* RPC casing

    Jouzo committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    2c7ed23 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    533afd4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b183d83 View commit details
    Browse the repository at this point in the history
  11. Panic when wrong input format

    Jouzo committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    ad10c12 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5f9e4e8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c217d07 View commit details
    Browse the repository at this point in the history
  14. Fix test build on Linux

    Mixa84 committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    517c2e0 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2b7b454 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0637d74 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    87d077f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    6d7f2a4 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    d623af2 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2023

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

Commits on Apr 17, 2023

  1. Add Eth_Accounts RPC (#1916)

    * Add Eth_Accounts RPC
    
    * Return only Eth addresses in eth_accounts RPC
    DocteurPing authored Apr 17, 2023
    Configuration menu
    Copy the full SHA
    c95a27b View commit details
    Browse the repository at this point in the history
  2. Resolve issues with RPC and address behaviour (#1919)

    * Simpler impl with #[rpc(server) macro
    
    * Clippy cleanup
    
    * Revert test changes
    
    * Cargo fmt
    
    * Quick fix
    
    * Add latest fork to getblockchaininfo
    
    * Bump regtest grpc ports to avoid conflict with devnet
    
    * Update RPC
    
    * Skip IsMine for destination address
    
    * Write Eth address on creation
    
    ---------
    
    Co-authored-by: jouzo <jdesclercs@gmail.com>
    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    3 people authored Apr 17, 2023
    Configuration menu
    Copy the full SHA
    91fb18a View commit details
    Browse the repository at this point in the history
  3. Reset fork height

    Bushstar committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    ebfa2a2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    53c84f0 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Fix eth_call output

    Jouzo committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    da17804 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebc2e07 View commit details
    Browse the repository at this point in the history
  3. Fix hex import

    Jouzo committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    2a86059 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6fee45a View commit details
    Browse the repository at this point in the history
  5. Cleanup RPC/gRPC server codegen (#1922)

    * Cleanup RPC/gRPC server codegen
    
    * Fix warnings
    
    * Additional cleanup and prettyplease types output
    Jouzo authored Apr 18, 2023
    Configuration menu
    Copy the full SHA
    58e3a9f View commit details
    Browse the repository at this point in the history
  6. add hashrate RPC (#1921)

    DocteurPing authored Apr 18, 2023
    Configuration menu
    Copy the full SHA
    b2b3972 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3345d8c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b5dbf6c View commit details
    Browse the repository at this point in the history
  9. Fix eth_hashrate

    Jouzo committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    2384895 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. Add mock eth_gasPrice RPC

    shohamc1 committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    480e86f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad071d5 View commit details
    Browse the repository at this point in the history
  3. Add few example debug call

    Jouzo committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    34fac99 View commit details
    Browse the repository at this point in the history
  4. Add evm balances to gettokenbalances (#1924)

    * WIP add EVM balances to gettokenbalances
    
    * Correct variable name
    
    * Add feature_evm to runnable tests
    
    * Remove combined log from test_py
    
    * Convert WEI to Sats
    Bushstar authored Apr 19, 2023
    Configuration menu
    Copy the full SHA
    8e7d54a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92a7471 View commit details
    Browse the repository at this point in the history
  6. Add used_gas to TxResponse

    Jouzo committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    36950b0 View commit details
    Browse the repository at this point in the history
  7. Resolve datadir through FFI (#1925)

    * Resolve datadir through FFI
    
    * Fix format
    Jouzo authored Apr 19, 2023
    Configuration menu
    Copy the full SHA
    5aa7a9b View commit details
    Browse the repository at this point in the history
  8. Create evm dir

    Jouzo committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    ec83ec4 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. Configuration menu
    Copy the full SHA
    754dea3 View commit details
    Browse the repository at this point in the history
  2. Check nonce in EVM TX

    Bushstar committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    14fc8c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c93655 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    83d22e5 View commit details
    Browse the repository at this point in the history
  5. Disable unviable tests

    prasannavl committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    9a33e66 View commit details
    Browse the repository at this point in the history
  6. Cleanup

    prasannavl committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    59335b3 View commit details
    Browse the repository at this point in the history
  7. fmt

    prasannavl committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    c68bf65 View commit details
    Browse the repository at this point in the history
  8. Implement evm RPC into test framework (#1926)

    * Remove script test case that uses OP_SHA3 opcode
    
    * Modification of test framework to connect to evm RPC, and to correctly handle evm RPC to the correct jsonrpc port on defid node
    
    * Fix bug to not remove evm directory after initializing chain
    
    * Fix rpc_help functional test to include evm component. Fix rust lib env_logger to direct logs to stdout instead of the default stderr.
    
    * Create eth_rpc port and url utility functions, included chain initialization of ethrpcport inside datadir
    
    * Revert args in test-py
    
    * Add EVM JSON RPC port into chain param (#1929)
    
    * New port in chain params for eth-json-rpc. includes pipeline to read new arg ethrpcport when starting node.
    
    * Using ..50 for GRPC and ..51 for ETH JRPC
    
    * Fix port numbers
    
    * Update lib/ain-grpc/src/lib.rs
    
    * Update make.sh
    
    * Update make.sh
    
    ---------
    
    Co-authored-by: Bushstar <bushsolo@gmail.com>
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    3 people authored Apr 20, 2023
    Configuration menu
    Copy the full SHA
    4fb2e1a View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Configuration menu
    Copy the full SHA
    464d3d8 View commit details
    Browse the repository at this point in the history
  2. Cleanup warnings, fmt

    prasannavl committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    12b7941 View commit details
    Browse the repository at this point in the history
  3. evm: Rename finalize_block (#1928)

    * Rename finalize_block
    
    * Revert "Rename finalize_block"
    
    This reverts commit efdfbc3.
    
    * Rename FFI call
    shohamc1 authored Apr 21, 2023
    Configuration menu
    Copy the full SHA
    57b0565 View commit details
    Browse the repository at this point in the history
  4. Fixes to CI build workflows for dev, staging and production pipelines…

    … into feature/evm (#1906)
    
    * Enable aarch64-apple-darwin builds (#1893) (#1894)
    
    * Build pipeline for building on arm64 macOS host architecture. Included CI build workflow for building the arm64 binaries
    
    * Rename to aarch64-apple-darwin to resolve build dependency bug
    
    * Amended markdown documentation
    
    (cherry picked from commit 29e10be)
    
    * CI workflow fixes for dev, staging and production pipelines
    
    * Fix naming bug
    
    * Removed publishing to dockerhub pipeline in build staging workflow, and renamed "mac" to "osx"
    
    * Added workflow to push arm build image into Dockerhub. Rename docker tag convention to differentiate arm and x64 build images.
    
    * Fix docker tags
    
    * Reverting changes to pushing only linux-x64 into dockerhub registry.
    
    * Include image layer to install rust dependencies
    
    * Install protobuf-compiler pkg dep
    
    * bug fixes
    
    * Fix bug in pkg_local_ensure_osx_sysroot function that does not exit out of entered dir if the package exists. Include new gnu-tar support for macos in platform_init function to support tar --transform on macos
    
    * Install target toolchains in dockerfiles
    
    * Fix target toolchain for linux-arm docker build
    
    * Resolve rustc toolchain bug
    
    * Removed optional label in proto3 syntax to fix build error
    
    * Fix _tar func in make.sh to pass all args to gnu-tar, and fix docker release build workflow to only push x64 linux to docker registry.
    
    * Re-order build targets to select major dev envs first.
    
    * Fix merge errors
    
    * Revert to feature/evm branch version
    
    * Reverting eth.proto version to feature/evm version
    t Please enter the commit message for your changes. Lines starting
    sieniven authored Apr 21, 2023
    Configuration menu
    Copy the full SHA
    a36f2a2 View commit details
    Browse the repository at this point in the history
  5. Debug fail tx

    Jouzo committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    3c9d17a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a3e9cde View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Get block difficulty and chain work of block via CPP FFI (#1931)

    * FFI: Get block difficulty and chain work of block
    
    * Pass difficulty to finalise_block
    
    * Do not store total_difficulty
    Bushstar authored Apr 24, 2023
    Configuration menu
    Copy the full SHA
    c044f9a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b6f537 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Add EVM functional tests (#1932)

    * Cleanup RPC error
    
    * Initial functional test of EVM rpc
    Jouzo authored Apr 25, 2023
    Configuration menu
    Copy the full SHA
    4a67361 View commit details
    Browse the repository at this point in the history
  2. Metachain JSON-RPC CLI (#1934)

    * Cleanup RPC error
    
    * Initial functional test of EVM rpc
    
    * Metachain JSON-RPC CLI
    
    * Format output
    
    * Fix help message
    Jouzo authored Apr 25, 2023
    Configuration menu
    Copy the full SHA
    446b99f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e710277 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7ba274b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ad3843 View commit details
    Browse the repository at this point in the history
  6. Cleanup make.sh

    prasannavl committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    8e8e5d6 View commit details
    Browse the repository at this point in the history
  7. Use gcc for depends

    prasannavl committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    af17c65 View commit details
    Browse the repository at this point in the history
  8. Add debug-env

    prasannavl committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    4d3cc9d View commit details
    Browse the repository at this point in the history
  9. Revert the rust, proto change in dockerfiles (#1937)

    * fix build and make.sh script
    
    * Update make.sh
    
    ---------
    
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    sieniven and prasannavl authored Apr 25, 2023
    Configuration menu
    Copy the full SHA
    ac52738 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1b9f7e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Minor make.sh cleanups

    prasannavl committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    071d2cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9d0fa3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f7432d View commit details
    Browse the repository at this point in the history
  4. Add 0x to block size

    Bushstar committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    33f8f55 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Set block gas limit

    shohamc1 committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    4319f5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4ea463 View commit details
    Browse the repository at this point in the history
  3. eth_getpendingtransactions (#1933)

    * WIP eth_getpendingtransactions
    
    * Update for base branch and fmt
    
    * Complete eth_pendingTransactions impl
    
    * rustfmt rpc.rs
    
    * Move code to impls.rs
    
    * Fix errors on git push
    
    * Resolve compile errors after merge
    
    * Test EVM Tx showing in EVM block
    
    * Corrections
    
    * Cargo fmt
    
    * Use helper functions
    Bushstar authored Apr 27, 2023
    Configuration menu
    Copy the full SHA
    22ced97 View commit details
    Browse the repository at this point in the history
  4. evm: Update get_contract_address to return H160 (#1942)

    * Change get_contract_address to return H160
    
    * Update test
    
    * Remove todo note
    shohamc1 authored Apr 27, 2023
    Configuration menu
    Copy the full SHA
    1f569b0 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. Configuration menu
    Copy the full SHA
    28a410b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a0f960 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. fix(lib/ain-cpp-imports): conditionally specific stdlib (#1948)

    * conditionally target lib based on diff os
    
    * fmt
    
    * use macro for conditinal compilation
    canonbrother authored May 2, 2023
    Configuration menu
    Copy the full SHA
    e708481 View commit details
    Browse the repository at this point in the history
  2. Add lab project scaffolds (#1938)

    * Add scaffold for grpc-v2
    
    * Add flatten serde checks
    
    * Use Request/Response convention to avoid confusion with `Result` types
    
    * Add missing doc for RPCs
    
    * Add 0x to block size
    
    * Set block gas limit
    
    * Resolve make check errors (#1939)
    
    * eth_getpendingtransactions (#1933)
    
    * WIP eth_getpendingtransactions
    
    * Update for base branch and fmt
    
    * Complete eth_pendingTransactions impl
    
    * rustfmt rpc.rs
    
    * Move code to impls.rs
    
    * Fix errors on git push
    
    * Resolve compile errors after merge
    
    * Test EVM Tx showing in EVM block
    
    * Corrections
    
    * Cargo fmt
    
    * Use helper functions
    
    * Use untagged enums
    
    * Cleanup, add servers
    
    * Cleanup mod
    
    * Add part of missing doc for proto messages
    
    * Add missing doc for proto messages
    
    * evm: Update get_contract_address to return H160 (#1942)
    
    * Change get_contract_address to return H160
    
    * Update test
    
    * Remove todo note
    
    * Add beneficiary, logs_bloom and gas_used to block (#1945)
    
    * Add deprecated mining stubs (#1943)
    
    * fix(lib/ain-cpp-imports): conditionally specific stdlib (#1948)
    
    * conditionally target lib based on diff os
    
    * fmt
    
    * use macro for conditinal compilation
    
    * Cleanup gitignore
    
    * Add lab crates
    
    * Enable rust build
    
    * cargo fmt
    
    ---------
    
    Co-authored-by: DrPing <drping974@proton.me>
    Co-authored-by: Bushstar <bushsolo@gmail.com>
    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    Co-authored-by: Jouzo <15011228+Jouzo@users.noreply.github.com>
    Co-authored-by: canonbrother <w.canonbrother@gmail.com>
    6 people authored May 2, 2023
    Configuration menu
    Copy the full SHA
    61b13b5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2c21d5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d50a27 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8f9eb96 View commit details
    Browse the repository at this point in the history
  6. Consolidate persistent state to BlockchainDataHandler struct (#1944)

    * Consolidate persistent state to BlockchainDataHandler struct
    
    * Update cache after cache miss
    
    * Get receipts root before creating block
    Jouzo authored May 2, 2023
    Configuration menu
    Copy the full SHA
    d6fed7e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a013482 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    177f5b2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    13fc2a2 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. CI workflow for EVM RPC testing (#1821)

    * Add workflow for testing evm rpc
    
    * Add test workflow for EVM RPCs
    
    * Rename EVM RPC Test
    
    * Rename tests
    
    * Rename workflow job
    
    * Fix typo on environment var on CI
    
    * Rename tag 'test/rpc_evm' to 'evm'
    
    * Set NODE_URL to point devnet
    dcorral authored May 3, 2023
    Configuration menu
    Copy the full SHA
    069442c View commit details
    Browse the repository at this point in the history
  2. estimateGas and gasPrice RPC implementations (#1940)

    * estimateGas and gasPrice rpc and ffi
    
    * Remove protoc lib includes
    
    * Resolve depends build issues
    
    * Consolidate persistent state to BlockchainDataHandler struct (#1944)
    
    * Consolidate persistent state to BlockchainDataHandler struct
    
    * Update cache after cache miss
    
    * Get receipts root before creating block
    
    * Update deps, add protobuf-src into runtime deps
    
    * Fix protobuf-src compilation
    
    * Use self contained rust toolchain
    
    * CI workflow for EVM RPC testing (#1821)
    
    * Add workflow for testing evm rpc
    
    * Add test workflow for EVM RPCs
    
    * Rename EVM RPC Test
    
    * Rename tests
    
    * Rename workflow job
    
    * Fix typo on environment var on CI
    
    * Rename tag 'test/rpc_evm' to 'evm'
    
    * Set NODE_URL to point devnet
    
    ---------
    
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    Co-authored-by: Jouzo <15011228+Jouzo@users.noreply.github.com>
    Co-authored-by: dCorral <55594560+dcorral@users.noreply.github.com>
    Co-authored-by: canonbrother <w.canonbrother@gmail.com>
    5 people authored May 3, 2023
    Configuration menu
    Copy the full SHA
    8222cc2 View commit details
    Browse the repository at this point in the history
  3. CPP changes from master

    Bushstar committed May 3, 2023
    Configuration menu
    Copy the full SHA
    20a0397 View commit details
    Browse the repository at this point in the history
  4. Restore updated test

    Bushstar committed May 3, 2023
    Configuration menu
    Copy the full SHA
    6a09b09 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    569519d View commit details
    Browse the repository at this point in the history
  6. Remove unwrap

    Jouzo committed May 3, 2023
    Configuration menu
    Copy the full SHA
    2b6463c View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Proto documentation (#1970)

    * Add partial doc example for proto messages
    
    * Add remaning doc example for proto messages
    
    * Replace line comment by block comment
    
    * Update doc proto messages
    
    * Update doc proto messages
    
    * Update doc proto messages
    
    * Update doc proto messages
    
    * Update doc proto messages
    
    * Fix doc error
    
    * Add more examples to proto messages doc and fix formating
    DocteurPing authored May 5, 2023
    Configuration menu
    Copy the full SHA
    2439a69 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2023

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

Commits on May 8, 2023

  1. EVM State Trie (#1973)

    Jouzo authored May 8, 2023
    Configuration menu
    Copy the full SHA
    d7d5b05 View commit details
    Browse the repository at this point in the history
  2. Debug send_raw_transaction and return RPC error when could not publis…

    …h eth tx via cpp_imports (#1975)
    Jouzo authored May 8, 2023
    Configuration menu
    Copy the full SHA
    a5cad26 View commit details
    Browse the repository at this point in the history
  3. Add query by blockNumber RPC changes to metachain-cli (#1977)

    * Remove EVMState tests
    
    * Add latest RPC changes to CLI
    Jouzo authored May 8, 2023
    Configuration menu
    Copy the full SHA
    ec9cf0b View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Handle full_transactions flag in getBlock* RPCs (#1976)

    * Handle full_transactions flag in getBlock* RPCs
    Jouzo authored May 9, 2023
    Configuration menu
    Copy the full SHA
    655df95 View commit details
    Browse the repository at this point in the history
  2. Few RPCs type fixes

    Jouzo committed May 9, 2023
    Configuration menu
    Copy the full SHA
    5944364 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Remove EVM block update after creation (#1978)

    * Add debug log and fix NoSuchAccount error
    
    * Don't mutate block after creation
    Jouzo authored May 10, 2023
    Configuration menu
    Copy the full SHA
    5af9aa8 View commit details
    Browse the repository at this point in the history
  2. Refactor and rename transferbalance to transferdomain (#1966)

    * Refactor transferbalance
    
    * Rename transfer types, use intiger in rpc for type, adapt test.
    Mixa84 authored May 10, 2023
    Configuration menu
    Copy the full SHA
    f9dcc04 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. EVM RPC improvements (#1979)

    * Takes eth_call input as Bytes
    
    * Add dump_db debug RPC call
    Jouzo authored May 11, 2023
    Configuration menu
    Copy the full SHA
    a1b2e13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    afe016d View commit details
    Browse the repository at this point in the history
  3. Fix eth json RPC issue when running DFI in containerized environment (#…

    …1967)
    
    * Change ip to 0.0.0.0
    
    * Fix rust log output in init_runtime
    
    * Include arg to pass address:port to bind eth rpc server
    
    * Include pipeline to bind gRPC address to gRPC server
    
    * Remove passing default ipv6 address to eth rpc and grpc servers
    
    * Include rust export to pass command line args into init function, and
    refactor to create init_evm_runtime function
    
    * Fix init_evm_runtime to be called after base chain params is
    initialized
    
    * Fix clippy linter warnings
    
    * Fix safety lint warning
    
    * Shift unsafe init function into ain-exports lib, wraps ain-grpc init
    
    * Fix lint
    sieniven authored May 11, 2023
    Configuration menu
    Copy the full SHA
    8df7a1c View commit details
    Browse the repository at this point in the history
  4. Rebroadcast and restore failed transactions to mempool (#1965)

    * Rebroadcast failed TXs
    
    * Takes native tx as input and use it to return fail txs
    
    * Update CPP FFI calls so code compiles
    
    * Return failed EvmIn/Out native tx hashes
    
    * WIP miner remove failed TXs. ConnectBlock revert failed TXs.
    
    * Update tests for new RPC name
    
    * Rename TransferBalance
    
    * Miner remove coinbase fees for failed TXs
    
    * Revert failed TransferDomain in ConnectBlock
    
    ---------
    
    Co-authored-by: jouzo <jdesclercs@gmail.com>
    Bushstar and Jouzo authored May 11, 2023
    Configuration menu
    Copy the full SHA
    7c327ad View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    69d238e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fc2b31a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1539496 View commit details
    Browse the repository at this point in the history
  8. Clean up after merge

    Bushstar committed May 11, 2023
    Configuration menu
    Copy the full SHA
    cf69f71 View commit details
    Browse the repository at this point in the history
  9. Remove unused include

    Bushstar committed May 11, 2023
    Configuration menu
    Copy the full SHA
    95714fd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    51769e3 View commit details
    Browse the repository at this point in the history
  11. lint: Update guards

    Bushstar committed May 11, 2023
    Configuration menu
    Copy the full SHA
    808e7d2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6c146b5 View commit details
    Browse the repository at this point in the history
  13. lint: resolve Python errors

    Bushstar committed May 11, 2023
    Configuration menu
    Copy the full SHA
    c063ec0 View commit details
    Browse the repository at this point in the history
  14. Pay gas to miner (#1981)

    Bushstar authored May 11, 2023
    Configuration menu
    Copy the full SHA
    c40f862 View commit details
    Browse the repository at this point in the history
  15. Move .vsdb to evm subfolder

    Jouzo committed May 11, 2023
    Configuration menu
    Copy the full SHA
    7f04958 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Build cleanup, enable CI, fix logs (#1982)

    * Clean up build, separate rust toolchain
    
    * Windows build fixes
    
    * Cleanup builds, add protoc, noarch dockerfile
    
    * lint: correct and include RPC argument names
    
    * lint: Update guards
    
    * lint: remove func with locale dep
    
    * lint: resolve Python errors
    
    * Use c style header for c compile set
    
    * Delegate tests to makefile
    
    * Refactor lints and run through makefile
    
    * fmt
    
    * Remove clang builds from CI
    
    * Fix stable builds, fmt
    
    * Fix build dep
    
    * Update deps, patch vsdb, use our open forked versions
    
    ---------
    
    Co-authored-by: Peter Bushnell <bushsolo@gmail.com>
    prasannavl and Bushstar authored May 12, 2023
    Configuration menu
    Copy the full SHA
    c2547e5 View commit details
    Browse the repository at this point in the history
  2. Add package hashes

    shohamc1 committed May 12, 2023
    Configuration menu
    Copy the full SHA
    4784d29 View commit details
    Browse the repository at this point in the history
  3. Fix default input

    shohamc1 committed May 12, 2023
    Configuration menu
    Copy the full SHA
    e49b64c View commit details
    Browse the repository at this point in the history
  4. Add cross compile deps

    prasannavl committed May 12, 2023
    Configuration menu
    Copy the full SHA
    fedc83b View commit details
    Browse the repository at this point in the history
  5. Add second seed node

    Bushstar committed May 12, 2023
    Configuration menu
    Copy the full SHA
    8628526 View commit details
    Browse the repository at this point in the history
  6. Add seeders as pnSeeds

    Bushstar committed May 12, 2023
    Configuration menu
    Copy the full SHA
    40946d0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    27841e5 View commit details
    Browse the repository at this point in the history
  8. Update to static IP

    Bushstar committed May 12, 2023
    Configuration menu
    Copy the full SHA
    1605624 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. Configuration menu
    Copy the full SHA
    f03a52d View commit details
    Browse the repository at this point in the history
  2. Fix warnings

    prasannavl committed May 15, 2023
    Configuration menu
    Copy the full SHA
    4059aea View commit details
    Browse the repository at this point in the history
  3. Add debug in validate raw tx

    Jouzo committed May 15, 2023
    Configuration menu
    Copy the full SHA
    936e8e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee30263 View commit details
    Browse the repository at this point in the history
  5. evm: Fix receipts log output (#1985)

    * Fix receipts result output
    
    * Formatting
    
    * Return hex encoded index
    
    * Make logIndex index across block instead of transaction
    
    * Formatting
    
    * Track cumulative gas usage
    
    * Use enumerate
    
    * Fix build and warnings
    shohamc1 authored May 15, 2023
    Configuration menu
    Copy the full SHA
    04dbcaa View commit details
    Browse the repository at this point in the history
  6. Coinbase placeholder Eth block hash (#1986)

    * Coinbase placeholder Eth block hash
    
    * cargo fmt
    Bushstar authored May 15, 2023
    Configuration menu
    Copy the full SHA
    a11cc24 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    90cd6de View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ffd3d7c View commit details
    Browse the repository at this point in the history
  9. Remove receipt clones (#1989)

    Jouzo authored May 15, 2023
    Configuration menu
    Copy the full SHA
    e07bcf8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5455adc View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. evm: fix gas estimates (#1992)

    * Do not modify gas usage in estimate_gas
    
    * Set default gas limit to maximum
    shohamc1 authored May 16, 2023
    Configuration menu
    Copy the full SHA
    eae374e View commit details
    Browse the repository at this point in the history
  2. Fix warnings

    shohamc1 committed May 16, 2023
    Configuration menu
    Copy the full SHA
    784583c View commit details
    Browse the repository at this point in the history
  3. Fix formatting

    shohamc1 committed May 16, 2023
    Configuration menu
    Copy the full SHA
    e932146 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ef2c8c View commit details
    Browse the repository at this point in the history
  5. Fix debug format

    Jouzo committed May 16, 2023
    Configuration menu
    Copy the full SHA
    d47bfdf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6395cc8 View commit details
    Browse the repository at this point in the history
  7. Add missing import

    Jouzo committed May 16, 2023
    Configuration menu
    Copy the full SHA
    8aac93d View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Fix failing EVM tests (#1995)

    * Fix EVM tests
    
    * Change to 0x for explorer compatibility
    
    * Remove setting of gas
    Bushstar authored May 17, 2023
    Configuration menu
    Copy the full SHA
    b708e83 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

  1. chore(test): add eth_sendRawTransaction test (#1998)

    * add eth_sendRawTransaction test
    
    * rm print
    
    * move test to clean set up
    canonbrother authored May 18, 2023
    Configuration menu
    Copy the full SHA
    cca9683 View commit details
    Browse the repository at this point in the history
  2. Set correct Eth block hash in coinbase TX (#1993)

    * Read-only state root
    
    * Set correct Eth block hash in coinbase TX
    
    * Match fee to eth block
    
    ---------
    
    Co-authored-by: jouzo <jdesclercs@gmail.com>
    Bushstar and Jouzo authored May 18, 2023
    Configuration menu
    Copy the full SHA
    5c34b90 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. feat(lib): add rpc eth_sendTransaction (#1984)

    * getprivkey
    
    * getprivkey from GetWallets
    
    * add rpc eth_sendtx
    
    * fix cross build target os
    
    * Change default builds to debug, fix fmt checks
    
    * fix getchainid
    
    * rm ffi::getprivkey, use ffi::getethprivkey
    
    * use h160.asfixedbytes
    
    * should use encoded signed tx
    
    * add eth_sendTransaction test
    
    ---------
    
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    canonbrother and prasannavl authored May 19, 2023
    Configuration menu
    Copy the full SHA
    d44ac32 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Fix serialisation error

    shohamc1 committed May 22, 2023
    Configuration menu
    Copy the full SHA
    e4e534f View commit details
    Browse the repository at this point in the history
  2. Return correct data encoding

    shohamc1 committed May 22, 2023
    Configuration menu
    Copy the full SHA
    0ec5ad6 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Configuration menu
    Copy the full SHA
    825355a View commit details
    Browse the repository at this point in the history
  2. RPC: call and estimateGas at specific block height (#2005)

    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    Jouzo and shohamc1 authored May 23, 2023
    Configuration menu
    Copy the full SHA
    fedc73d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a48d732 View commit details
    Browse the repository at this point in the history
  4. Document ain-rs-exports FFI calls. (#2004)

    Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
    Jouzo and shohamc1 authored May 23, 2023
    Configuration menu
    Copy the full SHA
    df4f87c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d2e6903 View commit details
    Browse the repository at this point in the history
  6. evm: Allow failed tx in eth_sendRawTransaction (#2003)

    * Do not validate EVM TX
    
    * Do not skip TX validation
    
    ---------
    
    Co-authored-by: Jouzo <15011228+Jouzo@users.noreply.github.com>
    shohamc1 and Jouzo authored May 23, 2023
    Configuration menu
    Copy the full SHA
    8ec2c36 View commit details
    Browse the repository at this point in the history
  7. Fix warning (#2010)

    Co-authored-by: jouzo <jdesclercs@gmail.com>
    shohamc1 and Jouzo authored May 23, 2023
    Configuration menu
    Copy the full SHA
    ceeaf21 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fc87ff2 View commit details
    Browse the repository at this point in the history
  9. Rename to prevalidate_raw_tx

    Jouzo committed May 23, 2023
    Configuration menu
    Copy the full SHA
    d582adb View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

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

Commits on May 25, 2023

  1. Fix RPC names

    shohamc1 committed May 25, 2023
    Configuration menu
    Copy the full SHA
    b1ad7e5 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Return reason for failure (#2012)

    Co-authored-by: Peter Bushnell <bushsolo@gmail.com>
    Jouzo and Bushstar authored May 26, 2023
    Configuration menu
    Copy the full SHA
    9d9a25c View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. fix(evm): fix eth block type nonce & extra_data (#2015)

    * change extra_data type Vec to Bytes
    
    * change block nonce type U256 to H64
    
    * fix req
    canonbrother authored May 29, 2023
    Configuration menu
    Copy the full SHA
    1647449 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. CI workflow for EVM test suites (#2017)

    * Include feature evm test suites into CI workflow
    
    * Fix indentation
    
    * Include workflow trigger when PR is made into feature/evm branch
    
    * Fix dependency bug
    
    * Fix superuser privileges
    
    * fix indentation and filepath
    
    * Separate build stage and rpc tests into different jobs
    
    * Fix bug for running test suite
    
    * Debug log
    
    * add fixtures.sh
    
    * on trigger push & target tag evm
    
    * pump required flags for defid cmd
    
    * Remove debug logs
    
    * clean
    
    * path correction & some refined
    
    * pretty print defid
    
    * add foundation member fixtures
    
    * revert pretty print defid
    
    * fix defid
    
    * pre-note contract addr
    
    ---------
    
    Co-authored-by: canonbrother <w.canonbrother@gmail.com>
    sieniven and canonbrother authored May 31, 2023
    Configuration menu
    Copy the full SHA
    ae6f0fd View commit details
    Browse the repository at this point in the history
  2. Fix default gas in eth_call

    shohamc1 committed May 31, 2023
    Configuration menu
    Copy the full SHA
    ecd3de2 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

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

Commits on Jun 2, 2023

  1. fix(evm): diff signer on tx2 and tx3 (#2022)

    * log
    
    * map access_list correctly
    canonbrother authored Jun 2, 2023
    Configuration menu
    Copy the full SHA
    01dd520 View commit details
    Browse the repository at this point in the history
  2. chore(py): impr eth_sendtx and eth_sendrawtx test (#2013)

    * wip
    
    * log
    
    * map access_list correctly
    
    * rm pdb
    
    * fix sendrawtx test
    
    * refine note
    canonbrother authored Jun 2, 2023
    Configuration menu
    Copy the full SHA
    b1dfcef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0fb4e77 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    5624697 View commit details
    Browse the repository at this point in the history
  2. test: add eth port to bind test (#1994)

    * test: add eth port to bind test
    
    * update loopback bind test
    Bushstar authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    5292b93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    257714b View commit details
    Browse the repository at this point in the history
  4. lint: remove whitespace

    Bushstar committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    085a25b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c24dcf6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f5627ec View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b44f582 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Return Eth addresses with EIP-55 checksum applied (#2024)

    * Return Eth addresses with EIP-55 checksum applied
    
    * Update src/key_io.cpp
    
    * Fix formatting in added comments
    
    ---------
    
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    Bushstar and prasannavl authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    21b837e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81a95ba View commit details
    Browse the repository at this point in the history
  3. test: test checksum address

    Bushstar committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    531c5f0 View commit details
    Browse the repository at this point in the history
  4. evm: Support contracts in functional tests (#2023)

    * Add contract compilation and interaction to Python tests
    
    * Fix path
    
    * Clean up test
    
    * Change function name
    
    * Refactor to EVMProvider and KeyPair
    
    * Move files to test_framework
    
    * Add EVMProvider to TestNode
    
    * Add static from_node method to KeyPair
    
    * Add static from_file method to EVMContract
    
    * Add static from_node method to EVMProvider
    
    * Remove web3 checksum
    shohamc1 authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    571ae53 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. refactor(workflows): move ./scripts/fixtures.sh to .github (#2030)

    * move scripts/fixtures.sh to .github
    
    * update bob addr to checksum addr
    canonbrother authored Jun 7, 2023
    Configuration menu
    Copy the full SHA
    3208586 View commit details
    Browse the repository at this point in the history
  2. Include EVM mnview in rollback. Convert miner fee to Sats. (#1999)

    * Convert miner fee to Sats
    
    * Move evm_finalize to ProcessDefi and include mnview changes in rollback
    Bushstar authored Jun 7, 2023
    Configuration menu
    Copy the full SHA
    bba09e5 View commit details
    Browse the repository at this point in the history
  3. Move EVM state changes to outside Connect/DisconnectBlock (#2032)

    * Demo work in progress code
    
    * Add iter method to keep transaction in queue instead of draining
    
    * Remove print from test
    
    * Rename iter to get_cloned_vec
    
    * Use get_cloned_vec
    
    * Update code after merge
    
    ---------
    
    Co-authored-by: jouzo <jdesclercs@gmail.com>
    Bushstar and Jouzo authored Jun 7, 2023
    Configuration menu
    Copy the full SHA
    9cc4f21 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. Feature guard evm_finalize

    Bushstar committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    058d020 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. lint: add known local deps

    Bushstar committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    38295b7 View commit details
    Browse the repository at this point in the history
  2. test: use arg for gas price

    Bushstar committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    98e647b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c18cf28 View commit details
    Browse the repository at this point in the history
  4. Add web3 test dependencies (#2033)

    * Install solc from make.sh
    
    * Add pkg_install_solc to ci_setup_deps
    
    * Install web3.py in make.sh
    shohamc1 authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    a16cde9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f806c92 View commit details
    Browse the repository at this point in the history
  6. Restore ProcessEVMQueue

    Bushstar committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    23c9187 View commit details
    Browse the repository at this point in the history
  7. Make VMDomain class enum

    Bushstar committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    bad21e6 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'feature/evm' of git@github.com:DeFiCh/ain.git; branch '…

    …feature/evm' of github.com:DeFiCh/ain into feature/evm
    Bushstar committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    16d47ab View commit details
    Browse the repository at this point in the history
  9. evm: Fix genesis block number (#2036)

    * Fix block 0 generation
    
    * Formatting
    
    * Remove unused imports
    shohamc1 authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    f02557d View commit details
    Browse the repository at this point in the history
  10. Refactor transferdomain tx (#2026)

    * Refactor transferdomain message and rpc
    
    * Add test for multiple transfer and mixed transfers
    
    * Add comment note
    
    * Squashed commit of the following:
    
    commit 9cc4f21
    Author: Peter John Bushnell <bushsolo@gmail.com>
    Date:   Wed Jun 7 08:21:57 2023 +0100
    
        Move EVM state changes to outside Connect/DisconnectBlock (#2032)
    
        * Demo work in progress code
    
        * Add iter method to keep transaction in queue instead of draining
    
        * Remove print from test
    
        * Rename iter to get_cloned_vec
    
        * Use get_cloned_vec
    
        * Update code after merge
    
        ---------
    
        Co-authored-by: jouzo <jdesclercs@gmail.com>
    
    commit bba09e5
    Author: Peter John Bushnell <bushsolo@gmail.com>
    Date:   Wed Jun 7 06:52:30 2023 +0100
    
        Include EVM mnview in rollback. Convert miner fee to Sats. (#1999)
    
        * Convert miner fee to Sats
    
        * Move evm_finalize to ProcessDefi and include mnview changes in rollback
    
    commit 3208586
    Author: canonbrother <w.canonbrother@gmail.com>
    Date:   Wed Jun 7 11:10:04 2023 +0800
    
        refactor(workflows): move `./scripts/fixtures.sh` to `.github` (#2030)
    
        * move scripts/fixtures.sh to .github
    
        * update bob addr to checksum addr
    
    commit 571ae53
    Author: Shoham Chakraborty <shhmchk@gmail.com>
    Date:   Tue Jun 6 18:42:42 2023 +0800
    
        evm: Support contracts in functional tests (#2023)
    
        * Add contract compilation and interaction to Python tests
    
        * Fix path
    
        * Clean up test
    
        * Change function name
    
        * Refactor to EVMProvider and KeyPair
    
        * Move files to test_framework
    
        * Add EVMProvider to TestNode
    
        * Add static from_node method to KeyPair
    
        * Add static from_file method to EVMContract
    
        * Add static from_node method to EVMProvider
    
        * Remove web3 checksum
    
    * Strip out validation of transferdomain as pure functions.
    
    * Fix conversion
    
    * Fix rpc command
    
    * Update tests for new TransferDomain values
    
    ---------
    
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    Co-authored-by: Peter Bushnell <bushsolo@gmail.com>
    3 people authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    35d2ff2 View commit details
    Browse the repository at this point in the history
  11. Remove unused evmrawtx call

    Bushstar committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    7108e4c View commit details
    Browse the repository at this point in the history
  12. Add Eth addresses to getaccount (#2000)

    * Add Eth addresses to getaccount
    
    * Output tokens in order
    
    * Revert test framework option scans
    
    ---------
    
    Co-authored-by: Prasanna Loganathar <pvl@prasannavl.com>
    Bushstar and prasannavl authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    02ffb5d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ca5599a View commit details
    Browse the repository at this point in the history
  14. Return nonce informations to miner (#2025)

    * Return nonce on evm_prevalidate_raw_tx
    
    * Catch thrown error from evm_prevalidate_raw_tx
    
    * Returns sender address in evm_prevalidate_raw_tx
    
    * Check if nonce is the expected value
    
    * Get evm nonce and balance at latest block height
    
    * With RustRes instead of throw
    
    * Use RustRes in evm_try_queue_tx
    
    * Parse metadata into txMessage
    
    * Add evm_get_nonce_in_context FFI method
    
    * Document TransactionQueue nonce handling
    
    * Return InvalidNonce if queued nonce is not in increasing order
    
    * Add unit test for nonce order
    
    * Use FFI evm_get_nonce_in_context
    
    * Get the next valid nonce
    
    * Track failed nonces and try them once other TXs are added
    
    * Prevalidate all TXs with nonce > account nonce
    
    * Test transactions added in order
    
    * Time order mempool TXs
    
    * Remove commented out gas check in validate raw tx
    
    * Add more EVM TXs for test
    
    ---------
    
    Co-authored-by: Peter Bushnell <bushsolo@gmail.com>
    Jouzo and Bushstar authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    c1e4b5a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    236a512 View commit details
    Browse the repository at this point in the history
  16. Fix Rust build

    shohamc1 committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    fa950ac View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    1b2fa02 View commit details
    Browse the repository at this point in the history
  18. Discourage sending to Eth address on account layer (#2001)

    * Discourage sending to Eth address on account layer
    
    * Remove unused function and add test
    Bushstar authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    94b2380 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    96e3f5c View commit details
    Browse the repository at this point in the history
  20. Deduct EVM fee (#2039)

    * Deduct fee from sender
    
    * Prevalidate balance for MIN_GAS_PER_TX
    
    * Additional check to prevalidate tx and tests
    Jouzo authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    174e0ab View commit details
    Browse the repository at this point in the history
  21. evm: EIP1559 support (#2016)

    * Fix block gas limit
    
    * Fix build
    
    * Add base_fee_per_gas to block output
    
    * Formatting
    
    * Calculate base fee
    
    * Save base fee map
    
    * eth_feeHistory implementation
    
    * Formatting
    
    * Fix block_count type, remove debug param
    
    * Fix build
    
    * Implement eth_maxPriorityFeePerGas
    
    * Fix suggested_priority_fee loop
    
    * Address issues
    
    * Increase initial base fee, set minimum base fee, fix feeHistory output order
    
    * Refactor to use match
    
    * Use EIP1559 for eth_gasPrice estimation
    shohamc1 authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    5e1e9e7 View commit details
    Browse the repository at this point in the history
  22. evm: Load state from genesis.json (#2034)

    * Set trie state and get new state root from JSON
    
    * Load state from input JSON
    
    * Store genesis block after loading state from json
    
    * Remove panic and document handlers initialization
    
    * Add warning
    
    * Add debug log
    
    * WIP BLOCK
    
    ---------
    
    Co-authored-by: jouzo <jdesclercs@gmail.com>
    shohamc1 and Jouzo authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    4626268 View commit details
    Browse the repository at this point in the history
  23. Set max gas limit per block (#2038)

    * Set max gas limit per block
    
    * Send used gas to miner in evm_prevalidate_raw_tx
    
    * Rename to used_gas
    
    * Get used gas from FFI
    
    * Do not add failed TX gas to total
    
    * Optional prevalidation of TX gas usage
    
    ---------
    
    Co-authored-by: jouzo <jdesclercs@gmail.com>
    Bushstar and Jouzo authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    e95278e View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    96206c1 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    1095f13 View commit details
    Browse the repository at this point in the history
  26. Clippy fixes

    Jouzo committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    57ace04 View commit details
    Browse the repository at this point in the history