This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add eip1559 raw and rpc types * add eip 1559 tx type * add standardized gas price across tx types * add london hardfork * add eip1559 to vm tx type * add base fee per gas to block * use standardized gas price func * normalize type2 txs to legacy pre-berlin * dont allow nullable nonce * refine baseFeePerGas formula * normalize txs to type 1559 when appropriate * eip1559 tests * export eip1559 txs with @ganache/ethereum-tx * remove unused receipt params * add tests for calculating baseFeePerGas * fix bug with block.toJSON * add effectiveGasPrice and methods to update * order/reorder tx pool based off of effectiveGasPrice * add capacity enum to miner * remove unnecessary data * remove instamine from miner. have calcNextBaseFee to return buff * add back gasPrice to receipt * test for miner and txPool ordering post london * add miner design decisions * initialize baseFeePerGas as an estimate on eip1559 tx * fix test that broke due to typed tx hash fix. * remove todo * add `london` to `TRANSACTION_DATA_NON_ZERO_GAS` * remove to-do and unnecessary conversion of datatype * improving "it" statements in tests * clarify comments in test * remove .only from test 😬 * add JSDOC for Heap.prototype.refresh and refresher * set higher gas price for in revert test so CI will run * make tests pass * Fix genesis block parent hash and add a DATA_ZERO constant while we're at it * tx 1 and 2 tests shouldn't include 27 in their v values * make transaction logging easier to read * fix racey test * fix test comment typo * ignore logging output on chatty block test * update docs * remove unused import * undo some unnecessary changes * add JSDOC to miner's new Capacity enum * use blockchain var * use `Capacity` enum for call to `mine` * remove unused imports * fix comment typo * remove infinite test timeout * remove unused dep * fix type * don't skip all the tests 🤦 * remove testing promise thing * revert back to ignoring * update docs * Remove unused import * remove test * update docs * fix comment typo * move miner's `refresher` off fthe miner class * try to fix github actions auth issue * short circuit in Wuantity.toBuffer * use bigint when doing gas math stuff * fix tx type 1 signing error * always validate signature recovery ID * update docs * rename repo-token to token in github actions * fix typo in github action config * fix typos * fix typos * don't allow unlimited time in test * use static eth_gasPrice for gas price in test * undo whitespace change * Add error for transaction decode failure. It doesn't just throw with an "invalid remainder" message now :-) * Update src/packages/utils/src/utils/heap.ts * rename lastMaxBlockBaseFee to maxPossibleBaseFee * rename calcMaxNBlocksBaseFee to calcNBlocksMaxBaseFee * move type def from runtime-block to block * update error message in test failure * update docs Co-authored-by: MicaiahReid <[email protected]>
- Loading branch information