good morning!!!!

Skip to content
Snippets Groups Projects
  1. May 05, 2020
  2. May 04, 2020
  3. May 01, 2020
  4. Apr 30, 2020
  5. Apr 29, 2020
    • Péter Szilágyi's avatar
    • 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
  6. Apr 28, 2020
  7. Apr 27, 2020
  8. Apr 24, 2020
  9. Apr 22, 2020
    • Marius van der Wijden's avatar
      accounts/keystore: fix double import race (#20915) · 38aab0aa
      Marius van der Wijden authored
      * accounts/keystore: fix race in Import/ImportECDSA
      
      * accounts/keystore: added import/export tests
      
      * cmd/geth: improved TestAccountImport test
      
      * accounts/keystore: added import/export tests
      
      * accounts/keystore: fixed naming
      
      * accounts/keystore: fixed typo
      
      * accounts/keystore: use mutex instead of rwmutex
      
      * accounts: use errors instead of fmt
      38aab0aa
    • icodezjb's avatar
      core: mirror full node reorg logic in light client too (#20931) · 2ec72321
      icodezjb authored
      
      * core: fix the condition of reorg
      
      * core: fix nitpick to only retrieve head once
      
      * core: don't reorg if received chain is longer at same diff
      
      Co-authored-by: default avatarPéter Szilágyi <peterke@gmail.com>
      2ec72321
    • 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
    • ucwong's avatar
      go.mod : update fastcache to 1.5.7 (#20936) · c60c0c97
      ucwong authored
      c60c0c97
    • Péter Szilágyi's avatar
      Merge pull request #20953 from holiman/fixdlseek · 870d4c49
      Péter Szilágyi authored
      core/state/snapshot: make difflayer account iterator seek operation inclusive
      870d4c49
  10. Apr 21, 2020
Loading