Skip to content

Commit 8ecc008

Browse files
committed
Increased package version for release, modified readme
1 parent c1f61d9 commit 8ecc008

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ There are already tools that allow you to debug Ethereum transactions (Solidity)
2020

2121
Use one of these releases:
2222

23-
* solc 0.4.24 compatible with ganache use: [v2.4.0](https://github.com/fergarrui/ethereum-graph-debugger/releases/tag/v2.4.0)
23+
* solc 0.4.24 compatible with ganache use: [v2.5.0](https://github.com/fergarrui/ethereum-graph-debugger/releases/tag/v2.5.0)
2424
* solc 0.5.8 (not compatible with ganache) use: [v3.1.0](https://github.com/fergarrui/ethereum-graph-debugger/releases/tag/v3.1.0)
2525

2626
If you want to use master (it can be more unstable), clone and start the application
@@ -56,14 +56,15 @@ Go to localhost:9090
5656

5757
# Features
5858

59-
* Now interactive :star2:: it has a sepparate frontend and API instead of building a static HTML file like in earlier versions
60-
* Control flow graph: the CFG can be built without debugging a transaction.
61-
* Disassembler: just disassembled opcodes can be seen, from runtime and constructor
62-
* Source mapping: snippet of code related to the selected instruction is highlighted in the editor left panel
63-
* Debug transaction: a transaction can be debugged using the contract's CFG and the execution trace
59+
* **Now interactive** :star2:: it has a sepparate frontend and API instead of building a static HTML file like in earlier versions
60+
* **Control flow graph**: the CFG can be built without debugging a transaction.
61+
* **Disassembler**: just disassembled opcodes can be seen, from runtime and constructor
62+
* **Source mapping**: snippet of code related to the selected instruction is highlighted in the editor left panel
63+
* **Debug transaction**: a transaction can be debugged using the contract's CFG and the execution trace
64+
* **Storage viewer**: Storage layout and values can be retrieved (including dynamic arrays and mappings :exclamation: )
6465
* Supports contracts calls. All contracts involved in the transaction can be debugged (going to the caller/called tab to see the contract-specific trace)
6566
* EVM state in transaction: it is shown below the editor when selecting an opcode present in the execution trace of the provided transaction hash
66-
* Settings: right now, there are settings to point to a different chain (by default it connects to http://127.0.0.1:8545) and basic authentication can be configured, so the RPC endpoint can be accessed if authentication is needed (to be compatible with platforms like [Kaleido](http://kaleido.io))
67+
* **Settings**: right now, there are settings to point to a different chain (by default it connects to http://127.0.0.1:8545) and basic authentication can be configured, so the RPC endpoint can be accessed if authentication is needed (to be compatible with platforms like [Kaleido](http://kaleido.io))
6768
* When building the CFG a basic dynamic execution is made to calculate jumps and to remove most of orphan blocks (this will be improved in the future, probably with SymExec)
6869
* To debug directly bytecode, use `.evm` extension files
6970

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ethereum-graph-debugger",
33
"author": "Fernando Garcia",
44
"license": "GPL",
5-
"version": "2.4.0",
5+
"version": "2.5.0",
66
"description": "Ethereum graph debugger",
77
"main": "dist/run-server.js",
88
"scripts": {

src/routes.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ const models: TsoaRoute.Models = {
8080
"blockchainProtocol": { "dataType": "string" },
8181
"blockchainBasicAuthUsername": { "dataType": "string" },
8282
"blockchainBasicAuthPassword": { "dataType": "string" },
83+
"name": { "dataType": "string", "required": true },
84+
"source": { "dataType": "string", "required": true },
85+
"path": { "dataType": "string", "required": true },
8386
},
8487
},
8588
"RunContractFunctionRequest": {

0 commit comments

Comments
 (0)