Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/deploy arbitrum sepolia #98

Merged
merged 2 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions deploy/BookManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ const deployFunction: DeployFunction = async function (hre: HardhatRuntimeEnviro
const deployer = (await getNamedAccounts())['deployer'] as Address
const chain = await getChain(network.provider)

if (await deployments.getOrNull('BookManager')) {
return
}

let bookLibraryAddress = (await deployments.getOrNull('Book'))?.address
if (!bookLibraryAddress) {
bookLibraryAddress = await deployWithVerify(hre, 'Book', [])
}

if (await deployments.getOrNull('BookManager')) {
return
}

let owner: Address = '0x'
let defaultProvider: Address = '0x'
if (chain.testnet || isDevelopmentNetwork(chain.id)) {
Expand All @@ -30,7 +30,7 @@ const deployFunction: DeployFunction = async function (hre: HardhatRuntimeEnviro
throw new Error('Unknown chain')
}

const entropy = 256n
const entropy = 1000n
await deployCreate3WithVerify(
deployer,
entropy,
Expand Down
26 changes: 13 additions & 13 deletions deployments/421614/Book.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions deployments/421614/BookManager.json

Large diffs are not rendered by default.

Loading
Loading