1. 11 Dec, 2020 1 commit
  2. 10 Dec, 2020 3 commits
    • Alina's avatar
      createEOA setAccountNonce to 0 (#109) · cb4f29ef
      Alina authored
      cb4f29ef
    • Alina's avatar
      remove unused stateTransitionIndex (#108) · e596f566
      Alina authored
      * rm unused stateTransitionIndex
      e596f566
    • Kelvin Fichter's avatar
      Various fixes found while working on the fraud proving service (#97) · 1e438d4b
      Kelvin Fichter authored
      * Hotfix for decoding rlp values in state transitioner
      
      * Fix for empty code hash and storage roots
      
      * Experimenting with sequencer entrypoint
      
      * We may have messed up nuisance gas
      
      * Changed how we verify keys
      
      * Pad left in state transitioner
      
      * Added some experimental stuff
      
      * Add simplifications for state transitioner
      
      * Further simplifications
      
      * Fix for execution manager
      
      * A few optimizations
      
      * Experimental fixes
      
      * Temporarily change gas limit
      
      * Temp tx index fix
      
      * Fixed bug for generating single-node root hashes
      
      * Add events to state transitioner
      
      * Added revert messages to st
      
      * Added some logging to debug
      
      * Removed console.log in execution manager
      
      * Fixed tests, linted
      
      * Remove gas metering
      
      * Have init set storage root
      
      * Fixed account encoding
      
      * Fix for when storage values do not change
      
      * Added remaining fixes
      
      * Tweaks as per review
      
      * Another sm fix
      
      * More sm fixes
      
      * Fixes in the state manager
      
      * Added more comments
      
      * Fix compilation error
      
      * Another compilation error
      
      * Minor fixes re: review
      1e438d4b
  3. 09 Dec, 2020 4 commits
  4. 03 Dec, 2020 8 commits
  5. 02 Dec, 2020 5 commits
    • Georgios Konstantopoulos's avatar
      fix: Allow Multiple Fraud Proofs per State Root (#72) · 49dedea9
      Georgios Konstantopoulos authored
      * feat: allow multiple state transitioners per pre-state root by tx hash
      
      * test: specify tx hash when finalizing fraud verification
      
      * test: specify tx hash when recording gas spent
      
      * test: add test for multiple fraud proofs per stateroot
      
      * chore: remove redundant test
      
      * fix up test indexing and mock interface
      Co-authored-by: default avatarben-chain <ben@pseudonym.party>
      49dedea9
    • Kelvin Fichter's avatar
      Adds contract changes necessary for fraud prover (#88) · 4a3ef8f6
      Kelvin Fichter authored
      * Contract changes necessary for fraud prover
      
      * Small cleanup fix
      
      * Fix failing tests
      4a3ef8f6
    • Georgios Konstantopoulos's avatar
      Reward earliest fraud proof only (#65) · 12c436d4
      Georgios Konstantopoulos authored
      * fix(bond): always deposit requiredCollateral
      
      This means that we have to remove the setRequiredCollateral function to avoid:
      1. Publisher deposits, requiredCollateral goes up, publisher withdraws more than they deposited
      2. Publisher deposits, fraud happens, requiredCollateral goes up, more than the user's deposit gets
      distributed in fraud claims
      
      * fix(bond): remove redundant batchIndex parameter
      
      * feat(bond): claim from Publisher instead of state root
      
      This forces a 1:1 connection between a publisher's bond and a state root being claimed
      
      * feat(bond): set the earliest state root
      Co-authored-by: default avatarben-chain <ben@pseudonym.party>
      12c436d4
    • Kelvin Fichter's avatar
      5a57bb0b
    • Georgios Konstantopoulos's avatar
      Bond Manager Deposit bugfix (#64) · f24339f9
      Georgios Konstantopoulos authored
      * fix(bond): always deposit requiredCollateral
      
      This means that we have to remove the setRequiredCollateral function to avoid:
      1. Publisher deposits, requiredCollateral goes up, publisher withdraws more than they deposited
      2. Publisher deposits, fraud happens, requiredCollateral goes up, more than the user's deposit gets
      distributed in fraud claims
      
      * fix(bond): remove redundant batchIndex parameter
      f24339f9
  6. 30 Nov, 2020 3 commits
  7. 25 Nov, 2020 2 commits
  8. 24 Nov, 2020 1 commit
  9. 21 Nov, 2020 1 commit
    • Kevin Ho's avatar
      Update state commitment chain (#75) · 0125c1ec
      Kevin Ho authored
      * add configurable fraud proof window to stc
      
      * fix state commitment chain, add event
      
      * add required config field
      
      * fix merkle utils bug
      0125c1ec
  10. 20 Nov, 2020 2 commits
  11. 19 Nov, 2020 2 commits
  12. 18 Nov, 2020 3 commits
  13. 13 Nov, 2020 1 commit
  14. 12 Nov, 2020 1 commit
  15. 11 Nov, 2020 3 commits
    • Karl Floersch's avatar
      Fix deployment bug (#57) · 476eb8f1
      Karl Floersch authored
      476eb8f1
    • Kevin Ho's avatar
      EOA and Decompressor (#33) · f06c8652
      Kevin Ho authored
      * decompression (not working)
      
      * start EIP155 serialization
      
      * working decompressor
      
      * working CreateEOA, working native EIP155tx
      
      * all three tx types working
      
      * remove only
      
      * fix ECDSAUtil tests
      
      * restore original version of smock
      
      * add proxys
      
      * clean up tests
      
      * clean up decompressor tests
      
      * clean up ProxyDecompressor
      
      * clean up decompressor tests
      
      * add CREATEEOA, SETNONCE, GETNONCE tests
      
      * working ECDSAContractAccount
      
      * fix decompressor
      
      * renaming, add deploy
      
      * add proxyeoa test, cleanup
      
      * remove createEOA type, add extcodesize check
      
      * fix decompressor test
      
      * support create txs
      
      * Decompressor -> Entrypoint
      
      * use safeREVERT instead of requires
      
      * add isAuthenticated state manager test
      
      * update smock
      
      * fix sequencerEntrypoint test
      
      * add isAuthenticated
      
      * Revert "update smock"
      
      This reverts commit 286a222414accf9387dcd12ecbed0a66be586bc8.
      
      * fix test
      
      * Updates to EM
      
      * removed kall from contract account
      
      * Fixed SSLOAD and SSTORE problems
      
      * Fix some broken tests
      
      * Fix more bugs & rename to ProxyEOA
      
      * WIP fix call test
      
      * fix all tests
      
      * add gas check
      
      * update tests
      
      * lint and remove 2000 gas check
      
      * Add fees to default EOA (#56)
      Co-authored-by: default avatarKelvin Fichter <kelvinfichter@gmail.com>
      Co-authored-by: default avatarKarl Floersch <karl@karlfloersch.com>
      f06c8652
    • Daniel Luca's avatar
      Add Solidity syntax highlight. (#54) · 21b3e5ad
      Daniel Luca authored
      21b3e5ad