Skip to content

Commit

Permalink
fix: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rndquu committed Mar 28, 2024
1 parent f395120 commit f50f3be
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Provider } from "@ethersproject/providers";
import { Contract, ethers } from "ethers";

import latestDeployment from "@ubiquity/contracts/broadcast/05_StakingShare.s.sol/31337/run-latest.json";
import useWeb3 from "../use-web-3";
import { sushiSwapPoolAddress, dollar3poolMarketAddress, _3crvTokenAddress } from "@/lib/utils";

Expand Down Expand Up @@ -120,6 +119,16 @@ const useProtocolContracts = async () => {
};
let diamondAddress = "";

// NOTICE: temporary fix until https://github.com/ubiquity/ubiquity-dollar/issues/833 is ready
const latestDeployment = {
transactions: [
{
contractAddress: 'test',
contractName: 'test',
transactionType: 'test',
}
],
};
// for all of the deployment transactions
latestDeployment.transactions.map((tx) => {
if (tx.transactionType === "CREATE") {
Expand Down

0 comments on commit f50f3be

Please sign in to comment.