Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

feat: london #1135

Merged
merged 83 commits into from
Sep 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
1fccc78
add eip1559 raw and rpc types
MicaiahReid Aug 27, 2021
6239952
add eip 1559 tx type
MicaiahReid Aug 27, 2021
48762ec
add standardized gas price across tx types
MicaiahReid Aug 27, 2021
496a187
add london hardfork
MicaiahReid Aug 27, 2021
cd5fedd
add eip1559 to vm tx type
MicaiahReid Aug 27, 2021
21ec3af
add base fee per gas to block
MicaiahReid Aug 27, 2021
3b9c179
use standardized gas price func
MicaiahReid Aug 27, 2021
6fc7af0
normalize type2 txs to legacy pre-berlin
MicaiahReid Aug 27, 2021
20cd47f
dont allow nullable nonce
MicaiahReid Aug 30, 2021
d5d7df1
refine baseFeePerGas formula
MicaiahReid Aug 30, 2021
f100fc5
normalize txs to type 1559 when appropriate
MicaiahReid Aug 30, 2021
079275e
eip1559 tests
MicaiahReid Aug 30, 2021
44f7163
export eip1559 txs with @ganache/ethereum-tx
MicaiahReid Sep 1, 2021
333a433
remove unused receipt params
MicaiahReid Sep 1, 2021
4215ae9
add tests for calculating baseFeePerGas
MicaiahReid Sep 1, 2021
dd917ed
fix bug with block.toJSON
MicaiahReid Sep 3, 2021
abd99ba
add effectiveGasPrice and methods to update
MicaiahReid Sep 3, 2021
8e1d289
order/reorder tx pool based off of effectiveGasPrice
MicaiahReid Sep 3, 2021
e4010e1
add capacity enum to miner
MicaiahReid Sep 3, 2021
13a81fa
remove unnecessary data
MicaiahReid Sep 7, 2021
ee49a30
remove instamine from miner. have calcNextBaseFee to return buff
MicaiahReid Sep 7, 2021
8ca42e7
add back gasPrice to receipt
MicaiahReid Sep 7, 2021
c80a003
test for miner and txPool ordering post london
MicaiahReid Sep 7, 2021
84184b4
add miner design decisions
MicaiahReid Sep 7, 2021
9ad02e6
initialize baseFeePerGas as an estimate on eip1559 tx
MicaiahReid Sep 7, 2021
4143a46
fix test that broke due to typed tx hash fix.
MicaiahReid Sep 7, 2021
2a6b1df
remove todo
MicaiahReid Sep 7, 2021
9196e8b
add `london` to `TRANSACTION_DATA_NON_ZERO_GAS`
davidmurdoch Sep 7, 2021
10aceb4
remove to-do and unnecessary conversion of datatype
MicaiahReid Sep 8, 2021
39791ec
improving "it" statements in tests
MicaiahReid Sep 8, 2021
53d841a
clarify comments in test
MicaiahReid Sep 8, 2021
4ba7e37
remove .only from test 😬
MicaiahReid Sep 8, 2021
4534884
add JSDOC for Heap.prototype.refresh and refresher
davidmurdoch Sep 9, 2021
43e3c77
set higher gas price for in revert test so CI will run
davidmurdoch Sep 9, 2021
3054f48
make tests pass
davidmurdoch Sep 16, 2021
e5ba47c
Fix genesis block parent hash
davidmurdoch Sep 16, 2021
eb2e95f
tx 1 and 2 tests shouldn't include 27 in their v values
davidmurdoch Sep 16, 2021
6fe0fd0
make transaction logging easier to read
davidmurdoch Sep 16, 2021
d7bc2c9
fix racey test
davidmurdoch Sep 16, 2021
cbecdfc
fix test comment typo
davidmurdoch Sep 17, 2021
874e9db
ignore logging output on chatty block test
davidmurdoch Sep 17, 2021
6489b60
update docs
davidmurdoch Sep 17, 2021
8f22af5
remove unused import
davidmurdoch Sep 17, 2021
93f50b1
undo some unnecessary changes
davidmurdoch Sep 17, 2021
0c7a271
add JSDOC to miner's new Capacity enum
davidmurdoch Sep 17, 2021
ca50436
use blockchain var
davidmurdoch Sep 17, 2021
d6206ad
use `Capacity` enum for call to `mine`
davidmurdoch Sep 17, 2021
1ec93f5
remove unused imports
davidmurdoch Sep 17, 2021
3e6b59a
fix comment typo
davidmurdoch Sep 17, 2021
c5e83d0
remove infinite test timeout
davidmurdoch Sep 17, 2021
e6e3571
remove unused dep
davidmurdoch Sep 17, 2021
ded9da3
fix type
davidmurdoch Sep 17, 2021
89a2657
don't skip all the tests :facepalm:
davidmurdoch Sep 17, 2021
90a4784
remove testing promise thing
davidmurdoch Sep 17, 2021
4931230
revert back to ignoring
davidmurdoch Sep 17, 2021
27e39ec
update docs
davidmurdoch Sep 17, 2021
bd7e6db
Remove unused import
MicaiahReid Sep 17, 2021
ab01639
remove test
davidmurdoch Sep 17, 2021
108240f
update docs
davidmurdoch Sep 17, 2021
1a556f0
Merge branch 'feat/eip-1559-tx-david-temp' of github.com:trufflesuite…
davidmurdoch Sep 17, 2021
f272389
fix comment typo
davidmurdoch Sep 17, 2021
641c60f
move miner's `refresher` off fthe miner class
davidmurdoch Sep 17, 2021
f93d1b6
try to fix github actions auth issue
davidmurdoch Sep 17, 2021
dd52708
short circuit in Wuantity.toBuffer
davidmurdoch Sep 17, 2021
b80b6fe
use bigint when doing gas math stuff
davidmurdoch Sep 17, 2021
dab86c0
fix tx type 1 signing error
davidmurdoch Sep 17, 2021
d75de71
always validate signature recovery ID
davidmurdoch Sep 17, 2021
7c73c80
update docs
davidmurdoch Sep 17, 2021
2f3ebca
rename repo-token to token in github actions
davidmurdoch Sep 17, 2021
7ec7b01
fix typo in github action config
davidmurdoch Sep 17, 2021
0c61590
fix typos
davidmurdoch Sep 17, 2021
67a48a5
fix typos
davidmurdoch Sep 17, 2021
d2e3a09
don't allow unlimited time in test
davidmurdoch Sep 17, 2021
68f6b53
use static eth_gasPrice for gas price in test
davidmurdoch Sep 17, 2021
8d583ee
undo whitespace change
davidmurdoch Sep 17, 2021
81bb0fd
Add error for transaction decode failure.
davidmurdoch Sep 17, 2021
34e702f
Update src/packages/utils/src/utils/heap.ts
davidmurdoch Sep 17, 2021
98324f0
rename lastMaxBlockBaseFee to maxPossibleBaseFee
davidmurdoch Sep 17, 2021
b3a22ae
rename calcMaxNBlocksBaseFee to calcNBlocksMaxBaseFee
davidmurdoch Sep 17, 2021
cb5feba
Merge branch 'feat/eip-1559-tx-david-temp' of github.com:trufflesuite…
davidmurdoch Sep 17, 2021
958cc40
move type def from runtime-block to block
davidmurdoch Sep 17, 2021
34d2240
update error message in test failure
davidmurdoch Sep 17, 2021
77b9561
update docs
davidmurdoch Sep 17, 2021
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
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
Expand Down Expand Up @@ -48,7 +50,8 @@ jobs:

steps:
- uses: actions/checkout@v2

with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: 14
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/ganache/ganache.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docs/assets/js/ganache/ganache.min.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
* @license MIT
*/

/*!
* @ganache/secp256k1
*
* @author David Murdoch
* @license MIT
*/

/*!
* The buffer module from node.js, for the browser.
*
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/ganache/ganache.min.js.map

Large diffs are not rendered by default.

218 changes: 109 additions & 109 deletions docs/index.html

Large diffs are not rendered by default.

Loading