-
Notifications
You must be signed in to change notification settings - Fork 120
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
Commits on Apr 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c671bb8 - Browse repository at this point
Copy the full SHA c671bb8View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for da3522a - Browse repository at this point
Copy the full SHA da3522aView commit details -
Configuration menu - View commit details
-
Copy full SHA for edba21c - Browse repository at this point
Copy the full SHA edba21cView commit details
Commits on Apr 6, 2023
-
* 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
Configuration menu - View commit details
-
Copy full SHA for 3e943f9 - Browse repository at this point
Copy the full SHA 3e943f9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 35c85d4 - Browse repository at this point
Copy the full SHA 35c85d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33c0080 - Browse repository at this point
Copy the full SHA 33c0080View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7354a60 - Browse repository at this point
Copy the full SHA 7354a60View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc9c3c4 - Browse repository at this point
Copy the full SHA bc9c3c4View commit details
Commits on Apr 7, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for 35c61e6 - Browse repository at this point
Copy the full SHA 35c61e6View commit details -
Improve error handling (#1872)
* Improve error handling * Correct test addresses
Configuration menu - View commit details
-
Copy full SHA for b7becd8 - Browse repository at this point
Copy the full SHA b7becd8View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9e63362 - Browse repository at this point
Copy the full SHA 9e63362View commit details -
EVM block integration test (#1874)
* Add smart contract create && call tests
Configuration menu - View commit details
-
Copy full SHA for ec47dbf - Browse repository at this point
Copy the full SHA ec47dbfView commit details
Commits on Apr 10, 2023
-
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>
Configuration menu - View commit details
-
Copy full SHA for 7b8102a - Browse repository at this point
Copy the full SHA 7b8102aView commit details -
chore(evm): add
eth_call
ð_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
Configuration menu - View commit details
-
Copy full SHA for 46b6c62 - Browse repository at this point
Copy the full SHA 46b6c62View commit details
Commits on Apr 11, 2023
-
fix(evm): revert
from
to
back to optional (#1881)* revert from,to to optional in ethtxinfo * fmt
Configuration menu - View commit details
-
Copy full SHA for 4599ce0 - Browse repository at this point
Copy the full SHA 4599ce0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2adc858 - Browse repository at this point
Copy the full SHA 2adc858View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for df42821 - Browse repository at this point
Copy the full SHA df42821View commit details
Commits on Apr 12, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for f66f53e - Browse repository at this point
Copy the full SHA f66f53eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15ddd26 - Browse repository at this point
Copy the full SHA 15ddd26View commit details -
* 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>
Configuration menu - View commit details
-
Copy full SHA for 6989295 - Browse repository at this point
Copy the full SHA 6989295View commit details -
evm: eth_mining RPC implementation (#1892)
* eth_mining RPC implementation * Formatting
Configuration menu - View commit details
-
Copy full SHA for 92629c3 - Browse repository at this point
Copy the full SHA 92629c3View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 3139cf4 - Browse repository at this point
Copy the full SHA 3139cf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eacb32 - Browse repository at this point
Copy the full SHA 5eacb32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 283e1f8 - Browse repository at this point
Copy the full SHA 283e1f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc4eea4 - Browse repository at this point
Copy the full SHA bc4eea4View commit details
Commits on Apr 13, 2023
-
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>
Configuration menu - View commit details
-
Copy full SHA for e1ff3dd - Browse repository at this point
Copy the full SHA e1ff3ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 543f84d - Browse repository at this point
Copy the full SHA 543f84dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for cc1644d - Browse repository at this point
Copy the full SHA cc1644dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b184807 - Browse repository at this point
Copy the full SHA b184807View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7142744 - Browse repository at this point
Copy the full SHA 7142744View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03401e1 - Browse repository at this point
Copy the full SHA 03401e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5af36f2 - Browse repository at this point
Copy the full SHA 5af36f2View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 5f93587 - Browse repository at this point
Copy the full SHA 5f93587View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ce376 - Browse repository at this point
Copy the full SHA 83ce376View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01abebc - Browse repository at this point
Copy the full SHA 01abebcView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1ceba06 - Browse repository at this point
Copy the full SHA 1ceba06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28af0e5 - Browse repository at this point
Copy the full SHA 28af0e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11bf920 - Browse repository at this point
Copy the full SHA 11bf920View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6675c1d - Browse repository at this point
Copy the full SHA 6675c1dView commit details -
Add cache storage layer and GetTransactionBy* RPCs (#1908)
* Add cache storage and RPC impl * Restore block flush()
Configuration menu - View commit details
-
Copy full SHA for 78a23aa - Browse repository at this point
Copy the full SHA 78a23aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 775b252 - Browse repository at this point
Copy the full SHA 775b252View commit details -
Configuration menu - View commit details
-
Copy full SHA for 168dd09 - Browse repository at this point
Copy the full SHA 168dd09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cb5e9d - Browse repository at this point
Copy the full SHA 7cb5e9dView commit details
Commits on Apr 14, 2023
-
evm: Save failed transactions in block (#1900)
* Save failed transactions in block * Formatting * Fix compiler warnings
Configuration menu - View commit details
-
Copy full SHA for 18381f7 - Browse repository at this point
Copy the full SHA 18381f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bde8e5c - Browse repository at this point
Copy the full SHA bde8e5cView commit details -
* Enable C++ FFI * Rename evm_ffi to ffi_exports * Update Makefile.am
Configuration menu - View commit details
-
Copy full SHA for b63a29e - Browse repository at this point
Copy the full SHA b63a29eView commit details -
evm: eth_sendRawTransaction implementation (#1913)
* Move ffi files to folder, rename ffi_exports, add cxx header file * eth_sendRawTransaction implementation
Configuration menu - View commit details
-
Copy full SHA for dc0b505 - Browse repository at this point
Copy the full SHA dc0b505View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4193339 - Browse repository at this point
Copy the full SHA 4193339View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfe9584 - Browse repository at this point
Copy the full SHA dfe9584View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3136951 - Browse repository at this point
Copy the full SHA 3136951View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c7ed23 - Browse repository at this point
Copy the full SHA 2c7ed23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 533afd4 - Browse repository at this point
Copy the full SHA 533afd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b183d83 - Browse repository at this point
Copy the full SHA b183d83View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad10c12 - Browse repository at this point
Copy the full SHA ad10c12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f9e4e8 - Browse repository at this point
Copy the full SHA 5f9e4e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c217d07 - Browse repository at this point
Copy the full SHA c217d07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 517c2e0 - Browse repository at this point
Copy the full SHA 517c2e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b7b454 - Browse repository at this point
Copy the full SHA 2b7b454View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0637d74 - Browse repository at this point
Copy the full SHA 0637d74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87d077f - Browse repository at this point
Copy the full SHA 87d077fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d7f2a4 - Browse repository at this point
Copy the full SHA 6d7f2a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d623af2 - Browse repository at this point
Copy the full SHA d623af2View commit details
Commits on Apr 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5d4a7db - Browse repository at this point
Copy the full SHA 5d4a7dbView commit details
Commits on Apr 17, 2023
-
* Add Eth_Accounts RPC * Return only Eth addresses in eth_accounts RPC
Configuration menu - View commit details
-
Copy full SHA for c95a27b - Browse repository at this point
Copy the full SHA c95a27bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 91fb18a - Browse repository at this point
Copy the full SHA 91fb18aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ebfa2a2 - Browse repository at this point
Copy the full SHA ebfa2a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53c84f0 - Browse repository at this point
Copy the full SHA 53c84f0View commit details
Commits on Apr 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for da17804 - Browse repository at this point
Copy the full SHA da17804View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebc2e07 - Browse repository at this point
Copy the full SHA ebc2e07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a86059 - Browse repository at this point
Copy the full SHA 2a86059View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fee45a - Browse repository at this point
Copy the full SHA 6fee45aView commit details -
Cleanup RPC/gRPC server codegen (#1922)
* Cleanup RPC/gRPC server codegen * Fix warnings * Additional cleanup and prettyplease types output
Configuration menu - View commit details
-
Copy full SHA for 58e3a9f - Browse repository at this point
Copy the full SHA 58e3a9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2b3972 - Browse repository at this point
Copy the full SHA b2b3972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3345d8c - Browse repository at this point
Copy the full SHA 3345d8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5dbf6c - Browse repository at this point
Copy the full SHA b5dbf6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2384895 - Browse repository at this point
Copy the full SHA 2384895View commit details
Commits on Apr 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 480e86f - Browse repository at this point
Copy the full SHA 480e86fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad071d5 - Browse repository at this point
Copy the full SHA ad071d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34fac99 - Browse repository at this point
Copy the full SHA 34fac99View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 8e7d54a - Browse repository at this point
Copy the full SHA 8e7d54aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92a7471 - Browse repository at this point
Copy the full SHA 92a7471View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36950b0 - Browse repository at this point
Copy the full SHA 36950b0View commit details -
Resolve datadir through FFI (#1925)
* Resolve datadir through FFI * Fix format
Configuration menu - View commit details
-
Copy full SHA for 5aa7a9b - Browse repository at this point
Copy the full SHA 5aa7a9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec83ec4 - Browse repository at this point
Copy the full SHA ec83ec4View commit details
Commits on Apr 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 754dea3 - Browse repository at this point
Copy the full SHA 754dea3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14fc8c2 - Browse repository at this point
Copy the full SHA 14fc8c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c93655 - Browse repository at this point
Copy the full SHA 9c93655View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83d22e5 - Browse repository at this point
Copy the full SHA 83d22e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a33e66 - Browse repository at this point
Copy the full SHA 9a33e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59335b3 - Browse repository at this point
Copy the full SHA 59335b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c68bf65 - Browse repository at this point
Copy the full SHA c68bf65View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 4fb2e1a - Browse repository at this point
Copy the full SHA 4fb2e1aView commit details
Commits on Apr 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 464d3d8 - Browse repository at this point
Copy the full SHA 464d3d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12b7941 - Browse repository at this point
Copy the full SHA 12b7941View commit details -
evm: Rename finalize_block (#1928)
* Rename finalize_block * Revert "Rename finalize_block" This reverts commit efdfbc3. * Rename FFI call
Configuration menu - View commit details
-
Copy full SHA for 57b0565 - Browse repository at this point
Copy the full SHA 57b0565View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a36f2a2 - Browse repository at this point
Copy the full SHA a36f2a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c9d17a - Browse repository at this point
Copy the full SHA 3c9d17aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3e9cde - Browse repository at this point
Copy the full SHA a3e9cdeView commit details
Commits on Apr 24, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for c044f9a - Browse repository at this point
Copy the full SHA c044f9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b6f537 - Browse repository at this point
Copy the full SHA 6b6f537View commit details
Commits on Apr 25, 2023
-
Add EVM functional tests (#1932)
* Cleanup RPC error * Initial functional test of EVM rpc
Configuration menu - View commit details
-
Copy full SHA for 4a67361 - Browse repository at this point
Copy the full SHA 4a67361View commit details -
Metachain JSON-RPC CLI (#1934)
* Cleanup RPC error * Initial functional test of EVM rpc * Metachain JSON-RPC CLI * Format output * Fix help message
Configuration menu - View commit details
-
Copy full SHA for 446b99f - Browse repository at this point
Copy the full SHA 446b99fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e710277 - Browse repository at this point
Copy the full SHA e710277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ba274b - Browse repository at this point
Copy the full SHA 7ba274bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ad3843 - Browse repository at this point
Copy the full SHA 9ad3843View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e8e5d6 - Browse repository at this point
Copy the full SHA 8e8e5d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for af17c65 - Browse repository at this point
Copy the full SHA af17c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d3cc9d - Browse repository at this point
Copy the full SHA 4d3cc9dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for ac52738 - Browse repository at this point
Copy the full SHA ac52738View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b9f7e6 - Browse repository at this point
Copy the full SHA 1b9f7e6View commit details
Commits on Apr 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 071d2cf - Browse repository at this point
Copy the full SHA 071d2cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9d0fa3 - Browse repository at this point
Copy the full SHA c9d0fa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f7432d - Browse repository at this point
Copy the full SHA 2f7432dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33f8f55 - Browse repository at this point
Copy the full SHA 33f8f55View commit details
Commits on Apr 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4319f5d - Browse repository at this point
Copy the full SHA 4319f5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4ea463 - Browse repository at this point
Copy the full SHA c4ea463View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 22ced97 - Browse repository at this point
Copy the full SHA 22ced97View commit details -
evm: Update get_contract_address to return H160 (#1942)
* Change get_contract_address to return H160 * Update test * Remove todo note
Configuration menu - View commit details
-
Copy full SHA for 1f569b0 - Browse repository at this point
Copy the full SHA 1f569b0View commit details
Commits on Apr 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 28a410b - Browse repository at this point
Copy the full SHA 28a410bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a0f960 - Browse repository at this point
Copy the full SHA 8a0f960View commit details
Commits on May 2, 2023
-
fix(lib/ain-cpp-imports): conditionally specific stdlib (#1948)
* conditionally target lib based on diff os * fmt * use macro for conditinal compilation
Configuration menu - View commit details
-
Copy full SHA for e708481 - Browse repository at this point
Copy the full SHA e708481View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 61b13b5 - Browse repository at this point
Copy the full SHA 61b13b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2c21d5 - Browse repository at this point
Copy the full SHA f2c21d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d50a27 - Browse repository at this point
Copy the full SHA 7d50a27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f9eb96 - Browse repository at this point
Copy the full SHA 8f9eb96View commit details -
Consolidate persistent state to BlockchainDataHandler struct (#1944)
* Consolidate persistent state to BlockchainDataHandler struct * Update cache after cache miss * Get receipts root before creating block
Configuration menu - View commit details
-
Copy full SHA for d6fed7e - Browse repository at this point
Copy the full SHA d6fed7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a013482 - Browse repository at this point
Copy the full SHA a013482View commit details -
Configuration menu - View commit details
-
Copy full SHA for 177f5b2 - Browse repository at this point
Copy the full SHA 177f5b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13fc2a2 - Browse repository at this point
Copy the full SHA 13fc2a2View commit details
Commits on May 3, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for 069442c - Browse repository at this point
Copy the full SHA 069442cView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 8222cc2 - Browse repository at this point
Copy the full SHA 8222cc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20a0397 - Browse repository at this point
Copy the full SHA 20a0397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a09b09 - Browse repository at this point
Copy the full SHA 6a09b09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 569519d - Browse repository at this point
Copy the full SHA 569519dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b6463c - Browse repository at this point
Copy the full SHA 2b6463cView commit details
Commits on May 5, 2023
-
* 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
Configuration menu - View commit details
-
Copy full SHA for 2439a69 - Browse repository at this point
Copy the full SHA 2439a69View commit details
Commits on May 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bff5aba - Browse repository at this point
Copy the full SHA bff5abaView commit details
Commits on May 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d7d5b05 - Browse repository at this point
Copy the full SHA d7d5b05View commit details -
Debug send_raw_transaction and return RPC error when could not publis…
…h eth tx via cpp_imports (#1975)
Configuration menu - View commit details
-
Copy full SHA for a5cad26 - Browse repository at this point
Copy the full SHA a5cad26View commit details -
Add query by blockNumber RPC changes to metachain-cli (#1977)
* Remove EVMState tests * Add latest RPC changes to CLI
Configuration menu - View commit details
-
Copy full SHA for ec9cf0b - Browse repository at this point
Copy the full SHA ec9cf0bView commit details
Commits on May 9, 2023
-
Handle full_transactions flag in getBlock* RPCs (#1976)
* Handle full_transactions flag in getBlock* RPCs
Configuration menu - View commit details
-
Copy full SHA for 655df95 - Browse repository at this point
Copy the full SHA 655df95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5944364 - Browse repository at this point
Copy the full SHA 5944364View commit details
Commits on May 10, 2023
-
Remove EVM block update after creation (#1978)
* Add debug log and fix NoSuchAccount error * Don't mutate block after creation
Configuration menu - View commit details
-
Copy full SHA for 5af9aa8 - Browse repository at this point
Copy the full SHA 5af9aa8View commit details -
Refactor and rename transferbalance to transferdomain (#1966)
* Refactor transferbalance * Rename transfer types, use intiger in rpc for type, adapt test.
Configuration menu - View commit details
-
Copy full SHA for f9dcc04 - Browse repository at this point
Copy the full SHA f9dcc04View commit details
Commits on May 11, 2023
-
* Takes eth_call input as Bytes * Add dump_db debug RPC call
Configuration menu - View commit details
-
Copy full SHA for a1b2e13 - Browse repository at this point
Copy the full SHA a1b2e13View commit details -
Configuration menu - View commit details
-
Copy full SHA for afe016d - Browse repository at this point
Copy the full SHA afe016dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 8df7a1c - Browse repository at this point
Copy the full SHA 8df7a1cView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7c327ad - Browse repository at this point
Copy the full SHA 7c327adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d238e - Browse repository at this point
Copy the full SHA 69d238eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc2b31a - Browse repository at this point
Copy the full SHA fc2b31aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1539496 - Browse repository at this point
Copy the full SHA 1539496View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf69f71 - Browse repository at this point
Copy the full SHA cf69f71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95714fd - Browse repository at this point
Copy the full SHA 95714fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51769e3 - Browse repository at this point
Copy the full SHA 51769e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 808e7d2 - Browse repository at this point
Copy the full SHA 808e7d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c146b5 - Browse repository at this point
Copy the full SHA 6c146b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c063ec0 - Browse repository at this point
Copy the full SHA c063ec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c40f862 - Browse repository at this point
Copy the full SHA c40f862View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f04958 - Browse repository at this point
Copy the full SHA 7f04958View commit details
Commits on May 12, 2023
-
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>
Configuration menu - View commit details
-
Copy full SHA for c2547e5 - Browse repository at this point
Copy the full SHA c2547e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4784d29 - Browse repository at this point
Copy the full SHA 4784d29View commit details -
Configuration menu - View commit details
-
Copy full SHA for e49b64c - Browse repository at this point
Copy the full SHA e49b64cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fedc83b - Browse repository at this point
Copy the full SHA fedc83bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8628526 - Browse repository at this point
Copy the full SHA 8628526View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40946d0 - Browse repository at this point
Copy the full SHA 40946d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27841e5 - Browse repository at this point
Copy the full SHA 27841e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1605624 - Browse repository at this point
Copy the full SHA 1605624View commit details
Commits on May 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f03a52d - Browse repository at this point
Copy the full SHA f03a52dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4059aea - Browse repository at this point
Copy the full SHA 4059aeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 936e8e3 - Browse repository at this point
Copy the full SHA 936e8e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee30263 - Browse repository at this point
Copy the full SHA ee30263View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 04dbcaa - Browse repository at this point
Copy the full SHA 04dbcaaView commit details -
Coinbase placeholder Eth block hash (#1986)
* Coinbase placeholder Eth block hash * cargo fmt
Configuration menu - View commit details
-
Copy full SHA for a11cc24 - Browse repository at this point
Copy the full SHA a11cc24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90cd6de - Browse repository at this point
Copy the full SHA 90cd6deView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffd3d7c - Browse repository at this point
Copy the full SHA ffd3d7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e07bcf8 - Browse repository at this point
Copy the full SHA e07bcf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5455adc - Browse repository at this point
Copy the full SHA 5455adcView commit details
Commits on May 16, 2023
-
evm: fix gas estimates (#1992)
* Do not modify gas usage in estimate_gas * Set default gas limit to maximum
Configuration menu - View commit details
-
Copy full SHA for eae374e - Browse repository at this point
Copy the full SHA eae374eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 784583c - Browse repository at this point
Copy the full SHA 784583cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e932146 - Browse repository at this point
Copy the full SHA e932146View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ef2c8c - Browse repository at this point
Copy the full SHA 2ef2c8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d47bfdf - Browse repository at this point
Copy the full SHA d47bfdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6395cc8 - Browse repository at this point
Copy the full SHA 6395cc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aac93d - Browse repository at this point
Copy the full SHA 8aac93dView commit details
Commits on May 17, 2023
-
* Fix EVM tests * Change to 0x for explorer compatibility * Remove setting of gas
Configuration menu - View commit details
-
Copy full SHA for b708e83 - Browse repository at this point
Copy the full SHA b708e83View commit details
Commits on May 18, 2023
-
chore(test): add
eth_sendRawTransaction
test (#1998)* add eth_sendRawTransaction test * rm print * move test to clean set up
Configuration menu - View commit details
-
Copy full SHA for cca9683 - Browse repository at this point
Copy the full SHA cca9683View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 5c34b90 - Browse repository at this point
Copy the full SHA 5c34b90View commit details
Commits on May 19, 2023
-
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>
Configuration menu - View commit details
-
Copy full SHA for d44ac32 - Browse repository at this point
Copy the full SHA d44ac32View commit details
Commits on May 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e4e534f - Browse repository at this point
Copy the full SHA e4e534fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ec5ad6 - Browse repository at this point
Copy the full SHA 0ec5ad6View commit details
Commits on May 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 825355a - Browse repository at this point
Copy the full SHA 825355aView commit details -
RPC: call and estimateGas at specific block height (#2005)
Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fedc73d - Browse repository at this point
Copy the full SHA fedc73dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a48d732 - Browse repository at this point
Copy the full SHA a48d732View commit details -
Document ain-rs-exports FFI calls. (#2004)
Co-authored-by: Shoham Chakraborty <shhmchk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for df4f87c - Browse repository at this point
Copy the full SHA df4f87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2e6903 - Browse repository at this point
Copy the full SHA d2e6903View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 8ec2c36 - Browse repository at this point
Copy the full SHA 8ec2c36View commit details -
Co-authored-by: jouzo <jdesclercs@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ceeaf21 - Browse repository at this point
Copy the full SHA ceeaf21View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc87ff2 - Browse repository at this point
Copy the full SHA fc87ff2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d582adb - Browse repository at this point
Copy the full SHA d582adbView commit details
Commits on May 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 87f2954 - Browse repository at this point
Copy the full SHA 87f2954View commit details
Commits on May 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b1ad7e5 - Browse repository at this point
Copy the full SHA b1ad7e5View commit details
Commits on May 26, 2023
-
Return reason for failure (#2012)
Co-authored-by: Peter Bushnell <bushsolo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9d9a25c - Browse repository at this point
Copy the full SHA 9d9a25cView commit details
Commits on May 29, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for 1647449 - Browse repository at this point
Copy the full SHA 1647449View commit details
Commits on May 31, 2023
-
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>
Configuration menu - View commit details
-
Copy full SHA for ae6f0fd - Browse repository at this point
Copy the full SHA ae6f0fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecd3de2 - Browse repository at this point
Copy the full SHA ecd3de2View commit details
Commits on Jun 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 11e307e - Browse repository at this point
Copy the full SHA 11e307eView commit details
Commits on Jun 2, 2023
-
fix(evm): diff signer on tx2 and tx3 (#2022)
* log * map access_list correctly
Configuration menu - View commit details
-
Copy full SHA for 01dd520 - Browse repository at this point
Copy the full SHA 01dd520View commit details -
chore(py): impr
eth_sendtx
andeth_sendrawtx
test (#2013)* wip * log * map access_list correctly * rm pdb * fix sendrawtx test * refine note
Configuration menu - View commit details
-
Copy full SHA for b1dfcef - Browse repository at this point
Copy the full SHA b1dfcefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fb4e77 - Browse repository at this point
Copy the full SHA 0fb4e77View commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5624697 - Browse repository at this point
Copy the full SHA 5624697View commit details -
test: add eth port to bind test (#1994)
* test: add eth port to bind test * update loopback bind test
Configuration menu - View commit details
-
Copy full SHA for 5292b93 - Browse repository at this point
Copy the full SHA 5292b93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 257714b - Browse repository at this point
Copy the full SHA 257714bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 085a25b - Browse repository at this point
Copy the full SHA 085a25bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c24dcf6 - Browse repository at this point
Copy the full SHA c24dcf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5627ec - Browse repository at this point
Copy the full SHA f5627ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for b44f582 - Browse repository at this point
Copy the full SHA b44f582View commit details
Commits on Jun 6, 2023
-
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>
Configuration menu - View commit details
-
Copy full SHA for 21b837e - Browse repository at this point
Copy the full SHA 21b837eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81a95ba - Browse repository at this point
Copy the full SHA 81a95baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 531c5f0 - Browse repository at this point
Copy the full SHA 531c5f0View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 571ae53 - Browse repository at this point
Copy the full SHA 571ae53View commit details
Commits on Jun 7, 2023
-
refactor(workflows): move
./scripts/fixtures.sh
to.github
(#2030)* move scripts/fixtures.sh to .github * update bob addr to checksum addr
Configuration menu - View commit details
-
Copy full SHA for 3208586 - Browse repository at this point
Copy the full SHA 3208586View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for bba09e5 - Browse repository at this point
Copy the full SHA bba09e5View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 9cc4f21 - Browse repository at this point
Copy the full SHA 9cc4f21View commit details
Commits on Jun 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 058d020 - Browse repository at this point
Copy the full SHA 058d020View commit details
Commits on Jun 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 38295b7 - Browse repository at this point
Copy the full SHA 38295b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98e647b - Browse repository at this point
Copy the full SHA 98e647bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c18cf28 - Browse repository at this point
Copy the full SHA c18cf28View commit details -
Add web3 test dependencies (#2033)
* Install solc from make.sh * Add pkg_install_solc to ci_setup_deps * Install web3.py in make.sh
Configuration menu - View commit details
-
Copy full SHA for a16cde9 - Browse repository at this point
Copy the full SHA a16cde9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f806c92 - Browse repository at this point
Copy the full SHA f806c92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23c9187 - Browse repository at this point
Copy the full SHA 23c9187View commit details -
Configuration menu - View commit details
-
Copy full SHA for bad21e6 - Browse repository at this point
Copy the full SHA bad21e6View commit details -
Merge branch 'feature/evm' of git@github.com:DeFiCh/ain.git; branch '…
…feature/evm' of github.com:DeFiCh/ain into feature/evm
Configuration menu - View commit details
-
Copy full SHA for 16d47ab - Browse repository at this point
Copy the full SHA 16d47abView commit details -
evm: Fix genesis block number (#2036)
* Fix block 0 generation * Formatting * Remove unused imports
Configuration menu - View commit details
-
Copy full SHA for f02557d - Browse repository at this point
Copy the full SHA f02557dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 35d2ff2 - Browse repository at this point
Copy the full SHA 35d2ff2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7108e4c - Browse repository at this point
Copy the full SHA 7108e4cView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 02ffb5d - Browse repository at this point
Copy the full SHA 02ffb5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca5599a - Browse repository at this point
Copy the full SHA ca5599aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c1e4b5a - Browse repository at this point
Copy the full SHA c1e4b5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 236a512 - Browse repository at this point
Copy the full SHA 236a512View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa950ac - Browse repository at this point
Copy the full SHA fa950acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b2fa02 - Browse repository at this point
Copy the full SHA 1b2fa02View commit details -
Discourage sending to Eth address on account layer (#2001)
* Discourage sending to Eth address on account layer * Remove unused function and add test
Configuration menu - View commit details
-
Copy full SHA for 94b2380 - Browse repository at this point
Copy the full SHA 94b2380View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96e3f5c - Browse repository at this point
Copy the full SHA 96e3f5cView commit details -
* Deduct fee from sender * Prevalidate balance for MIN_GAS_PER_TX * Additional check to prevalidate tx and tests
Configuration menu - View commit details
-
Copy full SHA for 174e0ab - Browse repository at this point
Copy the full SHA 174e0abView commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for 5e1e9e7 - Browse repository at this point
Copy the full SHA 5e1e9e7View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 4626268 - Browse repository at this point
Copy the full SHA 4626268View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e95278e - Browse repository at this point
Copy the full SHA e95278eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96206c1 - Browse repository at this point
Copy the full SHA 96206c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1095f13 - Browse repository at this point
Copy the full SHA 1095f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57ace04 - Browse repository at this point
Copy the full SHA 57ace04View commit details