Skip to content

Commit

Permalink
fix: redeploy contracts (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError authored Oct 12, 2023
1 parent ca6433a commit 7cdfd9c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion scripts/deploy_redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function main() {
];
} else if (network.name == 'testnet') {
args = [
'0xCb07bf0603da228C8ec602bf12b973b8A94f9bac', // old staking
'0x484fc3388FD1083fbaF8CE12F282df11F1095Ddf',
'0xf86b48B65355D292dDE7da8B4ad1913a72ad45C9',
'0x17CFdc0Ac0723ef2c9F39D4BC1FFBeD0405FffeD',
'0xb1C7F17Ed88189Abf269Bf68A3B2Ed83C5276aAe',
Expand Down
5 changes: 3 additions & 2 deletions scripts/deploy_roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import { ethers, network } from 'hardhat';
import hre from 'hardhat';

Check warning on line 4 in scripts/deploy_roles.ts

View workflow job for this annotation

GitHub Actions / check

'hre' is defined but never used

async function main() {
// TESTNET
// Order of contracts and how should they be deployed, testnet addresses
const currentPostage = '0xf86b48B65355D292dDE7da8B4ad1913a72ad45C9';
const currentOracle = '0x17CFdc0Ac0723ef2c9F39D4BC1FFBeD0405FffeD';
const currentStaking = '0xCb07bf0603da228C8ec602bf12b973b8A94f9bac'; // this is old staking addy
const currentRedis = '0x73Ddb38a85b2BEfEF29238aA97433C685304db66';
const currentStaking = '0x484fc3388FD1083fbaF8CE12F282df11F1095Ddf';
const currentRedis = '0x3803158ebED151c44cbd74CFa877ef28f5224eC3';

// Change roles on current stamp contract
const stamp = await ethers.getContractAt('PostageStamp', currentPostage);
Expand Down
Loading

0 comments on commit 7cdfd9c

Please sign in to comment.