Skip to content

Commit bd8af30

Browse files
authored
chore(netconf): rename homer to aeneid (#461)
rename homer network to aeneid issue: none
1 parent f002d24 commit bd8af30

File tree

13 files changed

+31
-37
lines changed

13 files changed

+31
-37
lines changed

client/cmd/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ func InitFiles(ctx context.Context, initCfg InitConfig) error {
112112
cfg = storycfg.IliadConfig
113113
case network == netconf.Odyssey:
114114
cfg = storycfg.OdysseyConfig
115-
case network == netconf.Homer:
116-
cfg = storycfg.HomerConfig
115+
case network == netconf.Aeneid:
116+
cfg = storycfg.AeneidConfig
117117
case network == netconf.Story:
118118
cfg = storycfg.StoryConfig
119119
case network == netconf.Local:

client/config/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ var (
8181
Seeds: "",
8282
SeedMode: false,
8383
}
84-
HomerConfig = Config{
84+
AeneidConfig = Config{
8585
HomeDir: DefaultHomeDir(),
86-
Network: "homer",
86+
Network: "aeneid",
8787
EngineEndpoint: DefaultEngineEndpoint,
88-
EngineJWTFile: DefaultJWTFile("homer"),
88+
EngineJWTFile: DefaultJWTFile("aeneid"),
8989
SnapshotInterval: defaultSnapshotInterval,
9090
SnapshotKeepRecent: defaultSnapshotKeepRecent,
9191
BackendType: string(defaultDBBackend),

client/config/config.toml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# last modified the config file. Do not modify this.
66
version = "{{ .Version }}"
77

8-
# Story network to participate in: story, odyssey, homer, or local.
8+
# Story network to participate in: story, odyssey, aeneid, or local.
99
network = "{{ .Network }}"
1010

1111
#######################################################################

client/config/testdata/default.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# last modified the config file. Do not modify this.
66
version = "v0.1.5"
77

8-
# Story network to participate in: story, odyssey, homer, or local.
8+
# Story network to participate in: story, odyssey, aeneid, or local.
99
network = ""
1010

1111
#######################################################################

contracts/script/GenerateAlloc.s.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ contract GenerateAlloc is Script {
7575
return "./iliad-alloc.json";
7676
} else if (block.chainid == ChainIds.MININET) {
7777
return "./mininet-alloc.json";
78-
} else if (block.chainid == ChainIds.HOMER) {
79-
return "./homer-alloc.json";
78+
} else if (block.chainid == ChainIds.AENEID) {
79+
return "./aeneid-alloc.json";
8080
} else if (block.chainid == ChainIds.ODYSSEY_TESTNET) {
8181
return "./odyssey-testnet-alloc.json";
8282
} else if (block.chainid == ChainIds.LOCAL) {
@@ -98,7 +98,7 @@ contract GenerateAlloc is Script {
9898
} else if (block.chainid == ChainIds.MININET) {
9999
// Mininet
100100
return 10 seconds;
101-
} else if (block.chainid == ChainIds.HOMER) {
101+
} else if (block.chainid == ChainIds.AENEID) {
102102
// Odyssey devnet
103103
return 10 seconds;
104104
} else if (block.chainid == ChainIds.ODYSSEY_TESTNET) {
@@ -402,8 +402,8 @@ contract GenerateAlloc is Script {
402402
// Allocation
403403
if (block.chainid == ChainIds.STORY_MAINNET) {
404404
// TBD
405-
} else if (block.chainid == ChainIds.HOMER) {
406-
// Homer alloc
405+
} else if (block.chainid == ChainIds.AENEID) {
406+
// Aeneid alloc
407407
vm.deal(0x5687400189B13551137e330F7ae081142EdfD866, 200000000 ether);
408408
vm.deal(0x56A26642ad963D3542DdAe4d8fdECC396153c2f6, 200000000 ether);
409409
vm.deal(0x12cBb8F6F2F7d48bB22B6A1b12452381A45bEb7c, 100000000 ether);

contracts/script/utils/ChainIds.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ library ChainIds {
55
uint256 public constant STORY_MAINNET = 1514;
66
uint256 public constant ILIAD = 1513;
77
uint256 public constant MININET = 1512;
8-
uint256 public constant HOMER = 1315;
8+
uint256 public constant AENEID = 1315;
99
uint256 public constant ODYSSEY_TESTNET = 1516;
1010
uint256 public constant LOCAL = 1511;
1111
uint256 public constant FOUNDRY = 31337;

contracts/test/stake/IPTokenStaking.t.sol

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ pragma solidity 0.8.23;
77

88
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
99
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
10-
import { console2 } from "forge-std/console2.sol";
1110

1211
import { IPTokenStaking, IIPTokenStaking } from "../../src/protocol/IPTokenStaking.sol";
1312
import { Test } from "../utils/Test.sol";
@@ -405,12 +404,7 @@ contract IPTokenStakingTest is Test {
405404
vm.deal(delegatorAddr, feeAmount);
406405
vm.prank(delegatorAddr);
407406
vm.expectRevert("IPTokenStaking: Data length over max");
408-
ipTokenStaking.unstake{ value: feeAmount }(
409-
validatorCmpPubkey,
410-
delegationId,
411-
stakeAmount,
412-
dataOverMaxLen
413-
);
407+
ipTokenStaking.unstake{ value: feeAmount }(validatorCmpPubkey, delegationId, stakeAmount, dataOverMaxLen);
414408

415409
vm.prank(delegatorAddr);
416410
vm.expectRevert("IPTokenStaking: Data length over max");

lib/evmchain/evmchain.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ const (
1111
// Story Mainnet.
1212
IDStory uint64 = 1514
1313

14-
// Local Testet.
14+
// Local Devnet.
1515
IDLocal uint64 = 1511
1616

17-
// Testnets.
17+
// Iliad Testnets.
1818
IDIliad uint64 = 1513
1919

20-
// Odyssey Testnets.
20+
// Odyssey Testnet.
2121
IDOdyssey uint64 = 1516
2222

23-
// Homer.
24-
IDHomer uint64 = 1315
23+
// Aeneid Testnet.
24+
IDAeneid uint64 = 1315
2525

2626
storyEVMName = "story_evm"
2727
storyEVMBlockPeriod = time.Second * 2
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)