Skip to content

Commit

Permalink
➕ Add Story Odyssey Test Network Deployment (#157)
Browse files Browse the repository at this point in the history
### 🕓 Changelog

Add Story test network (Odyssey) deployment (closes #156):
- [Story Testnet
(Odyssey)](https://odyssey.storyscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed).

#### Verification

Compare the `keccak256` hash of the runtime bytecode with the canonical
`keccak256` hash of the runtime bytecode
[here](https://github.com/pcaversaccio/createx#security-considerations)
(`0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f`):

```console
~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://odyssey.storyrpc.io)
0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f
```

---------

Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio authored Dec 1, 2024
1 parent b2b6417 commit ff43c66
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2287,6 +2287,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [Lisk Sepolia Testnet](https://sepolia-blockscout.lisk.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Metal L2 Sepolia Testnet](https://testnet.explorer.metall2.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Superseed Sepolia Testnet](https://sepolia-explorer.superseed.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Story Testnet (Odyssey)](https://odyssey.storyscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)

## Integration With External Tooling

Expand Down
7 changes: 7 additions & 0 deletions deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -782,5 +782,12 @@
"urls": [
"https://sepolia-explorer.superseed.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Story Testnet (Odyssey)",
"chainId": 1516,
"urls": [
"https://odyssey.storyscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
}
]
15 changes: 15 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,11 @@ const config: HardhatUserConfig = {
url: vars.get("SUPERSEED_TESTNET_URL", "https://sepolia.superseed.xyz"),
accounts,
},
storyTestnet: {
chainId: 1516,
url: vars.get("STORY_TESTNET_URL", "https://odyssey.storyrpc.io"),
accounts,
},
},
contractSizer: {
alphaSort: true,
Expand Down Expand Up @@ -935,6 +940,8 @@ const config: HardhatUserConfig = {
metalL2Testnet: vars.get("METALL2_API_KEY", ""),
// For Superseed testnet
superseedTestnet: vars.get("SUPERSEED_API_KEY", ""),
// For Story testnet
storyTestnet: vars.get("STORY_API_KEY", ""),
},
customChains: [
{
Expand Down Expand Up @@ -1679,6 +1686,14 @@ const config: HardhatUserConfig = {
browserURL: "https://sepolia-explorer.superseed.xyz",
},
},
{
network: "storyTestnet",
chainId: 1516,
urls: {
apiURL: "https://odyssey.storyscan.xyz/api",
browserURL: "https://odyssey.storyscan.xyz",
},
},
],
},
};
Expand Down
2 changes: 1 addition & 1 deletion lib/solady
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
"deploy:metall2testnet": "npx hardhat run --no-compile --network metalL2Testnet scripts/deploy.ts",
"deploy:metall2main": "npx hardhat run --no-compile --network metalL2Main scripts/deploy.ts",
"deploy:superseedtestnet": "npx hardhat run --no-compile --network superseedTestnet scripts/deploy.ts",
"deploy:storytestnet": "npx hardhat run --no-compile --network storyTestnet scripts/deploy.ts",
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:check:interface": "cd interface && pnpm prettier:check",
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
Expand Down

0 comments on commit ff43c66

Please sign in to comment.