Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug_traceTransaction
RPC method support (#196)
* Bootstrap impls for runner and executor * Fix frontier version * Cargo lock * Bootstrap rpc handler + runtime api * Refactor + bootstrap impls * Refactor response types * Cargo lock * `ethereum-types` 0.10.0 * Error handling * Add `storage` field * Copyright * Remove unused * Use evm getters * Update frontier and evm dependencies * Update `ethereum` dependency * Update frontier pin * Fix fmt * Context helper + update evm pin * Switch to executor wrapper design * Remove stack module in favor of wrapper * Use BlockchainBackend * Modify runtime api fn signature * Apply subset of extrinsic before tracing * First simple test to validate tracing over intermediate state * Fix nesting * Keep it simple * WIP update evm * Move executor declaration to parent scope * Fix some deps * Update gas_cost retrieval to new evm changes * u8 to stringified opcode conversion * Use getters for StackSubstateMetadata * Handle evm transfers * Chunkify memory * No need to specify type * Add serializer to remove 0x prefix * Serialize U256 as low u64 * Add cli debug option * Add debug option to ts tests * Handle gas_limit * storage tracing (not tested) * update storage cache AFTER step * Move debug flag to RunCmd * remove duplicated response types * wip blockscout tracing * wip blockscout entries insertion * almost complete tracing in wrapper * working tracing (raw + blockscout), need small fixes in rpc * Depth trace format is EVM's returned depth + 1 * Add test for nested calls (raw) * Add test for nested calls (blockscout) * Move nested test to own fn * Fix formatting * 0x prefixes * Pass scheme to `trace_create` * WIP fix staticcall * Add missing gas correction on trace (fix staticcall ok) * Bump spec_version * Add simple replay test utility * Handle request processing error in replay test utility * Add copyright * Prettier * Change the tracer hash * Set `debug` and `txpool` as as optional RPC extensions * Update tests * Prettier * Update frontier pin * Set `require_delimiter` flag to true * Add missing serde camelCase renames * Fix previous commit.. * Default transaction index None in txpool * Update frontier pin * Update test-block to new totalDifficulty * Update frontier * Fix trace_address fields * fix runtime api * Fix fmt * Update frontier + evm * Sync with master * Fix checker * bump frontier dependency hash * Update settings.json * Remove old comments * TraceParams additional fields (unused) * Bump sha3 0.9 * Document evm extension * Opcode greater that 255 is unreachable * Remove frame_support re-export * Fix checker * Fix checker * Try to fix docs * Document TraceRunner * Remove unused * ethers 5.0.32 * Remove comment Co-authored-by: nanocryk <[email protected]> Co-authored-by: Alan Sapede <[email protected]> Co-authored-by: Crystalin <[email protected]>
- Loading branch information