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

all: implement eip-1559 #22837

Merged
merged 19 commits into from
May 17, 2021
Merged

all: implement eip-1559 #22837

merged 19 commits into from
May 17, 2021

Commits on May 7, 2021

  1. all: implement eip-1559

    core/types: add back gasPrice
    
    core/types: add base fee to block
    
    params: add eip-1559 constants
    
    consensus: verify base fee calculation
    
    consensus: swap out custom max fn for common.math impl
    
    params,consensus: add test fork Aleut
    
    core: implement gas accounting for txs after eip-1559
    
    accounts,interfaces,internal: tweak msg interface to support feeCap + tip
    
    core: add base fee to effective gas price
    
    core/types: add 1559 header serialization and block test
    
    all: e2e test for eip-1559 plus some bug fixes
    
    consensus: add test for block elasticity
    
    consensus: add basefee to sealing hash and fix off-by-one bug in transition
    
    consensus: check 1559 headers in clique
    
    consensus/clique: update seal hasher to include basefee
    
    core/types: fix 1559 signing hash
    
    core: appease linter
    
    core/vm: add base fee opcode
    
    all: add comments and misc clean up
    
    core/types: rename to DynamicFeeTx
    
    internal/ethapi: add missing new msg parameter
    
    consensus/misc/eip1559: improve logging
    
    Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
    
    core/evm: default baseFee to 0 even when inactive
    
    core/consensus: add license text to eip1559 files
    
    core/types: update license date and simplify newmessage func
    
    params/config: update aleut chainid
    
    consensus/misc/eip1559: reduce big int allocations
    
    core/state_processor: fix block elasticity
    
    core/state_transition: throw if baseFee is invalid
    
    cmd/evm: add eip-1559 support for t8n
    
    core/types: add aliases for tip and feeCap json unmarshallers to match spec
    
    consensus/misc/eip1559: better invalid baseFee error msg
    
    core/evm: don't initialize basefee unless header includes it
    
    core,eth,les: calculate effective gas price in tx.AsMessage(..)
    
    consensus/misc/eip1559: check that base fee is not nil
    
    tests/init: add new aluet testing configs
    
    core/types/transaction_signing: update ACL reference in comment to AL
    
    core,consensus: pass in chain config to eip1559 functions
    
    all: clean up rebase
    
    params/config: update baikal london block to 500
    
    consensus: verify basefee not defined before clique fork, imporve errors
    
    cmd/evm: account for elasticity parameter in gas limit
    
    core: name base fee errors
    lightclient authored and fjl committed May 7, 2021
    Configuration menu
    Copy the full SHA
    c14c268 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    502a383 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dab16dc View commit details
    Browse the repository at this point in the history
  4. core/types: use new signer for london

    holiman authored and fjl committed May 7, 2021
    Configuration menu
    Copy the full SHA
    4007eb7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d3e468d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    30bc255 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    418099b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2f826d0 View commit details
    Browse the repository at this point in the history
  9. consensus: minor refactor

    holiman committed May 7, 2021
    Configuration menu
    Copy the full SHA
    642b970 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2021

  1. Configuration menu
    Copy the full SHA
    873565d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9116a7 View commit details
    Browse the repository at this point in the history
  3. cmd/evm: add testcases

    holiman committed May 9, 2021
    Configuration menu
    Copy the full SHA
    a0cbec1 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. Configuration menu
    Copy the full SHA
    c367ee6 View commit details
    Browse the repository at this point in the history
  2. consensus/misc: lint nits

    holiman committed May 10, 2021
    Configuration menu
    Copy the full SHA
    5189225 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5fa4084 View commit details
    Browse the repository at this point in the history
  4. params: add baikal bootnode

    holiman committed May 10, 2021
    Configuration menu
    Copy the full SHA
    1166bb0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    25426d2 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2021

  1. accounts/external: goimports

    holiman committed May 11, 2021
    Configuration menu
    Copy the full SHA
    22556d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a608c1 View commit details
    Browse the repository at this point in the history