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
889e75eb
Unverified
Commit
889e75eb
authored
Nov 30, 2022
by
Maurelian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ctb: Fix L1Block test names
parent
343177c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
L1Block.t.sol
packages/contracts-bedrock/contracts/test/L1Block.t.sol
+7
-7
No files found.
packages/contracts-bedrock/contracts/test/L1Block.t.sol
View file @
889e75eb
...
@@ -25,7 +25,7 @@ contract L1BlockTest is CommonTest {
...
@@ -25,7 +25,7 @@ contract L1BlockTest is CommonTest {
});
});
}
}
function test
_updatesValue
s(
function test
Fuzz_updatesValues_succeed
s(
uint64 n,
uint64 n,
uint64 t,
uint64 t,
uint256 b,
uint256 b,
...
@@ -47,27 +47,27 @@ contract L1BlockTest is CommonTest {
...
@@ -47,27 +47,27 @@ contract L1BlockTest is CommonTest {
assertEq(lb.l1FeeScalar(), fs);
assertEq(lb.l1FeeScalar(), fs);
}
}
function test_number() external {
function test_number
_succeeds
() external {
assertEq(lb.number(), uint64(1));
assertEq(lb.number(), uint64(1));
}
}
function test_timestamp() external {
function test_timestamp
_succeeds
() external {
assertEq(lb.timestamp(), uint64(2));
assertEq(lb.timestamp(), uint64(2));
}
}
function test_basefee() external {
function test_basefee
_succeeds
() external {
assertEq(lb.basefee(), 3);
assertEq(lb.basefee(), 3);
}
}
function test_hash() external {
function test_hash
_succeeds
() external {
assertEq(lb.hash(), NON_ZERO_HASH);
assertEq(lb.hash(), NON_ZERO_HASH);
}
}
function test_sequenceNumber() external {
function test_sequenceNumber
_succeeds
() external {
assertEq(lb.sequenceNumber(), uint64(4));
assertEq(lb.sequenceNumber(), uint64(4));
}
}
function test_updateValues() external {
function test_updateValues
_succeeds
() external {
vm.prank(depositor);
vm.prank(depositor);
lb.setL1BlockValues({
lb.setL1BlockValues({
_number: type(uint64).max,
_number: type(uint64).max,
...
...
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