Skip to content

Commit

Permalink
add debug2
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardJES committed Jan 18, 2024
1 parent 7a06e3c commit 211fcfe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/EIP712Debug2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import { ethers, network } from 'hardhat'
// Do signature verification
// inspect console.log lines

// "passport": {
// "zkevm_eth_address": "0x3878cadc6a521dceb1f46599913ce726c430a8e1",
// "zkevm_user_admin_address": "0xa110e9ccdc3714d1dabb2f25e8883061f75011bd"
// "passport": {
// "zkevm_eth_address": "0x3878cadc6a521dceb1f46599913ce726c430a8e1",
// "zkevm_user_admin_address": "0xa110e9ccdc3714d1dabb2f25e8883061f75011bd"

async function main() {
// Get signature values
Expand Down Expand Up @@ -67,6 +67,7 @@ async function main() {
console.log("STORAGE AT: ", await ethers.provider.getStorageAt(scwAddr, scwAddr));
console.log('PROXY IMPLEMENTATION: ', await walletProxy.PROXY_getImplementation())
const implementationValue = "0x000000000000000000000000" + moduleLog.address.substring(2);
console.log()
await network.provider.send('hardhat_setStorageAt', [scwAddr, scwAddr, implementationValue])


Expand Down

0 comments on commit 211fcfe

Please sign in to comment.