diff --git a/package.json b/package.json index e26413d..7ab1761 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "compile": "forge build", "deploy:zkTLS": "forge script script/PrimusZkTLS.s.sol --rpc-url holesky --broadcast", "upgrade:zkTLS": "forge script script/UpgradeZkTLS.s.sol --rpc-url holesky --broadcast", + "call:zkTLS": "forge script script/CallZKTLS.s.sol --rpc-url holesky --broadcast", "clean": "forge clean", "publish": "npm publish --access public" }, diff --git a/script/CallZKTLS.s.sol b/script/CallZKTLS.s.sol index 59d8e44..4a9a2f7 100644 --- a/script/CallZKTLS.s.sol +++ b/script/CallZKTLS.s.sol @@ -10,12 +10,12 @@ contract CallZkTLS is Script { //address senderAddress = vm.addr(senderPrivateKey); vm.startBroadcast(senderPrivateKey); - PrimusZKTLS primusZkTLS = PrimusZKTLS(address(0x11701Cf8Df597668C8dCCdD67Fd0836fB8564f80)); - Attestor memory newUser = Attestor({ + PrimusZKTLS primusZkTLS = PrimusZKTLS(address(0xB3d8DDDc793F75a930313785e5d1612747093f25)); + Attestor memory attestor = Attestor({ attestorAddr: address(0xe02bD7a6c8aA401189AEBb5Bad755c2610940A73), - url: "https://primuslabs.org" + url: "https://primuslabs.xyz/" }); - primusZkTLS.setAttestor(newUser); + primusZkTLS.setAttestor(attestor); vm.stopBroadcast(); }