1. 11 Aug, 2021 1 commit
    • Mark Tyneway's avatar
      l2geth: allow RPC transactions to go to `address(0)` · 9d1ff999
      Mark Tyneway authored
      When the custom batch serialization was being used instead of RLP, a
      transaction being sent to `address(0)` was not allowed because that
      meant that it was a contract creation because there is no abi encoding
      for `nil`. To prevent collisions, transactions sent via RPC to
      `address(0)` were banned. Now the RLP transactions are being used, this
      check can be removed. It helps to reduce the diff from upstream geth.
      9d1ff999
  2. 10 Aug, 2021 5 commits
  3. 07 Aug, 2021 8 commits
  4. 06 Aug, 2021 3 commits
  5. 05 Aug, 2021 6 commits
  6. 04 Aug, 2021 2 commits
  7. 02 Aug, 2021 1 commit
  8. 31 Jul, 2021 2 commits
  9. 30 Jul, 2021 1 commit
    • Mark Tyneway's avatar
      l2geth: make block hashes deterministic · 11d46182
      Mark Tyneway authored
      The blockhashes can be non deterministic because there is not a global
      consensus in the existing deployment of the optimism network, instead
      each node runs with `--dev 0` meaning that it auto mines transactions
      itself. Previously, block hashes were non deterministic due to a
      different clique signing key being used but that was fixed so that
      a deterministic key is used for all nodes.
      
      This fixes the possibility of the block extradata being different which
      would result in different block hashes. The extradata is hard coded
      to be the same value as the release @eth-optimism/l2geth@0.4.6. In
      version 0.4.7, the underlying Dockerfile pulled in a patch release of
      the Go runtime which caused the extradata field to become different.
      The extradata field by default is the version of the software (which
      cannot change until the next regenesis), "geth", the go runtime version
      and the operating system.
      
      This will require a resync to make block hashes deterministic across the
      network.
      11d46182
  10. 28 Jul, 2021 2 commits
  11. 26 Jul, 2021 3 commits
  12. 20 Jul, 2021 6 commits