Skip to content

bedrock: use block number for key in output oracle#2707

Merged
mergify[bot] merged 11 commits intodevelopfrom
m/eng-2207-key-on-number
Jun 17, 2022
Merged

bedrock: use block number for key in output oracle#2707
mergify[bot] merged 11 commits intodevelopfrom
m/eng-2207-key-on-number

Conversation

@maurelian
Copy link
Copy Markdown
Contributor

@maurelian maurelian commented Jun 7, 2022

Description
Replaces L2 timestamps with block numbers as the key in mapping(uint => OutputProposal).

Additional context

This also enables us to remove the computeL2BlockNumber() function.

I will handle RBAC implementation in a subsequent PR.

TODO:

  • Get go tests working
  • Update natspec in solidity to the new style

Metadata

  • Fixes ENG-2207

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jun 7, 2022

🦋 Changeset detected

Latest commit: c037cfb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/contracts-bedrock Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 7, 2022

This PR changes implementation code, but doesn't include a changeset. Did you forget to add one?

@maurelian maurelian force-pushed the m/eng-2207-key-on-number branch 2 times, most recently from be9ab8d to 565c150 Compare June 7, 2022 19:02
@maurelian maurelian force-pushed the m/eng-2207-key-on-number branch from 565c150 to f29beb3 Compare June 7, 2022 19:06
@trianglesphere
Copy link
Copy Markdown
Contributor

@maurelian contract tests are failing as well

@maurelian maurelian force-pushed the m/eng-2207-key-on-number branch 2 times, most recently from 49f4d1d to 24824d5 Compare June 9, 2022 01:12
@maurelian maurelian force-pushed the m/eng-2207-key-on-number branch 2 times, most recently from a499c59 to fddf616 Compare June 9, 2022 02:19
@maurelian maurelian marked this pull request as ready for review June 9, 2022 02:24
@maurelian maurelian marked this pull request as draft June 9, 2022 17:13
@maurelian maurelian force-pushed the m/eng-2207-key-on-number branch 5 times, most recently from 68f0f94 to ae7ff4a Compare June 9, 2022 20:06
@maurelian maurelian force-pushed the m/eng-2207-key-on-number branch 2 times, most recently from 1f3d02a to d702324 Compare June 9, 2022 20:21
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 16, 2022

Hey @maurelian! This PR has merge conflicts. Please fix them before continuing review.

@mergify mergify bot added the conflict label Jun 16, 2022
@maurelian maurelian force-pushed the m/eng-2207-key-on-number branch from 60ad340 to e84716b Compare June 16, 2022 20:01
@maurelian maurelian force-pushed the m/eng-2207-key-on-number branch from e84716b to 0c0363d Compare June 17, 2022 13:50
@mergify mergify bot removed the conflict label Jun 17, 2022
@maurelian maurelian force-pushed the m/eng-2207-key-on-number branch from 0c0363d to c037cfb Compare June 17, 2022 14:30
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 17, 2022

This PR has been added to the merge queue, and will be merged soon.

@mergify mergify bot merged commit 3575745 into develop Jun 17, 2022
@mergify mergify bot deleted the m/eng-2207-key-on-number branch June 17, 2022 16:16
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 17, 2022

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mergify mergify bot removed the on-merge-train label Jun 17, 2022
@mslipper mslipper mentioned this pull request Jun 18, 2022
theochap pushed a commit that referenced this pull request Dec 10, 2025
Switching back to the official `optimism-package` to support latest
changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants