@@ -18,10 +18,9 @@ There are already tools that allow you to debug Ethereum transactions (Solidity)
1818
1919### Download
2020
21- Use one of these releases :
21+ Use release link :
2222
23- * solc 0.4.24 compatible with ganache use: [ v2.5.0] ( https://github.com/fergarrui/ethereum-graph-debugger/releases/tag/v2.5.0 )
24- * solc 0.5.8 (not compatible with ganache) use: [ v3.1.0] ( https://github.com/fergarrui/ethereum-graph-debugger/releases/tag/v3.1.0 )
23+ * [ v2.6.0] ( https://github.com/fergarrui/ethereum-graph-debugger/releases/tag/v2.6.0 )
2524
2625If you want to use master (it can be more unstable), clone and start the application
2726
@@ -54,6 +53,33 @@ Go to localhost:9090
5453 * Scan the directory as described above
5554 * You won't get source code mappings when clicking in operations of the CFG
5655
56+ ### [ Temporal] - switch solc version
57+
58+ Current ` solc ` version is ` 0.5.8 ` , if you want to use an earlier version, for now it can only be done via API (UI coming soon)
59+
60+ * List supported ` solc ` versions
61+ * ` curl http://localhost:9090/solc/list `
62+ * Output will be like:
63+ ```
64+ [
65+ {
66+ "version": "0.5.8",
67+ "commit": "v0.5.8+commit.23d335f2"
68+ },
69+ {
70+ "version": "0.5.7",
71+ "commit": "v0.5.7+commit.6da8b019"
72+ },
73+ {
74+ "version": "0.5.6",
75+ "commit": "v0.5.6+commit.b259423e"
76+ },
77+ (... truncated ...)
78+ ```
79+ * Select a commit, for example: `v0.5.6+commit.b259423e`
80+ * Set the version to that commit: `curl -X POST --data '{"version": "v0.5.8+commit.23d335f2"}' http://localhost:9090/solc`
81+ * Check what version is loaded: `curl http://localhost:9090/solc`
82+
5783# Features
5884
5985 * **Now interactive** :star2:: it has a sepparate frontend and API instead of building a static HTML file like in earlier versions
0 commit comments