-
Notifications
You must be signed in to change notification settings - Fork 4
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
Hyperspace #17
base: master
Are you sure you want to change the base?
Hyperspace #17
Conversation
.env.local-hyperspace
Outdated
## simple-hub, xstate-wallet | ||
CONSENSUS_APP_ADDRESS = '0xeB1170bf49fac482fA296C98Ac04024e8a2d6519' | ||
|
||
### NitroAdjudicator and ETHAssetHolder deployed by George Knee, by uploading files to https://remix.ethereum.org/ and using compiler 0.6.10+commit.00c0fcaf, optimization ON. Source code verified on https://goerli.etherscan.io/ . |
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.
Nit: let's clean up the comments and references to Goerli in this file.
@@ -41,6 +40,7 @@ async function fund(channelID: string, value: BigNumber): Promise<void> { | |||
} | |||
|
|||
await lock.acquire(channelID, async () => { | |||
console.log('SANITYTYUASDAS'); |
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.
✂️
@@ -94,7 +93,7 @@ async function createEthAssetHolder() { | |||
{ETH_ASSET_HOLDER_ADDRESS: process.env.ETH_ASSET_HOLDER_ADDRESS}, | |||
'Connected to eth asset holder' | |||
); | |||
|
|||
console.log(contract); |
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.
✂️
// TODO: re-enable this when we figure out the proper way to do this | ||
//const ready = currentNetwork === requiredNetwork && initialized; |
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.
Can you explain a bit more?
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.
It seems that we're not getting the correct chain id from metamask (at least in firefox). We seem to get back a 0
instead of 3141
. Mostly like due to changes to how window.ethereum
works.
For now I just disabled the check.
@@ -516,3 +518,4 @@ export class PaymentChannelClient { | |||
export const paymentChannelClient = new PaymentChannelClient( | |||
new ChannelClient(window.channelProvider) | |||
); | |||
paymentChannelClient.initialize(); |
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.
Is this necessary?
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.
Hmm maybe not. It seemed like the payment channel wasn't getting initialized without this but let me investigate.
✅ Deploy Preview for lucky-chaja-70e2bd ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
fixes warning about <div> being a descendent of <p>
silences a warning about this event being deprecated
and move from dev to prod dependency
Silence some warnings
patch @statechannels/iframe-channel-provider
update FAQ link
Ethereum to hyperspace (website text)
make prettier happy
No description provided.