Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
cf9448c6
Commit
cf9448c6
authored
Aug 05, 2023
by
clabby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use solc computed selector
parent
4bae3f16
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
faultdisputegame.go
op-bindings/bindings/faultdisputegame.go
+1
-1
faultdisputegame_more.go
op-bindings/bindings/faultdisputegame_more.go
+1
-1
.gas-snapshot
packages/contracts-bedrock/.gas-snapshot
+1
-1
semver-lock.json
packages/contracts-bedrock/semver-lock.json
+1
-1
FaultDisputeGame.sol
packages/contracts-bedrock/src/dispute/FaultDisputeGame.sol
+2
-1
No files found.
op-bindings/bindings/faultdisputegame.go
View file @
cf9448c6
This diff is collapsed.
Click to expand it.
op-bindings/bindings/faultdisputegame_more.go
View file @
cf9448c6
This diff is collapsed.
Click to expand it.
packages/contracts-bedrock/.gas-snapshot
View file @
cf9448c6
...
@@ -97,7 +97,7 @@ FaultDisputeGame_ResolvesCorrectly_IncorrectRoot2:test_resolvesCorrectly_succeed
...
@@ -97,7 +97,7 @@ FaultDisputeGame_ResolvesCorrectly_IncorrectRoot2:test_resolvesCorrectly_succeed
FaultDisputeGame_ResolvesCorrectly_IncorrectRoot3:test_resolvesCorrectly_succeeds() (gas: 501212)
FaultDisputeGame_ResolvesCorrectly_IncorrectRoot3:test_resolvesCorrectly_succeeds() (gas: 501212)
FaultDisputeGame_ResolvesCorrectly_IncorrectRoot4:test_resolvesCorrectly_succeeds() (gas: 502409)
FaultDisputeGame_ResolvesCorrectly_IncorrectRoot4:test_resolvesCorrectly_succeeds() (gas: 502409)
FaultDisputeGame_ResolvesCorrectly_IncorrectRoot5:test_resolvesCorrectly_succeeds() (gas: 501698)
FaultDisputeGame_ResolvesCorrectly_IncorrectRoot5:test_resolvesCorrectly_succeeds() (gas: 501698)
FaultDisputeGame_Test:test_addLocalData_static_succeeds() (gas: 640
36
3)
FaultDisputeGame_Test:test_addLocalData_static_succeeds() (gas: 640
50
3)
FaultDisputeGame_Test:test_createdAt_succeeds() (gas: 10342)
FaultDisputeGame_Test:test_createdAt_succeeds() (gas: 10342)
FaultDisputeGame_Test:test_extraData_succeeds() (gas: 32377)
FaultDisputeGame_Test:test_extraData_succeeds() (gas: 32377)
FaultDisputeGame_Test:test_gameData_succeeds() (gas: 32829)
FaultDisputeGame_Test:test_gameData_succeeds() (gas: 32829)
...
...
packages/contracts-bedrock/semver-lock.json
View file @
cf9448c6
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
"src/L2/L2StandardBridge.sol"
:
"0x73a4fea3dca8ac7d7ba32e38aadeb69bd344042666a40a75e8c28849f01999e5"
,
"src/L2/L2StandardBridge.sol"
:
"0x73a4fea3dca8ac7d7ba32e38aadeb69bd344042666a40a75e8c28849f01999e5"
,
"src/L2/L2ToL1MessagePasser.sol"
:
"0xed800b600cb3f67e18a1ab10750e3934a8b3e42178f422bcacfde770a6e8e8bd"
,
"src/L2/L2ToL1MessagePasser.sol"
:
"0xed800b600cb3f67e18a1ab10750e3934a8b3e42178f422bcacfde770a6e8e8bd"
,
"src/L2/SequencerFeeVault.sol"
:
"0xd57c143b1f042400430b991b806bf971628e6980406c751e82d19ae80eeb4e8d"
,
"src/L2/SequencerFeeVault.sol"
:
"0xd57c143b1f042400430b991b806bf971628e6980406c751e82d19ae80eeb4e8d"
,
"src/dispute/FaultDisputeGame.sol"
:
"0x
c191d9caad8498c46035e9bceb1ee372be24f9d7f6cb9f8fda8f646bc875d33
8"
,
"src/dispute/FaultDisputeGame.sol"
:
"0x
2a7f367443752f841d734f339a596c4ad93e16f7df0230f1cdd5e6f0b4b5836
8"
,
"src/legacy/DeployerWhitelist.sol"
:
"0x5e80f7b13ef73f06c63bd9b118a49da1ff06a5c0fcf8067b5a3365d731c23765"
,
"src/legacy/DeployerWhitelist.sol"
:
"0x5e80f7b13ef73f06c63bd9b118a49da1ff06a5c0fcf8067b5a3365d731c23765"
,
"src/legacy/L1BlockNumber.sol"
:
"0x84cc587148de5920dfcd19da44d28e769f0e4d08ca2bcc93f18aa78c6cc2ebe6"
,
"src/legacy/L1BlockNumber.sol"
:
"0x84cc587148de5920dfcd19da44d28e769f0e4d08ca2bcc93f18aa78c6cc2ebe6"
,
"src/legacy/LegacyMessagePasser.sol"
:
"0x2692b50b227e5f75a53439c0cf303498edfd4fc087555b3fc9bc4bceb518229b"
,
"src/legacy/LegacyMessagePasser.sol"
:
"0x2692b50b227e5f75a53439c0cf303498edfd4fc087555b3fc9bc4bceb518229b"
,
...
...
packages/contracts-bedrock/src/dispute/FaultDisputeGame.sol
View file @
cf9448c6
...
@@ -282,9 +282,10 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, Semver {
...
@@ -282,9 +282,10 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, Semver {
if (status != GameStatus.IN_PROGRESS) revert GameNotInProgress();
if (status != GameStatus.IN_PROGRESS) revert GameNotInProgress();
IPreimageOracle oracle = VM.oracle();
IPreimageOracle oracle = VM.oracle();
bytes4 loadLocalDataSelector = IPreimageOracle.loadLocalData.selector;
assembly {
assembly {
// Store the `loadLocalData(uint256,bytes32,uint256,uint256)` selector
// Store the `loadLocalData(uint256,bytes32,uint256,uint256)` selector
mstore(0x
00, 0x9a1f5e7f
)
mstore(0x
1C, loadLocalDataSelector
)
// Store the `_ident` argument
// Store the `_ident` argument
mstore(0x20, _ident)
mstore(0x20, _ident)
// Store the data to load
// Store the data to load
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment