Skip to content

Commit 74adbaa

Browse files
committed
Rename gnosh scripts to upper case
1 parent 8e50d5a commit 74adbaa

File tree

6 files changed

+6
-14
lines changed

6 files changed

+6
-14
lines changed
File renamed without changes.

script/deploy.s.sol renamed to script/Deploy.gnosh.s.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ import "../src/gnosh/Sequencer.sol";
99
import "../src/gnosh/ValidatorRegistry.sol";
1010

1111
contract Deploy is Script {
12-
function deployKeyperSetManager(address deployerAddress) public returns (KeyperSetManager) {
13-
12+
function deployKeyperSetManager(
13+
address deployerAddress
14+
) public returns (KeyperSetManager) {
1415
KeyperSetManager ksm = new KeyperSetManager(deployerAddress);
1516

1617
// add bootstrap keyper set
File renamed without changes.
File renamed without changes.

test/KeyBroadcastContract.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "../src/common/KeyperSetManager.sol";
77
import "../src/common/KeyperSet.sol";
88

99
contract MockPublisher is EonKeyPublisher {
10-
function eonKeyConfirmed(bytes memory) pure external returns (bool) {
10+
function eonKeyConfirmed(bytes memory) external pure returns (bool) {
1111
return true;
1212
}
1313
}

test/KeyperSetManager.t.sol

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,9 @@ contract KeyperSetManagerTest is Test {
7777
function testAddKeyperSetEmits() public {
7878
vm.expectEmit(address(keyperSetManager));
7979
address[] memory members;
80-
emit KeyperSetAdded(
81-
1000,
82-
address(members0),
83-
members,
84-
0,
85-
0
86-
);
80+
emit KeyperSetAdded(1000, address(members0), members, 0, 0);
8781
vm.prank(dao);
88-
keyperSetManager.addKeyperSet(
89-
1000,
90-
address(members0)
91-
);
82+
keyperSetManager.addKeyperSet(1000, address(members0));
9283
}
9384

9485
function testGetKeyperSetIndexByBlockEmpty() public {

0 commit comments

Comments
 (0)