feat(sdk): add support for Bedrock#2701
Conversation
🦋 Changeset detectedLatest commit: 6be5e79 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
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 |
5434991 to
9984163
Compare
| CanonicalTransactionChain: | ||
| '0x5E4e65926BA27467555EB562121fac00D24E9dD2' as const, | ||
| BondManager: '0xcd626E1328b41fCF24737F137BcD4CE0c32bc8d1' as const, | ||
| OptimismPortal: '0x0000000000000000000000000000000000000000' as const, |
There was a problem hiding this comment.
Will need to replace these addresses once they've been deployed
680694a to
bb8b28d
Compare
packages/contracts-bedrock/contracts/universal/CrossDomainMessenger.sol
Outdated
Show resolved
Hide resolved
bb8b28d to
881083c
Compare
| ); | ||
|
|
||
| emit SentMessage(_target, msg.sender, _message, messageNonce(), _minGasLimit); | ||
| emit SentMessageExtraData(msg.sender, msg.value); |
There was a problem hiding this comment.
SentMessage is a legacy event that shouldn't be changed so we can preserve the interface. Instead of adding a completely new event, we add SentMessageExtraData.
9dd1059 to
c522919
Compare
|
CI issue driving me crazy, will fix tomorrow |
|
Not sure why this error is happening, my guess its a bad import path or something about the docker build in CI Skipping flaky geth tests here: #2720 Could look at |
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
52bd275 to
78778bd
Compare
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
78778bd to
c27a72a
Compare
5284f03 to
045e19d
Compare
28a7488 to
bb0e7bb
Compare
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
710f566 to
e3153a3
Compare
7f32954 to
5554f33
Compare
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
Adds a SentMessageV2 event to the XDM which includes all relevant information in the sent message and properly indexes the sender address.
Adds support for Bedrock behind a bedrock flag. Specifically updates how events are queried, hashed, and relayed.
5554f33 to
6be5e79
Compare
### Description P2P Peer Scoring Example in the docs. Progress on #2581
Description
Adds support for Bedrock behind a bedrock flag. Specifically updates how
events are queried, hashed, and relayed.