Commit Graph

  • f3da993713
    eth/protocols/eth: remove magic numbers in test Mr-Leshiy 2020-12-11 12:54:16 +02:00
  • 017831dd5b
    core, eth: split eth package, implement snap protocol (#21482) Péter Szilágyi 2020-12-14 11:27:15 +02:00
  • 5a2d8d9a58 les, light: improve lightchain rjl493456442 2020-11-24 20:08:49 +08:00
  • b8c15e6fac
    graphql: use a non-empty chain for tests Martin Holst Swende 2020-12-14 08:57:17 +01:00
  • 745ff783a4 rpc: increase max request content length Martin Boehm 2020-12-13 16:13:05 +01:00
  • a135de141d
    docs: fix issues found by w3c link checker (#22010) ligi 2020-12-13 16:06:10 +01:00
  • ad79c7cec0
    Merge branch 'gh-pages' into links_fix1 ligi 2020-12-13 04:23:35 +01:00
  • 04fdedf4b2
    docs: Fix issues found by w3c link checker ligi 2020-12-13 04:20:34 +01:00
  • 00d10e610f
    cmd/abigen: clarify abigen alias flag usage (#21875) Shiming 2020-12-13 00:36:32 +08:00
  • 6211c9f69e
    Update cmd/abigen/main.go Martin Holst Swende 2020-12-12 17:34:50 +01:00
  • cd7942cadb
    tests: update the reference tests Martin Holst Swende 2020-12-12 10:46:32 +01:00
  • 38c1d592b7
    abi/bind: fix error-handling in generated wrappers for functions returning structs (#22005) Connor Stein 2020-12-12 04:16:34 -05:00
  • e539537ce5 trie: move cache from db to trie Guillaume Ballet 2020-12-11 18:47:41 +01:00
  • 12a39dae48 trie: move binkey to its own file Guillaume Ballet 2020-12-11 16:57:14 +01:00
  • 84eb5a4d96 Graphviz representation of a binary trie for debug Guillaume Ballet 2020-12-10 19:56:23 +01:00
  • da24f3994d trie: add a naive db layer for binary tries Guillaume Ballet 2020-12-04 19:16:49 +01:00
  • f4723b53d0 trie: use empty nodes instead of hashes to save memory Guillaume Ballet 2020-11-19 16:30:55 +01:00
  • 438b420af7 trie: initial implementation of binary tries Guillaume Ballet 2020-10-30 18:34:15 +01:00
  • 9aa606358e err handling on functions returning structs connorwstein 2020-12-11 12:50:38 -05:00
  • 5bd0c32988 add fixes after rebase Ilnur Galiev 2020-12-11 20:03:17 +03:00
  • 557d2eda5d docs: update traceTransaction docs Sina Mahmoodi 2020-12-11 17:35:40 +01:00
  • 454b49c037 Merge branch 'master' into bx/v1.9.25-private-transaction-api Kevin Chen 2020-12-11 09:59:37 -06:00
  • 7ed5a77324 add fixes after rebase Ilnur Galiev 2020-12-11 15:05:35 +03:00
  • 31b12259e5 fix conflicts after rebase Ilnur Galiev 2020-12-08 17:02:50 +03:00
  • 74a6ff9a99 EIP1559 (#31) Ilnur Galiev 2020-12-07 18:55:01 +03:00
  • 5784a0e217 EIP1559 (#31) Ramil Amerzyanov 2020-11-05 15:09:03 +03:00
  • eaa6339fc9 rework of function CalcBaseFee (#24) Ilnur 2020-10-12 18:40:09 +03:00
  • 9ba90b9bd4 negative guard; update unit tests Ian Norden 2020-09-03 13:52:35 -05:00
  • c7fc543c69 baseFee increment magnitude minimum of 1; -1 when parent gas usage == parent gas target Ian Norden 2020-08-28 20:17:22 -05:00
  • c67ad3fc8a testing basefee minimum tolerances Ian Norden 2020-08-27 22:05:17 -05:00
  • 90d7ce5065 fix miner tests; exposes AddLocal errs to make debuging easier Ian Norden 2020-08-24 19:17:45 -05:00
  • 528bacab31 enforce 1559 total gas limit; don't allow BaseFee to drop to 0 Ian Norden 2020-08-21 18:00:08 -05:00
  • 6e7a5886f8 add basefee under consensus in Clique engine Ian Norden 2020-07-13 14:07:36 -05:00
  • 2c3c8a5061 move yoloV1 after EIP blocks in config Ian Norden 2020-07-06 23:42:31 -05:00
  • 3978cf1a0f unit tests for new basefee and gas target methods Ian Norden 2020-07-06 01:00:50 -05:00
  • 81e203c9dd revert back to using miner defined gas limit; calc baseFee using EIP1559_GAS_TARGET Ian Norden 2020-07-05 14:55:47 -05:00
  • 029dd30ac3 remove per-tx gas limit Ian Norden 2020-07-03 23:30:06 -05:00
  • 82efd96bc2 ensure basefee in genesis block is set if eip1559forkblocknumber=0 Ian Norden 2020-07-03 21:58:22 -05:00
  • 438e24b59e adjustments to get building and tests passing after rebase onto 1.9.15 Ian Norden 2020-07-03 15:27:26 -05:00
  • c6025f6b2d add guard to backend to get remaining tests passing; temporary while we set EIP1559 params by CLI Ian Norden 2020-05-05 15:15:08 -05:00
  • 35ee3645fd cli flags must be lowercase and cli help already prints defaults Ian Norden 2020-05-05 13:30:17 -05:00
  • 6197e24a02 make EIP1559 params CLI configurable for testing Ian Norden 2020-05-05 12:59:25 -05:00
  • 8b931a7055 enforce eip1559 gasPrice >= baseFee; update MaxGasEIP1559 to 20 mil Ian Norden 2020-04-30 08:52:15 -05:00
  • 9745ef09a7 PR review refactoring and bug fix Ian Norden 2020-03-25 01:40:09 -05:00
  • 5cb030e644 PR review fixes Ian Norden 2020-02-03 13:44:33 -06:00
  • 3a1363568c misc fixes Ian Norden 2020-02-02 16:49:44 -06:00
  • 5109b1a181 gas oracle work Ian Norden 2020-01-14 16:10:47 -06:00
  • 6af62d0be8 per-tx gas limit under consensus Ian Norden 2020-01-14 15:25:33 -06:00
  • dfa6020f40 enforce per-tx gas limit in tx_pool Ian Norden 2020-01-14 14:35:39 -06:00
  • 5d623f71cc fix VerifyEIP1559BaseFee so that ethash engine enforces exact BaseFee value consensus Ian Norden 2020-01-13 14:15:07 -06:00
  • 2a6babfe8b change TARGET_GASUSED from 8m to 10m Ian Norden 2020-01-13 14:03:25 -06:00
  • 24c4a5481e gas oracle work Ian Norden 2020-01-10 15:30:04 -06:00
  • 85b1da1f69 fixes after rebase Ian Norden 2020-01-09 16:28:29 -06:00
  • 8c071b90ba blockchain_test Ian Norden 2019-12-13 07:51:06 -06:00
  • 9cb85ec845 tx_pool_tests and benchmarks for EIP1559 Ian Norden 2019-12-09 14:52:34 -06:00
  • f75c8a0aeb transaction.Cost() needs to be aware of BaseFee to calculate cost for EIP1559 trxs; tx_list.go needs to use derived GasPrice for EIP1559 transactions and priceHeap needs to be aware of BaseFee to sort by both legacy and EIP1559 prices Ian Norden 2019-12-09 14:52:02 -06:00
  • d9c593969d mobile feeCap and gasPremium => *BigInt instead of *big.Int; add getter and setter methods Ian Norden 2019-12-06 15:46:34 -06:00
  • 4bed66642a begin consensus tests Ian Norden 2019-12-06 14:14:25 -06:00
  • 79e5d625f6 IsEWASM after IsEIP1559 forks in config so we don't need EWASM engine for EIP1559 tests; gasPrice in tx needs to not be required Ian Norden 2019-12-06 14:00:20 -06:00
  • 25c7cdfb12 adjust verifyHeaders to validate GasLimit as calculated by new CalcGasLimitAndBaseFee function Ian Norden 2019-12-05 14:20:51 -06:00
  • 644b972164 worker.commitTransaction() calc ratio using MaxGasEIP1559 instead of header.GasLimit if trx is of type 1559 Ian Norden 2019-11-22 13:31:52 -06:00
  • 5814777d03 simplify calculations in state_transition.go; add guards and derive gasPrice in TxPool.validateTx Ian Norden 2019-11-20 16:26:10 -06:00
  • 2a35a7d36b apply gas pool/trx execution changes across pkgs Ian Norden 2019-11-12 14:19:15 -06:00
  • 15d1a8c482 gas pool/trx execution changes to core Ian Norden 2019-11-08 09:45:50 -06:00
  • 02387d26fb apply changes across all pkgs Ian Norden 2019-11-07 13:05:24 -06:00
  • 55b4a286f4 tx Enode/DecodeRLP methods Ian Norden 2019-11-06 16:25:13 -06:00
  • d19570aa49 ChainConfig changes, compatibility checks, protocol params Ian Norden 2019-09-12 14:01:24 -05:00
  • 32f1ee2992 fix trx pool gas limits; cleanup commitTransactions() Ian Norden 2020-01-06 15:12:39 -06:00
  • f2f1158c28 TxByPrice.Less() adjusted to work for both legacy and derived EIP1559 gas price; modify tests Ian Norden 2019-12-23 16:57:36 -06:00
  • af9c0ae46f EIP1559 updates for SendTxArgs in signer pkg Ian Norden 2019-12-16 13:33:48 -06:00
  • 219ae07a01 blockchain_test Ian Norden 2019-12-13 07:51:06 -06:00
  • 6e6a999ca0 worker_test and fixes Ian Norden 2019-12-13 00:36:47 -06:00
  • bc11f962ea run gencodec on new genesis struct Ian Norden 2019-12-12 22:37:16 -06:00
  • ebd40d7ebe block_validator_test and fixes Ian Norden 2019-12-12 22:36:53 -06:00
  • e51da52987 fix trx decoding; test Ian Norden 2019-12-11 16:13:37 -06:00
  • cf125d6e15 tx_pool_tests and benchmarks for EIP1559 Ian Norden 2019-12-09 14:52:34 -06:00
  • 397aaa3f58 transaction.Cost() needs to be aware of BaseFee to calculate cost for EIP1559 trxs; tx_list.go needs to use derived GasPrice for EIP1559 transactions and priceHeap needs to be aware of BaseFee to sort by both legacy and EIP1559 prices Ian Norden 2019-12-09 14:52:02 -06:00
  • 700f41f49a
    Merge branch 'master' into snapshot-sync-b Martin Holst Swende 2020-12-11 15:57:51 +01:00
  • 4d48980e74
    core, eth, les: implement unclean-shutdown marker (#21893) Martin Holst Swende 2020-12-11 15:56:00 +01:00
  • 809bce1e19 Merge tag 'v1.9.25' into mempool-feed Austin Roberts 2020-12-11 08:52:48 -06:00
  • c49aae9870
    consensus: refactor FinalizeAndAssemble to use Finalize (#21993) Mr-Leshiy 2020-12-11 16:49:44 +02:00
  • 8132e6f462 finish chain_maker_tests for EIP1559 Ian Norden 2019-12-06 16:10:00 -06:00
  • ca4869c0a0 mobile feeCap and gasPremium => *BigInt instead of *big.Int; add getter and setter methods Ian Norden 2019-12-06 15:46:34 -06:00
  • 08a1a395cc fix guards in simulated.callContract so that bind_tests work Ian Norden 2019-12-06 15:44:51 -06:00
  • 17ab173147 begin consensus tests Ian Norden 2019-12-06 14:14:25 -06:00
  • 90720d218c evm needs to handle nil GasPrice; genesis needs to handle BaseFee Ian Norden 2019-12-06 14:13:35 -06:00
  • b8aa8a9c21 IsEWASM after IsEIP1559 forks in config so we don't need EWASM engine for EIP1559 tests; gasPrice in tx needs to not be required Ian Norden 2019-12-06 14:00:20 -06:00
  • 40c39c97f9 adjust verifyHeaders to validate GasLimit as calculated by new CalcGasLimitAndBaseFee function Ian Norden 2019-12-05 14:20:51 -06:00
  • 1db9337851 initialization => activation; calcGasLimitAndBaseFee doesn't need gasFloor and gasCeil Ian Norden 2019-12-05 13:46:11 -06:00
  • 413e28b37b use new CalcGasLimitAndBaseFee function Ian Norden 2019-11-26 22:22:26 -06:00
  • 5aecf20dd6 CalcGasLimitAndBaseFee function Ian Norden 2019-11-25 16:17:17 -06:00
  • cc4480cd7b modify ethash.SealHash() Ian Norden 2019-11-20 14:54:05 -06:00
  • 5863983f5c modify verifyHeader() for ethash Ian Norden 2019-11-20 14:18:06 -06:00
  • 3723ac7245 worker.commitTransaction() calc ratio using MaxGasEIP1559 instead of header.GasLimit if trx is of type 1559 Ian Norden 2019-11-22 13:31:52 -06:00
  • e79a64d4b6 simplify calculations in state_transition.go; add guards and derive gasPrice in TxPool.validateTx Ian Norden 2019-11-20 16:26:10 -06:00
  • d56279b492 add guards to backends/simulated.go callContract and SendTransaction Ian Norden 2019-11-19 13:51:58 -06:00
  • acced18bdd fix refund and coinbase credit Ian Norden 2019-11-19 13:23:20 -06:00
  • 6384ab23f5 apply gas pool/trx execution changes across pkgs Ian Norden 2019-11-12 14:19:15 -06:00
  • 680ec5d6e9 gas pool/trx execution changes to core Ian Norden 2019-11-08 09:45:50 -06:00
  • 68d7f384a1 simplify EncodeRLP; cleanup Ian Norden 2019-11-20 15:02:50 -06:00