Skip to content

Commit

Permalink
fix: mainnet deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
0xApotheosis committed Sep 16, 2024
1 parent 682b101 commit c7dd3f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ const config: HardhatUserConfig = {
},
// Mainnet configuration (only used if INFURA_API_KEY and PRIVATE_KEY are set)
// Let's us still test locally without setting up mainnet
...(process.env.INFURA_API_KEY && process.env.PRIVATE_KEY
...(process.env.RPC_URL && process.env.PRIVATE_KEY
? {
mainnet: {
url: `https://mainnet.infura.io/v3/${process.env.INFURA_API_KEY}`,
url: process.env.RPC_URL,
accounts: [process.env.PRIVATE_KEY],
},
}
Expand Down
4 changes: 2 additions & 2 deletions ignition/modules/StakingRewards.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { buildModule } from '@nomicfoundation/hardhat-ignition/modules';

const REWARDS_DISTRIBUTION = '0x5337027a4873210E1A4a0F2558F05C9792E2C9E6'; // FIXME: this is a dummy address - it needs to be set
const REWARDS_DISTRIBUTION = '0x32DBc9Cf9E8FbCebE1e0a2ecF05Ed86Ca3096Cb6'; // FIXME: this is a dummy address - it needs to be set

const REWARDS_TOKEN = '0xc770eefad204b5180df6a14ee197d99d808ee52d'; // FOX
const STAKING_TOKEN = '0x470e8de2ebaef52014a47cb5e6af86884947f08c'; // ETH/FOX Pool

export const REWARDS_DURATION = 14n * 24n * 60n * 60n; // 14 days in seconds
export const REWARDS_DURATION = 14n * 24n * 60n * 60n; // 14 days in seconds - FIXME: use the correct value

const StakingRewardsModule = buildModule('StakingRewardsModule', (m) => {
const owner = m.getAccount(0);
Expand Down

0 comments on commit c7dd3f0

Please sign in to comment.