Alex Sherbuck

Results 29 issues of Alex Sherbuck

Splice changes array.length and shifts remaining elements 1 place. Test: const tree = new Tree(); tree.add('ceo'); tree.add('cto1', 'ceo'); tree.add('cto2', 'ceo'); tree.add('cto3', 'ceo'); tree.add('dev1', 'cto1'); tree.add('dev2', 'cto1'); tree.add('dev3', 'cto1'); tree.add('dev2', 'dev3');...

https://github.com/benoitvallon/computer-science-in-javascript/blob/master/data-structures-in-javascript/tree.es6.js#L33 Splice in the for loop shifts the elements in the array and skips the sibling of the node that was removed. Fix PR: You can test with: ``` const...

## Description A WIP for all things related to truffledb. This draft provides a look at a leveldb implementation that provides the ability to define flexible classes for each model....

Fixes: https://github.com/trufflesuite/ganache/issues/1470 Adds `eth_feeHistory` to the json rpc api. This endpoint returns gas used, baseFeePerGas, and effective reward by array of percentages accounting for gas used for a range of...

# Description This is the follow-on to https://github.com/trufflesuite/ganache/pull/2859. The majority of code has already been reviewed and was merged when I slammed the green button home (wewps). The big change...

[TODO](https://github.com/trufflesuite/ganache/blob/develop/src/chains/ethereum/ethereum/src/data-managers/block-manager.ts#L211)

Performance
tech-debt

Issue https://github.com/trufflesuite/ganache/issues/736 calls for a cap on the `totalAccounts` generated by ganache. This change sets a cap at 1000 accounts. 1000 was chosen because it was the largest power of...

[TODO](https://github.com/trufflesuite/ganache/blob/develop/src/chains/ethereum/transaction/src/transaction-factory.ts#L83)

tech-debt

[TODO](https://github.com/trufflesuite/ganache/blob/develop/src/chains/ethereum/transaction/src/base-transaction.ts#L48)

tech-debt

[TODO](https://github.com/trufflesuite/ganache/blob/develop/src/chains/ethereum/ethereum/src/forking/trie.ts#L140)

tech-debt