1. 11 Dec, 2024 1 commit
  2. 10 Dec, 2024 10 commits
  3. 09 Dec, 2024 4 commits
    • zhiqiangxu's avatar
      cannon: add `RegSP` constant (#13316) · a47441c8
      zhiqiangxu authored
      * add RegSP constant
      
      * address comments
      
      * fix natspec
      
      * update semver-lock
      a47441c8
    • Axel Kingsley's avatar
      supervisor: L1 Processor (#13206) · b6131611
      Axel Kingsley authored
      * supervisor: L1 Processor
      
      * comments ; test fixes
      
      * Make L1 source separate from RPC Addr
      
      * fix test
      
      * Add atomic bool for singleton processor routine
      b6131611
    • George Knee's avatar
      op-batcher: syncActions is aware of safe=unsafe edge case (#13292) · 53034d28
      George Knee authored
      * add additional test case for computeSyncActions
      
      * fixup test
      
      * check for unsafe = safe edge case & replace oldestUnsafeBlock with nextSafeBlock
      
      * add test case for no progress and safe=unsafe
      
      * refine log
      
      * rename variable
      
      * harmonize log ordering and labels
      
      * tighten up test behaviour for expectedLogs
      
      * add test case: no progress + unsafe=safe + blocks in state
      
      and fix behaviour so we don't try to fetch unsafe blocks if there aren't any, even when there are blocks in state
      
      * typo
      53034d28
    • Francis Li's avatar
      [conductor] Fix test race condition (#13314) · 2824b3b2
      Francis Li authored
      * Fix conductor test race condition
      
      * update
      
      * Address shell ci check
      
      * rerun CI for non-related issue
      2824b3b2
  4. 07 Dec, 2024 15 commits
  5. 06 Dec, 2024 10 commits
    • smartcontracts's avatar
      fix: have semver-lock build contracts by default (#13223) · f21f95e2
      smartcontracts authored
      semver-lock justfile task didn't build by default which was
      confusing. Now it does.
      f21f95e2
    • Sebastian Stammler's avatar
      txmgr: Disable default batcher tx send timeout (#13284) · 354337cf
      Sebastian Stammler authored
      With Holocene, batcher transaction ordering has to be strictly preserved, so
      trying to send a transaction candidate should just never timeout.
      Note that the txmgr will still bump fees to get a transaction for the
      same nonce submitted.
      354337cf
    • zhiqiangxu's avatar
      add `CheckAndDial` to avoid duplicate code (#13146) · d949564d
      zhiqiangxu authored
      * Don't repeat yourself
      
      * add a log for loadBlocksIntoState
      
      * op-batcher: fix log in batcher/driver.go
      
      * modify log
      
      ---------
      Co-authored-by: default avatarprotolambda <proto@protolambda.com>
      Co-authored-by: default avatarMatthew Slipper <me@matthewslipper.com>
      d949564d
    • Dmitry's avatar
      docs: Fix formatting issue in "Production Releases" Update README.md (#13281) · bb6f5001
      Dmitry authored
      Fix formatting issue in "Production Releases" section
      bb6f5001
    • Matthew Slipper's avatar
      ci: revert cannon-stf-verify (#13289) · 1ac5a35f
      Matthew Slipper authored
      1ac5a35f
    • George Knee's avatar
      0c9b1d52
    • Matthew Slipper's avatar
      ci: Remove go-mod-download (#13277) · 7c8d28dd
      Matthew Slipper authored
      7c8d28dd
    • Matthew Slipper's avatar
      cde5fd7a
    • zhiqiangxu's avatar
      fix loadBlocksIntoState (#13282) · e5498be3
      zhiqiangxu authored
      e5498be3
    • George Knee's avatar
      op-batcher: extract state pruning, block fetching and progress checking into a... · f9eaf1fc
      George Knee authored
      op-batcher: extract state pruning, block fetching and progress checking into a single pure function (#13060)
      
      * remove lastStoredBlock and lastL1Tip from BatchSubmitter state
      
      We can use the channelManager's state to infer lastStoredBlock. And lastL1Tip is actually unused.
      
      * change log line wording
      
      * fix typo
      
      * remove unecessary method
      
      * WIP first pass at computeSyncActions
      
      * computeSyncAction takes a ChannelStatuser interface
      
      also report fully inclusive range of blocks to load
      
      * add happy path test case
      
      * clearState is a pointer
      
      we can use nil value to signal no state clearing should be performed
      
      * add more test cases
      
      * add another test case
      
      * computeSyncActions only takes prevCurrentL1, not prevSyncStatus
      
      * add batcher restart case
      
      * safe chain reorg case
      
      * failed to make progress case
      
      * simplify log messages, print entire struct
      
      * add godoc
      
      * wire up computeSyncActions
      
      * cache prevCurrentL1 on BatchSubmitter
      
      * document stages
      
      * fix loadBlocksIntoState range interpretation
      
      * pass syncStatus, not pointer to syncStatus and add test case for no progress
      
      * check unsafe status before trying to get more blocks
      
      * do not panic on invalid block ranges
      
      return an error instead. This error is ultimated swallowed, matching existing behaviour.
      
      * test: add assetions and mock data about blockID passed to clearState
      
      * add readme section on max channel duration
      
      * add back unit tests for pruning methods
      
      * fix pruneBlocks behaviour when blockCursor pointed at block which is now pruned
      
      * rename waitForNodeSync to sequencerOutOfSync
      
      * Introduce SeqOutOfSyncError
      
      * move SyncActions code to a separate file
      
      * ChannelStatuser -> channelStatuser
      
      * SeqOutOfSyncError -> ErrSeqOutOfSync
      
      * move ctx to first position in fn signature
      
      * do not update cached prevCurrentL1 value if there is an ErrSeqOutOfSync
      
      * Always warn log when computeSyncActions returns an error
      
      * move sync actions test to separate file
      
      * computeSyncActions returns a bool, not an error
      
      There is only ever one kind of error returned
      
      * SyncActions -> syncActions
      
      * define local variables to aid readability
      
      * organise computeSyncActions and introduce startAfresh syncAction
      
      Add comments explaining logical flow: the checks get increasingly deep and we return early where possible.
      
      * undo changes to submodule
      
      * move test utils to sync_actions_test.go file
      
      * ensure pruneChannels clears currentChannel when appropriate
      
      * fix submodule"
      
      * don't try to get number of block if none exists
      
      * improve log
      
      * Update op-batcher/batcher/driver.go
      Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
      
      * use struct for block range, not array
      
      * use startAfresh in one more place
      
      * add test case for multiple channels
      
      also set HeadL1 to more realistic values (generally ahead of currentL1 due to nonzero confirmation depth)
      
      * print value of *struct  in Stringer
      
      * add test case when there are no blocks in state
      
      * Update op-batcher/batcher/sync_actions.go
      Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
      
      * tighten up log messages and test descriptions
      
      ---------
      Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
      f9eaf1fc