Skip to content

Commit

Permalink
add registration logs
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiecarlton committed Jul 17, 2024
1 parent d845105 commit 809b5bb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/utils/registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ export async function getBase64EncodedMembraneProof ({
throw new Error('Membrane Proof payload parsing error')
}



console.log(`^&* about to fetch registration`, membrane_proof_server_url)
console.log(`^&* params`, params)
console.log(`^&* JSON.stringify(params)`, JSON.stringify(params))

let data
try {
const resp = await fetch(`${membrane_proof_server_url}`, {
Expand All @@ -62,6 +68,8 @@ export async function getBase64EncodedMembraneProof ({
})

data = await resp.json()

console.log("^&* data", data)
} catch (e: any) {
throw new Error(`Membrane Proof Server network error: ${e?.message}`)
}
Expand Down

0 comments on commit 809b5bb

Please sign in to comment.