Skip to content

Commit

Permalink
update call script
Browse files Browse the repository at this point in the history
  • Loading branch information
fksyuan committed Dec 12, 2024
1 parent 03f2e87 commit 6d9d038
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
8 changes: 4 additions & 4 deletions script/CallZKTLS.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 6d9d038

Please sign in to comment.