good morning!!!!

Skip to content
Snippets Groups Projects
  1. Nov 23, 2020
  2. Nov 13, 2020
  3. Nov 09, 2020
    • Martin Holst Swende's avatar
      trie, tests/fuzzers: implement a stacktrie fuzzer + stacktrie fixes (#21799) · 81678971
      Martin Holst Swende authored
      * trie: fix error in stacktrie not committing small roots
      
      * fuzzers: make trie-fuzzer use correct returnvalues
      
      * trie: improved tests
      
      * tests/fuzzers: fuzzer for stacktrie vs regular trie
      
      * test/fuzzers: make stacktrie fuzzer use 32-byte keys
      
      * trie: fix error in stacktrie with small nodes
      
      * trie: add (skipped) testcase for stacktrie
      
      * tests/fuzzers: address review comments for stacktrie fuzzer
      
      * trie: fix docs in stacktrie
      81678971
  4. Oct 29, 2020
    • Gary Rong's avatar
      core: improve snapshot journal recovery (#21594) · b63e3c37
      Gary Rong authored
      
      * core/state/snapshot: introduce snapshot journal version
      
      * core: update the disk layer in an atomic way
      
      * core: persist the disk layer generator periodically
      
      * core/state/snapshot: improve logging
      
      * core/state/snapshot: forcibly ensure the legacy snapshot is matched
      
      * core/state/snapshot: add debug logs
      
      * core, tests: fix tests and special recovery case
      
      * core: polish
      
      * core: add more blockchain tests for snapshot recovery
      
      * core/state: fix comment
      
      * core: add recovery flag for snapshot
      
      * core: add restart after start-after-crash tests
      
      * core/rawdb: fix imports
      
      * core: fix tests
      
      * core: remove log
      
      * core/state/snapshot: fix snapshot
      
      * core: avoid callbacks in SetHead
      
      * core: fix setHead cornercase where the threshold root has state
      
      * core: small docs for the test cases
      
      Co-authored-by: default avatarPéter Szilágyi <peterke@gmail.com>
      b63e3c37
  5. Oct 23, 2020
    • Martin Holst Swende's avatar
      all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 (#21509) · 6487c002
      Martin Holst Swende authored
      * core/vm, core/state: implement EIP-2929 + YOLOv2
      
      * core/state, core/vm: fix some review concerns
      
      * core/state, core/vm: address review concerns
      
      * core/vm: address review concerns
      
      * core/vm: better documentation
      
      * core/vm: unify sload cost as fully dynamic
      
      * core/vm: fix typo
      
      * core/vm/runtime: fix compilation flaw
      
      * core/vm/runtime: fix renaming-err leftovers
      
      * core/vm: renaming
      
      * params/config: use correct yolov2 chainid for config
      
      * core, params: use a proper new genesis for yolov2
      
      * core/state/tests: golinter nitpicks
      6487c002
  6. Sep 28, 2020
    • Marius van der Wijden's avatar
      accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) · 420b7865
      Marius van der Wijden authored
      
      * accounts/abi: refactored abi.Unpack
      
      * accounts/abi/bind: fixed error
      
      * accounts/abi/bind: modified template
      
      * accounts/abi/bind: added ToStruct for conversion
      
      * accounts/abi: reenabled tests
      
      * accounts/abi: fixed tests
      
      * accounts/abi: fixed tests for packing/unpacking
      
      * accounts/abi: fixed tests
      
      * accounts/abi: added more logic to ToStruct
      
      * accounts/abi/bind: fixed template
      
      * accounts/abi/bind: fixed ToStruct conversion
      
      * accounts/abi/: removed unused code
      
      * accounts/abi: updated template
      
      * accounts/abi: refactored unused code
      
      * contracts/checkpointoracle: updated contracts to sol ^0.6.0
      
      * accounts/abi: refactored reflection logic
      
      * accounts/abi: less code duplication in Unpack*
      
      * accounts/abi: fixed rebasing bug
      
      * fix a few typos in comments
      
      * rebase on master
      
      Co-authored-by: default avatarGuillaume Ballet <gballet@gmail.com>
      420b7865
  7. Sep 16, 2020
    • Marius van der Wijden's avatar
      tests/fuzzers/abi: add fuzzer for fuzzing package accounts/abi (#21217) · 89884dc3
      Marius van der Wijden authored
      * tests/fuzzers/abi: added abi fuzzer
      
      * accounts/abi: fixed issues found by fuzzing
      
      * tests/fuzzers/abi: update fuzzers, added repro test
      
      * tests/fuzzers/abi: renamed abi_fuzzer to abifuzzer
      
      * tests/fuzzers/abi: updated abi fuzzer
      
      * tests/fuzzers/abi: updated abi fuzzer
      
      * accounts/abi: minor style fix
      
      * go.mod: added go-fuzz dependency
      
      * tests/fuzzers/abi: updated abi fuzzer
      
      * tests/fuzzers/abi: make linter happy
      
      * tests/fuzzers/abi: make linter happy
      
      * tests/fuzzers/abi: comment out false positives
      89884dc3
  8. Sep 08, 2020
  9. Aug 10, 2020
  10. Jun 30, 2020
  11. Jun 03, 2020
  12. May 25, 2020
  13. May 11, 2020
  14. May 05, 2020
  15. May 04, 2020
  16. Apr 29, 2020
    • Gary Rong's avatar
      core/state/snapshot: implement storage iterator (#20971) · 26d271df
      Gary Rong authored
      * core/state/snapshot: implement storage iterator
      
      * core/state/snapshot, tests: implement helper function
      
      * core/state/snapshot: fix storage issue
      
      If an account is deleted in the tx_1 but recreated in the tx_2,
      the it can happen that in this diff layer, both destructedSet
      and storageData records this account. In this case, the storage
      iterator should be able to iterate the slots belong to new account
      but disable further iteration in deeper layers(belong to old account)
      
      * core/state/snapshot: address peter and martin's comment
      
      * core/state: address comments
      
      * core/state/snapshot: fix test
      26d271df
  17. Apr 22, 2020
    • Gary Rong's avatar
      all: seperate consensus error and evm internal error (#20830) · b9df7ecd
      Gary Rong authored
      * all: seperate consensus error and evm internal error
      
      There are actually two types of error will be returned when
      a tranaction/message call is executed: (a) consensus error
      (b) evm internal error. The former should be converted to
      a consensus issue, e.g. The sender doesn't enough asset to
      purchase the gas it specifies. The latter is allowed since
      evm itself is a blackbox and internal error is allowed to happen.
      
      This PR emphasizes the difference by introducing a executionResult
      structure. The evm error is embedded inside. So if any error
      returned, it indicates consensus issue happens.
      
      And also this PR improve the `EstimateGas` API to return the concrete
      revert reason if the transaction always fails
      
      * all: polish
      
      * accounts/abi/bind/backends: add tests
      
      * accounts/abi/bind/backends, internal: cleanup error message
      
      * all: address comments
      
      * core: fix lint
      
      * accounts, core, eth, internal: address comments
      
      * accounts, internal: resolve revert reason if possible
      
      * accounts, internal: address comments
      b9df7ecd
  18. Apr 09, 2020
    • Raw Pong Ghmoa's avatar
      cmd: deprecate --testnet, use named networks instead (#20852) · 15540ae9
      Raw Pong Ghmoa authored
      * cmd/utils: make goerli the default testnet
      
      * cmd/geth: explicitly rename testnet to ropsten
      
      * core: explicitly rename testnet to ropsten
      
      * params: explicitly rename testnet to ropsten
      
      * cmd: explicitly rename testnet to ropsten
      
      * miner: explicitly rename testnet to ropsten
      
      * mobile: allow for returning the goerli spec
      
      * tests: explicitly rename testnet to ropsten
      
      * docs: update readme to reflect changes to the default testnet
      
      * mobile: allow for configuring goerli and rinkeby nodes
      
      * cmd/geth: revert --testnet back to ropsten and mark as legacy
      
      * cmd/util: mark --testnet flag as deprecated
      
      * docs: update readme to properly reflect the 3 testnets
      
      * cmd/utils: add an explicit deprecation warning on startup
      
      * cmd/utils: swap goerli and ropsten in usage
      
      * cmd/geth: swap goerli and ropsten in usage
      
      * cmd/geth: if running a known preset, log it for convenience
      
      * docs: improve readme on usage of ropsten's testnet datadir
      
      * cmd/utils: check if legacy `testnet` datadir exists for ropsten
      
      * cmd/geth: check for legacy testnet path in console command
      
      * cmd/geth: use switch statement for complex conditions in main
      
      * cmd/geth: move known preset log statement to the very top
      
      * cmd/utils: create new ropsten configurations in the ropsten datadir
      
      * cmd/utils: makedatadir should check for existing testnet dir
      
      * cmd/geth: add legacy testnet flag to the copy db command
      
      * cmd/geth: add legacy testnet flag to the inspect command
      15540ae9
  19. Mar 31, 2020
  20. Mar 10, 2020
  21. Mar 03, 2020
  22. Feb 25, 2020
  23. Feb 13, 2020
  24. Dec 20, 2019
  25. Dec 10, 2019
  26. Nov 23, 2019
  27. Nov 20, 2019
  28. Oct 02, 2019
  29. Sep 26, 2019
  30. Sep 11, 2019
    • Felix Lange's avatar
      all: make unit tests work with Go 1.13 (#20053) · 39b0b1a1
      Felix Lange authored
      Most of these changes are related to the Go 1.13 changes to test binary
      flag handling. 
      
      * cmd/geth: make attach tests more reliable
      
      This makes the test wait for the endpoint to come up by polling
      it instead of waiting for two seconds.
      
      * tests: fix test binary flags for Go 1.13
      
      Calling flag.Parse during package initialization is prohibited
      as of Go 1.13 and causes test failures. Call it in TestMain instead.
      
      * crypto/ecies: remove useless -dump flag in tests
      
      * p2p/simulations: fix test binary flags for Go 1.13
      
      Calling flag.Parse during package initialization is prohibited
      as of Go 1.13 and causes test failures. Call it in TestMain instead.
      
      * build: remove workaround for ./... vendor matching
      
      This workaround was necessary for Go 1.8. The Go 1.9 release changed
      the expansion rules to exclude vendored packages.
      
      * Makefile: use relative path for GOBIN
      
      This makes the "Run ./build/bin/..." line look nicer.
      
      * les: fix test binary flags for Go 1.13
      
      Calling flag.Parse during package initialization is prohibited
      as of Go 1.13 and causes test failures. Call it in TestMain instead.
      39b0b1a1
    • Martin Holst Swende's avatar
  31. Aug 23, 2019
  32. Aug 15, 2019
  33. Aug 14, 2019
  34. Aug 08, 2019
    • Martin Holst Swende's avatar
      Eip 1884 v3 (#19743) · 3e993ff6
      Martin Holst Swende authored
      
      * core/vm, tests: implement EIP 1884, add support for feature-tests
      
      * core/vm: 1884-changes to extcodehash, move selfbalance opcode
      
      * tests: fix statetests
      
      * core/vm: move constants, address review concerns
      
      * core/vm: word formatting
      
      Co-Authored-By: default avatarPéter Szilágyi <peterke@gmail.com>
      3e993ff6
  35. May 21, 2019
  36. Apr 02, 2019
  37. Mar 06, 2019
Loading