Skip to content

Commit

Permalink
Updated deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrwitek committed Oct 31, 2024
1 parent 7e840b4 commit df2d1e1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
37 changes: 19 additions & 18 deletions packages/dma-contracts/hardhat.config.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import 'solidity-coverage'
import 'solidity-docgen'
import 'hardhat-tracer'
import 'hardhat-abi-exporter'
import '@tenderly/hardhat-tenderly'

import { Network } from '@deploy-configurations/types/network'
import * as process from 'process'
Expand Down Expand Up @@ -96,24 +97,6 @@ const config = {
},
},
networks: {
local: {
url: 'http://127.0.0.1:8545',
timeout: 1000000,
chainId: ChainIdByNetwork[Network.LOCAL],
// accounts: [
// '0xe4966abd3595e37f1d9313616d9a833fdbde301f70b61eb17cb7e919ca0addd8',
// '0x8a78506679446be6dc846c7dddbbee4b5f0ae725caa50126739e0851d66a29c8',
// '0x284e6f4bc08734aacbd59772662216e288d01a689610c105a5ed8e8defc4425d',
// '0xd7af053f5710feb0718095bd5f403b4e6db3625bf572bb1fcae19a84f0faa71a',
// '0xa15ee68c2bd73743cd1a54ac95215bc79cfaa164460fcb907759459ef15d0a99',
// '0xd90167141d1bef8a39da4a62673cc18e0a9dd31e25ab47695564fe79d6555cac',
// '0x3386f570f1af049a61a551efd5cbe9d0070d7eb79ec70c5436e89cdc0ec8548d',
// '0xc14983f5efd216aa3d0ded41f6469774942aa5c2d89f4c9da83229cd45834189',
// '0x467d25134b5539cf5788eab218fbed1dba640bcd5c8562a94f191cc5992de20b',
// '0x8fc5a92c787ae1a4183f1cc5ace40c459d07457c932fc368bdc4b215ad31832a',
// '0x573950c5ca81624e315ad243c6af1b9eb6e32f4f2f45f6f26669ed0b209b6746',
// ],
},
hardhat: {
forking: {
url: forkConfig ? forkConfig.nodeURL : 'http://localhost:8545',
Expand Down Expand Up @@ -172,6 +155,24 @@ const config = {
initialBaseFeePerGas: 1000000000,
allowUnlimitedContractSize: true,
},
local: {
url: 'http://127.0.0.1:8545',
timeout: 1000000,
chainId: ChainIdByNetwork[Network.LOCAL],
// accounts: [
// '0xe4966abd3595e37f1d9313616d9a833fdbde301f70b61eb17cb7e919ca0addd8',
// '0x8a78506679446be6dc846c7dddbbee4b5f0ae725caa50126739e0851d66a29c8',
// '0x284e6f4bc08734aacbd59772662216e288d01a689610c105a5ed8e8defc4425d',
// '0xd7af053f5710feb0718095bd5f403b4e6db3625bf572bb1fcae19a84f0faa71a',
// '0xa15ee68c2bd73743cd1a54ac95215bc79cfaa164460fcb907759459ef15d0a99',
// '0xd90167141d1bef8a39da4a62673cc18e0a9dd31e25ab47695564fe79d6555cac',
// '0x3386f570f1af049a61a551efd5cbe9d0070d7eb79ec70c5436e89cdc0ec8548d',
// '0xc14983f5efd216aa3d0ded41f6469774942aa5c2d89f4c9da83229cd45834189',
// '0x467d25134b5539cf5788eab218fbed1dba640bcd5c8562a94f191cc5992de20b',
// '0x8fc5a92c787ae1a4183f1cc5ace40c459d07457c932fc368bdc4b215ad31832a',
// '0x573950c5ca81624e315ad243c6af1b9eb6e32f4f2f45f6f26669ed0b209b6746',
// ],
},
...(includeGoerli
? {
goerli: {
Expand Down
2 changes: 1 addition & 1 deletion packages/dma-contracts/scripts/utils/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ export class DeploymentSystem extends DeployedSystemHelpers {
}
}

if (this.network != Network.HARDHAT) {
if (![Network.HARDHAT, Network.TENDERLY].includes(this.network)) {
await this.verifyContract(contract.address, constructorArguments)
}
}
Expand Down

0 comments on commit df2d1e1

Please sign in to comment.