File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ Type: [Object][29]
199
199
- ` address ` ** [ Buffer] [ 42 ] ** the address of the ` account `
200
200
- ` depth ` ** [ Number] [ 32 ] ** the current number of calls deep the contract is
201
201
- ` memory ` ** [ Buffer] [ 42 ] ** the memory of the VM as a ` buffer `
202
+ - ` memoryWordCount ` ** BN** current size of memory in words
202
203
- ` stateManager ` ** StateManager** a [ ` StateManager ` ] [ 30 ] instance (Beta API)
203
204
204
205
[ 1 ] : #vmrunblockchain
Original file line number Diff line number Diff line change @@ -152,7 +152,8 @@ module.exports = function (opts, cb) {
152
152
address : runState . address ,
153
153
account : runState . contract ,
154
154
stateManager : runState . stateManager ,
155
- memory : runState . memory
155
+ memory : runState . memory ,
156
+ memoryWordCount : runState . memoryWordCount
156
157
}
157
158
/**
158
159
* The `step` event for trace output
@@ -167,6 +168,7 @@ module.exports = function (opts, cb) {
167
168
* @property {Buffer } address the address of the `account`
168
169
* @property {Number } depth the current number of calls deep the contract is
169
170
* @property {Buffer } memory the memory of the VM as a `buffer`
171
+ * @property {BN } memoryWordCount current size of memory in words
170
172
* @property {StateManager } stateManager a [`StateManager`](stateManager.md) instance (Beta API)
171
173
*/
172
174
self . emit ( 'step' , eventObj , cb )
You can’t perform that action at this time.
0 commit comments