You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
# Change Log
2
2
All notable changes will be documented in this file.
3
3
4
+
## v0.0.4
5
+
- new: dynamic compiler selection via pragma directive
6
+
- changing the solidity version pragma attempts to load the selected compiler version remotely. e.g. type `pragma solidity 0.8.4` to switch to solidity v0.8.4.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ An interactive Solidity shell with lightweight session recording.
27
27
28
28
### Hints
29
29
30
+
31
+
***Note**: Type `pragma solidity <version>` to dynamically load a different compiler version.
30
32
***Note**: Sessions can be saved and restored using the `.session` command. Your previous session is always stored and can be loaded via `.session load previous` (not safe when running concurrent shells).
31
33
***Note**: `.reset` completely removes all statements. `.undo` removes the last statement.
32
34
***Note**: See what's been generated under the hood? call `.dump`.
Copy file name to clipboardExpand all lines: bin/main.js
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ vorpal
61
61
.mode('repl','Enters Solidity Shell Mode')
62
62
.delimiter(c.bold('» '))
63
63
.init(function(args,cb){
64
-
this.log(`🚀 Entering interactive Solidity shell. '${c.bold('.help')}' and '${c.bold('.exit')}' are your friends.`);
64
+
this.log(`🚀 Entering interactive Solidity ${c.bold(shell.settings.installedSolidityVersion)}shell. '${c.bold('.help')}' and '${c.bold('.exit')}' are your friends.`);
65
65
returncb();
66
66
})
67
67
.action(function(input,cb){
@@ -80,6 +80,7 @@ vorpal
80
80
-----
81
81
82
82
${c.bold('$_')} is a placeholder holding the most recent evaluation result.
83
+
${c.bold('pragma solidity <version>')} to change the compiler version.
0 commit comments