good morning!!!!

Skip to content
Snippets Groups Projects
  1. Nov 01, 2020
  2. Oct 31, 2020
    • ledgerwatch's avatar
      Sharded state experiment based on call_traces stage run via integration (#1329) · cceb8c2c
      ledgerwatch authored
      * Initial work on state shards
      
      * Fix compile errors
      
      * Intermediate
      
      * Implement dispatcher
      
      * Implemented sharded reader
      
      * No cache
      
      * Print comms
      
      * No prepopulation
      
      * Print dispatcher activity
      
      * Print more
      
      * Print errors
      
      * Fix dispatcher
      
      * Remove logging
      
      * Dispatcher to enforce initial barrier
      
      * Don't print that much
      
      * Turn off cache pre-seeting for state sharding
      
      * Artificial latency, fixed number of blocks to execute
      
      * Fix
      cceb8c2c
  3. Oct 30, 2020
    • Giulio Rebuffo's avatar
      3d5f7ab8
    • Horacio Mijail Antón Quiles's avatar
      Opcode tracer (#1320) · ed1819ec
      Horacio Mijail Antón Quiles authored
      * OpcodeTracer
      
      * Cleanup, rename to opcode_tracer
      
      * Bring back check_change_sets, remove repeated vars
      
      * Cleanup, gofmt
      
      * Linter, cleanup
      
      * Rename "segments" to "basic blocks", "bblocks"
      
      * gofmt
      
      * Lintci madness
      ed1819ec
    • Alex Sharov's avatar
      mdbx_exclusive_open_for_migrations (#1326) · 99af6c45
      Alex Sharov authored
      99af6c45
    • Suhabe Bugrara's avatar
      CFG analysis (#1327) · b1872791
      Suhabe Bugrara authored
      
      * First
      
      * More on SA interpreter
      
      * Fixup
      
      * Add cfg action to hack binary that invokes the SaInterpreter. Added an operation handler for PUSH1
      
      * refactor cfg tests into separate file
      
      * Move cfg tests into separate file
      
      * More refactoring into new file
      
      * dataflow interpreter
      
      * work on cfg0
      
      * finish cfg0
      
      * df works on base examples
      
      * refactor into dataflow spec
      
      * add bounded stack
      
      * add harder example
      
      * fix switch pass thru
      
      * fix switch pass thru
      
      * bug fix, and better printing
      
      * manual merge
      
      * restore call to test gencfg
      
      * abstract interpretation based cfg analysis
      
      * fix post signature
      
      * use uint256 instead uint64, add post function
      
      * preprocess stmts
      
      * initial implementation of resolve
      
      * fix resolve
      
      * fix resolve
      
      * print stmts for edges
      
      * print stmts for edges
      
      * print states
      
      * print states
      
      * bug fixes, debugging
      
      * fix jumpi dest - first working impl
      
      * reachability analysis to filter out dead edges
      
      * add all transfer functions
      
      * larger contract bytecodes from solc compiler
      
      * simple solidity contract goes thru
      
      * add deposit contract bytecode
      
      * rename deposit contract test
      
      * fix new contract arg
      
      * Address non-determinism leading to imprecise results
      
      * improve debugging output
      
      * improve debugging output
      
      * improve debugging output
      
      * fix for bug causing incorrect analysis results
      
      * fix for bug causing incorrect analysis results
      
      * fix for bug causing incorrect analysis results
      
      * add more test cases
      
      * fix coverage bug
      
      * debugging for non-termination
      
      * fix bad fixpoint check
      
      * fix data inference
      
      * fix transfer function for halting stmts
      
      * switch to deposit contract test, disable debugging
      
      * add anly counter to viz, fix stmt.valid check
      
      * show all preds, adjust anlycounter behavior
      
      * dfs instead of bfs to fail earlier
      
      * viz improvements
      
      * add worklist size to viz
      
      * add test case for private functions
      
      * valueset analysis
      
      * add more checks to fail earlier in the analysis to help debugging, improve debugging output, catch additional bad jumps
      
      * delete old code
      
      * delete old code
      
      * delete old code
      
      * fix up minor changes to jump table
      
      * copy over comments from cgf-1 branch
      
      * remove minor diffs
      
      * add recompiled deposit contract
      
      * graph viz
      
      * cleanup/refactoring
      
      * initial impl of viz
      
      * script to run cfg anly and generate dot file
      
      * div example
      
      * accept bytecode from cmd line
      
      * add minimal deposit contract example
      
      * replace valueset analysis with stackset analysis
      
      * get in sync with master
      
      * sync with master
      
      * fix linting
      
      * fix linting
      
      * fix linting
      
      * reformatting
      
      * fix linting
      
      * fix linting
      
      * fix linting
      
      * fix linting
      
      * fix linting
      
      * fix linting
      
      * fix linting
      
      * harness for running over all contracts
      
      * refactor anly, track coverage metrics
      
      * breakdown unresolved into different types, fix bad opcode bug
      
      * sort programs by frequency
      
      * ingest used contracts from bigquery
      
      * performance, concurrency, bug fixes
      
      * more test cases, handle invalid jumps differently, remove duplicate edges, report analytics limit
      
      * simplify concurrency
      
      * correctly track short stack
      
      * add new transfer function, fix stack len
      
      * variable stack length, perf opts, inc anly count limit
      
      * profiling
      
      * test case for large state size
      
      * use custom hash function for control
      
      * timeouts
      
      * cfg.sh
      
      * increase to 5 min timeout
      
      * track elpased time
      
      * use ptr
      
      * increase limits
      
      * increase limits
      
      * fix mem leak
      
      * debug mem leak
      
      * debug mem leak
      
      * lower resource limits
      
      * fix nil error
      
      * add new lattice element
      
      * re-enable
      
      * cut down limits
      
      * preliminary proof checker
      
      * refactor batch mode to run cfg in subprocess,put memory limit
      
      * remove hard wiring
      
      * adjust limits
      
      * update metrics tracking
      
      * more succinct proof checker
      
      * rewrite checker
      
      * bug fixes on checker
      
      * bug fix
      
      * remove print stmts
      
      * track proof size
      
      * print proof size
      
      * don't panic on process error
      
      * compress proof
      
      * go mody tidy
      
      * code formatting
      
      * fix capitalization
      
      * fix linting
      
      * fix linting
      
      * fix linting
      
      * fix linting
      
      * fix linting
      
      * remove unnecessary files
      
      * fix typo
      
      Co-authored-by: default avatarAlexey Akhunov <akhounov@gmail.com>
      b1872791
    • Igor Mandrigin's avatar
      fix git commit when using `make docker` (#1323) · 1b2bf8bf
      Igor Mandrigin authored
      * fix git commit when using `make docker`
      
      * avoid warning about LATEST_COMMIT for linters in Docker
      1b2bf8bf
    • Alex Sharov's avatar
    • Horacio Mijail Antón Quiles's avatar
    • Alex Sharov's avatar
      mdbx_fix_err_check (#1324) · ed7dd7ac
      Alex Sharov authored
      ed7dd7ac
    • alex.sharov's avatar
      add incarnation definition · 1cf5ee27
      alex.sharov authored
      1cf5ee27
  4. Oct 29, 2020
  5. Oct 28, 2020
  6. Oct 27, 2020
  7. Oct 26, 2020
    • Igor Mandrigin's avatar
      geth-1.9.23: post-rebase fixups · 0f1b2f35
      Igor Mandrigin authored
      0f1b2f35
    • Felix Lange's avatar
      params: go-ethereum v1.9.23 stable · aa60deec
      Felix Lange authored
      # Conflicts:
      #	params/version.go
      aa60deec
    • Felix Lange's avatar
      p2p/discover: implement v5.1 wire protocol (#21647) · 0c54d2e6
      Felix Lange authored
      This change implements the Discovery v5.1 wire protocol and
      also adds an interactive test suite for this protocol.
      # Conflicts:
      #	cmd/devp2p/discv5cmd.go
      #	p2p/discover/v5_encoding.go
      #	p2p/discover/v5_encoding_test.go
      #	p2p/discover/v5_udp.go
      #	p2p/discover/v5_udp_test.go
      #	p2p/discover/v5wire/session.go
      0c54d2e6
    • Martin Holst Swende's avatar
    • gary rong's avatar
      params: update CHTs (#21706) · ee6e0cbd
      gary rong authored
      ee6e0cbd
    • Marius van der Wijden's avatar
      accounts/keystore: fix flaky test (#21703) · ac604670
      Marius van der Wijden authored
      * accounts/keystore: add timeout to test to prevent failure on travis
      
      The TestWalletNotifications test sporadically fails on travis.
      This is because we shutdown the event collection before all events are received.
      Adding a small timeout (10 milliseconds) allows the collector to be scheduled
      and to consume all pending events before we shut it down.
      
      * accounts/keystore: added newlines back in
      
      * accounts/keystore: properly fix the walletNotifications test
      ac604670
    • Martin Holst Swende's avatar
      miner: don't interrupt mining after successful sync (#21701) · 735c5b63
      Martin Holst Swende authored
      
      * miner: exit loop when downloader Done or Failed
      
      Following the logic of the comment at the method,
      this fixes a regression introduced at 7cf56d6f
      , which would allow external parties to DoS with
      blocks, preventing mining progress.
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: remove ineff assign (lint)
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: update test re downloader events
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * Revert "miner: remove ineff assign (lint)"
      
      This reverts commit eaefcd34ab4862ebc936fb8a07578aa2744bc058.
      
      * Revert "miner: exit loop when downloader Done or Failed"
      
      This reverts commit 23abd34265aa246c38fc390bb72572ad6ae9fe3b.
      
      * miner: add test showing imprecise TestMiner
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: fix waitForMiningState precision
      
      This helper function would return an affirmation
      on the first positive match on a desired bool.
      
      This was imprecise; it return false positives
      by not waiting initially for an 'updated' value.
      
      This fix causes TestMiner_2 to fail, which is
      expected.
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: remove TestMiner_2 demonstrating broken test
      
      This test demonstrated the imprecision of the test
      helper function waitForMiningState. This function
      has been fixed with 6d365c2851, and this test test
      may now be removed.
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: fix test regarding downloader event/mining expectations
      
      See comment for logic.
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: add test describing expectations for downloader/mining events
      
      We expect that once the downloader emits a DoneEvent,
      signaling a successful sync, that subsequent StartEvents
      are not longer permitted to stop the miner.
      
      This prevents a security vulnerability where forced syncs via
      fake high blocks would stall mining operation.
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: use 'canStop' state to fix downloader event handling
      
      - Break downloader event handling into event
      separating Done and Failed events. We need to
      treat these cases differently since a DoneEvent
      should prevent the miner from being stopped on
      subsequent downloader Start events.
      
      - Use canStop state to handle the one-off
      case when a downloader first succeeds.
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: improve comment wording
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: start mining on downloader events iff not already mining
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: refactor miner update logic w/r/t downloader events
      
      This makes mining pause/start logic regarding downloader
      events more explicit. Instead of eternally handling downloader
      events after the first done event, the subscription is closed
      when downloader events are no longer actionable.
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: fix handling downloader events on subcription closed
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: (lint:gosimple) use range over chan instead of for/select
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      
      * miner: refactor update loop to remove race condition
      
      The go routine handling the downloader events handling
      vars in parallel with the parent routine, causing a
      race condition.
      
      This change, though ugly, remove the condition while
      still allowing the downloader event subscription to be
      closed when the miner has no further use for it (ie DoneEvent).
      
      * miner: alternate fix for miner-flaw
      
      Co-authored-by: default avatarmeows <b5c6@protonmail.com>
      # Conflicts:
      #	miner/miner_test.go
      735c5b63
Loading