-
Notifications
You must be signed in to change notification settings - Fork 10
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
build: support sepolia #136
Changes from 7 commits
95bf891
0cc7af0
8a790d4
1bcf958
35a920d
7c81aec
7177b6f
5f53316
22e667a
612f49b
50a3e66
84b321f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,4 +68,4 @@ export const TopBar = () => { | |
</div> | ||
</TopBarGrid> | ||
); | ||
}; | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { BigNumber } from "ethers"; | ||
|
||
export const permit2Address = "0x000000000022D473030F116dDEE9F6B43aC78BA3"; | ||
aahna-ashina marked this conversation as resolved.
Show resolved
Hide resolved
|
||
export const NATION = "0x23Ca3002706b71a440860E3cf8ff64679A00C9d7"; | ||
export const frameworkAddress = "0xD96aA6e2568f4e9632D2A5234Bb8410ca7609a27"; | ||
export const arbitratorAddress = "0xBe67cEdCD1FE38aac8a5781A51250FDeFB344E6C"; | ||
export const cohortAddress = "0xfbb66bc799308435ed2a0e0c0ac3ad1d46749b7b"; | ||
export const safeTxServiceUrl = "https://safe-transaction-sepolia.safe.global"; | ||
export const subgraphURI = process.env.NEXT_PUBLIC_GRAPH_API_URL_SEPOLIA; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to deploy something for the Graph API? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be honest, I'm not sure. I need to take a look at this and test the app to see if there are any problems. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @aahna-ashina Can you share the current subgraphURI that https://agreements.nation3.org/ is using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Do you mean the |
||
export const appealCost = BigNumber.from("1000000000000000000"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that I have to add this variable in the Vercel config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the old code, but it would be better if we only needed NEXT_PUBLIC_ALCHEMY_API_KEY.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think so also. Having one variable name per chain is just weird. Let's refactor those later, in a separate pull request: #139
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I already update it in my latest commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also added
NEXT_PUBLIC_CHAIN
=sepolia
in the Vercel config for the Sepolia project.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, wait a second, something is weird here. We don't need NEXT_PUBLIC_CHAIN since our app supports multiple chains.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, testing and debugging gets easier if we use one subdomain (and one Vercel project) per chain. That's how we are doing it with the other Nation3 dApps, so probably makes most sense to treat the Agreements dApp the same way?