Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace account package with ethereumjs-util Account #911

Merged
merged 4 commits into from
Oct 15, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/vm/lib/evm/interpreter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,12 @@ export default class Interpreter {
* @property {String} opcode the next opcode to be ran
* @property {BN} gasLeft amount of gasLeft
* @property {Array} stack an `Array` of `Buffers` containing the stack
* @property {Account} account the [`Account`](https://github.com/ethereum/ethereumjs-account) which owns the code running
* @property {Account} account the Account which owns the code running
* @property {Buffer} address the address of the `account`
* @property {Number} depth the current number of calls deep the contract is
* @property {Buffer} memory the memory of the VM as a `buffer`
* @property {BN} memoryWordCount current size of memory in words
* @property {StateManager} stateManager a [`StateManager`](stateManager.md) instance (Beta API)
* @property {StateManager} stateManager a [[StateManager]] instance
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to look up these symbol references (double square brackets) - so linking to internal classes, members or functions, really nice functionality! 😄 Just dropping here for others as a reference.

* @property {Buffer} codeAddress the address of the code which is currently being ran (this differs from `address` in a `DELEGATECALL` and `CALLCODE` call)
*/
return this._vm._emit('step', eventObj)
Expand Down