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
aa9c4d69
Commit
aa9c4d69
authored
Feb 22, 2023
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint: fix
parent
b29e0035
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
12 deletions
+12
-12
CommonTest.t.sol
packages/contracts-bedrock/contracts/test/CommonTest.t.sol
+1
-1
CrossDomainOwnable.t.sol
...contracts-bedrock/contracts/test/CrossDomainOwnable.t.sol
+1
-1
DeployerWhitelist.t.sol
.../contracts-bedrock/contracts/test/DeployerWhitelist.t.sol
+1
-1
GasPriceOracle.t.sol
...ges/contracts-bedrock/contracts/test/GasPriceOracle.t.sol
+1
-1
GovernanceToken.t.sol
...es/contracts-bedrock/contracts/test/GovernanceToken.t.sol
+1
-1
L1Block.t.sol
packages/contracts-bedrock/contracts/test/L1Block.t.sol
+1
-1
LegacyERC20ETH.t.sol
...ges/contracts-bedrock/contracts/test/LegacyERC20ETH.t.sol
+1
-1
LegacyMessagePasser.t.sol
...ontracts-bedrock/contracts/test/LegacyMessagePasser.t.sol
+1
-1
MintManager.t.sol
packages/contracts-bedrock/contracts/test/MintManager.t.sol
+1
-1
ResourceMetering.t.sol
...s/contracts-bedrock/contracts/test/ResourceMetering.t.sol
+1
-1
Semver.t.sol
packages/contracts-bedrock/contracts/test/Semver.t.sol
+1
-1
SystemConfig.t.sol
packages/contracts-bedrock/contracts/test/SystemConfig.t.sol
+1
-1
No files found.
packages/contracts-bedrock/contracts/test/CommonTest.t.sol
View file @
aa9c4d69
...
@@ -117,7 +117,7 @@ contract L2OutputOracle_Initializer is CommonTest {
...
@@ -117,7 +117,7 @@ contract L2OutputOracle_Initializer is CommonTest {
vm.warp(oracle.computeL2Timestamp(_nextBlockNumber) + 1);
vm.warp(oracle.computeL2Timestamp(_nextBlockNumber) + 1);
}
}
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
// By default the first block has timestamp and number zero, which will cause underflows in the
// By default the first block has timestamp and number zero, which will cause underflows in the
// tests, so we'll move forward to these block values.
// tests, so we'll move forward to these block values.
...
...
packages/contracts-bedrock/contracts/test/CrossDomainOwnable.t.sol
View file @
aa9c4d69
...
@@ -18,7 +18,7 @@ contract XDomainSetter is CrossDomainOwnable {
...
@@ -18,7 +18,7 @@ contract XDomainSetter is CrossDomainOwnable {
contract CrossDomainOwnable_Test is CommonTest {
contract CrossDomainOwnable_Test is CommonTest {
XDomainSetter setter;
XDomainSetter setter;
function setUp()
override public
{
function setUp()
public override
{
super.setUp();
super.setUp();
setter = new XDomainSetter();
setter = new XDomainSetter();
}
}
...
...
packages/contracts-bedrock/contracts/test/DeployerWhitelist.t.sol
View file @
aa9c4d69
...
@@ -7,7 +7,7 @@ import { DeployerWhitelist } from "../legacy/DeployerWhitelist.sol";
...
@@ -7,7 +7,7 @@ import { DeployerWhitelist } from "../legacy/DeployerWhitelist.sol";
contract DeployerWhitelist_Test is CommonTest {
contract DeployerWhitelist_Test is CommonTest {
DeployerWhitelist list;
DeployerWhitelist list;
function setUp()
virtual override public
{
function setUp()
public virtual override
{
list = new DeployerWhitelist();
list = new DeployerWhitelist();
}
}
...
...
packages/contracts-bedrock/contracts/test/GasPriceOracle.t.sol
View file @
aa9c4d69
...
@@ -25,7 +25,7 @@ contract GasPriceOracle_Test is CommonTest {
...
@@ -25,7 +25,7 @@ contract GasPriceOracle_Test is CommonTest {
uint256 constant l1FeeOverhead = 310;
uint256 constant l1FeeOverhead = 310;
uint256 constant l1FeeScalar = 10;
uint256 constant l1FeeScalar = 10;
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
// place the L1Block contract at the predeploy address
// place the L1Block contract at the predeploy address
vm.etch(Predeploys.L1_BLOCK_ATTRIBUTES, address(new L1Block()).code);
vm.etch(Predeploys.L1_BLOCK_ATTRIBUTES, address(new L1Block()).code);
...
...
packages/contracts-bedrock/contracts/test/GovernanceToken.t.sol
View file @
aa9c4d69
...
@@ -9,7 +9,7 @@ contract GovernanceToken_Test is CommonTest {
...
@@ -9,7 +9,7 @@ contract GovernanceToken_Test is CommonTest {
address constant rando = address(0x5678);
address constant rando = address(0x5678);
GovernanceToken internal gov;
GovernanceToken internal gov;
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
vm.prank(owner);
vm.prank(owner);
gov = new GovernanceToken();
gov = new GovernanceToken();
...
...
packages/contracts-bedrock/contracts/test/L1Block.t.sol
View file @
aa9c4d69
...
@@ -9,7 +9,7 @@ contract L1BlockTest is CommonTest {
...
@@ -9,7 +9,7 @@ contract L1BlockTest is CommonTest {
address depositor;
address depositor;
bytes32 immutable NON_ZERO_HASH = keccak256(abi.encode(1));
bytes32 immutable NON_ZERO_HASH = keccak256(abi.encode(1));
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
lb = new L1Block();
lb = new L1Block();
depositor = lb.DEPOSITOR_ACCOUNT();
depositor = lb.DEPOSITOR_ACCOUNT();
...
...
packages/contracts-bedrock/contracts/test/LegacyERC20ETH.t.sol
View file @
aa9c4d69
...
@@ -8,7 +8,7 @@ import { Predeploys } from "../libraries/Predeploys.sol";
...
@@ -8,7 +8,7 @@ import { Predeploys } from "../libraries/Predeploys.sol";
contract LegacyERC20ETH_Test is CommonTest {
contract LegacyERC20ETH_Test is CommonTest {
LegacyERC20ETH eth;
LegacyERC20ETH eth;
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
eth = new LegacyERC20ETH();
eth = new LegacyERC20ETH();
}
}
...
...
packages/contracts-bedrock/contracts/test/LegacyMessagePasser.t.sol
View file @
aa9c4d69
...
@@ -8,7 +8,7 @@ import { Predeploys } from "../libraries/Predeploys.sol";
...
@@ -8,7 +8,7 @@ import { Predeploys } from "../libraries/Predeploys.sol";
contract LegacyMessagePasser_Test is CommonTest {
contract LegacyMessagePasser_Test is CommonTest {
LegacyMessagePasser messagePasser;
LegacyMessagePasser messagePasser;
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
messagePasser = new LegacyMessagePasser();
messagePasser = new LegacyMessagePasser();
}
}
...
...
packages/contracts-bedrock/contracts/test/MintManager.t.sol
View file @
aa9c4d69
...
@@ -11,7 +11,7 @@ contract MintManager_Initializer is CommonTest {
...
@@ -11,7 +11,7 @@ contract MintManager_Initializer is CommonTest {
GovernanceToken internal gov;
GovernanceToken internal gov;
MintManager internal manager;
MintManager internal manager;
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
vm.prank(owner);
vm.prank(owner);
...
...
packages/contracts-bedrock/contracts/test/ResourceMetering.t.sol
View file @
aa9c4d69
...
@@ -21,7 +21,7 @@ contract ResourceMetering_Test is CommonTest {
...
@@ -21,7 +21,7 @@ contract ResourceMetering_Test is CommonTest {
MeterUser internal meter;
MeterUser internal meter;
uint64 initialBlockNum;
uint64 initialBlockNum;
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
meter = new MeterUser();
meter = new MeterUser();
initialBlockNum = uint64(block.number);
initialBlockNum = uint64(block.number);
...
...
packages/contracts-bedrock/contracts/test/Semver.t.sol
View file @
aa9c4d69
...
@@ -19,7 +19,7 @@ contract Semver_Test is CommonTest {
...
@@ -19,7 +19,7 @@ contract Semver_Test is CommonTest {
/**
/**
* @notice Deploy a Semver contract
* @notice Deploy a Semver contract
*/
*/
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
semver = new Semver(7, 8, 0);
semver = new Semver(7, 8, 0);
}
}
...
...
packages/contracts-bedrock/contracts/test/SystemConfig.t.sol
View file @
aa9c4d69
...
@@ -7,7 +7,7 @@ import { SystemConfig } from "../L1/SystemConfig.sol";
...
@@ -7,7 +7,7 @@ import { SystemConfig } from "../L1/SystemConfig.sol";
contract SystemConfig_Init is CommonTest {
contract SystemConfig_Init is CommonTest {
SystemConfig sysConf;
SystemConfig sysConf;
function setUp()
virtual override public
{
function setUp()
public virtual override
{
super.setUp();
super.setUp();
sysConf = new SystemConfig({
sysConf = new SystemConfig({
_owner: alice,
_owner: alice,
...
...
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