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
3274be44
Commit
3274be44
authored
Jun 20, 2023
by
clabby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update gas-snapshot, lint
parent
8eca2f82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
.gas-snapshot
packages/contracts-bedrock/.gas-snapshot
+5
-5
FaultDisputeGame.sol
.../contracts-bedrock/contracts/dispute/FaultDisputeGame.sol
+4
-3
No files found.
packages/contracts-bedrock/.gas-snapshot
View file @
3274be44
...
...
@@ -43,11 +43,11 @@ FaultDisputeGame_Test:test_gameType_succeeds() (gas: 8259)
FaultDisputeGame_Test:test_initialRootClaimData_succeeds() (gas: 17624)
FaultDisputeGame_Test:test_moveAgainstNonexistentParent_reverts() (gas: 24632)
FaultDisputeGame_Test:test_move_gameNotInProgress_reverts() (gas: 10945)
FaultDisputeGame_Test:test_resolve_challengeContested() (gas: 2223
83
)
FaultDisputeGame_Test:test_resolve_reverts() (gas: 271
21
)
FaultDisputeGame_Test:test_resolve_rootContested() (gas: 1072
25
)
FaultDisputeGame_Test:test_resolve_rootUncontested() (gas: 244
59
)
FaultDisputeGame_Test:test_resolve_teamDeathmatch() (gas: 3936
09
)
FaultDisputeGame_Test:test_resolve_challengeContested() (gas: 2223
92
)
FaultDisputeGame_Test:test_resolve_reverts() (gas: 271
30
)
FaultDisputeGame_Test:test_resolve_rootContested() (gas: 1072
34
)
FaultDisputeGame_Test:test_resolve_rootUncontested() (gas: 244
68
)
FaultDisputeGame_Test:test_resolve_teamDeathmatch() (gas: 3936
30
)
FaultDisputeGame_Test:test_rootClaim_succeeds() (gas: 8169)
FaultDisputeGame_Test:test_simpleAttack_succeeds() (gas: 107389)
FaultDisputeGame_Test:test_version_succeeds() (gas: 9780)
...
...
packages/contracts-bedrock/contracts/dispute/FaultDisputeGame.sol
View file @
3274be44
...
...
@@ -98,9 +98,10 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone {
bytes calldata,
bytes calldata
) external {
// TODO: Determine where the prestate for the full trace comes from (i.e. instruction 0 -> 1)
// This will likely be in the preimage oracle, but this function currently does not
// support an attack step against the first trace instruction.
// TODO: Determine where the prestate for the full trace comes from
// (i.e. instruction 0 -> 1) This will likely be in the preimage oracle, but this
// function currently does not support an attack step against the first trace
// instruction.
// Steps cannot be made unless the game is currently in progress.
if (status != GameStatus.IN_PROGRESS) {
...
...
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