Skip to content

Commit

Permalink
index init
Browse files Browse the repository at this point in the history
  • Loading branch information
kKahina committed Aug 13, 2024
1 parent f776901 commit 8153236
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
8 changes: 8 additions & 0 deletions privatekey
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAACmFlczI1Ni1jdHIAAAAGYmNyeXB0AAAAGAAAABASCLRvwc
n77yJFa5VzDXRKAAAAGAAAAAEAAAAzAAAAC3NzaC1lZDI1NTE5AAAAIERVnHdjXuVDYprn
Qgq++Lv012NyXBzX+1Ea/6RUgvRGAAAAoB52MIATVWDsWlmsmifcL9SlGPmFw+Sh0qHacl
W/1BWDhEb2Wsz0TIiLx3ujAjAwKpRatROFkBM/BcA346oBGT01EtCMl+KNYSB2pYIp4Q4k
XAwR3lLVIjH1PNFOIyPL/FTHluYSSPpVdBINE9qa8Lq0cp4Rshru7MV9X74AP1Qddl9zNp
zxo/sLgwe7IkdxxGbJJgIzk4fAJC+rDUcjvtQ=
-----END OPENSSH PRIVATE KEY-----
1 change: 1 addition & 0 deletions privatekey.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIERVnHdjXuVDYprnQgq++Lv012NyXBzX+1Ea/6RUgvRG [email protected]
6 changes: 6 additions & 0 deletions src/transformers/visitors/toOrchestrationVisitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ if (IDnode) {
// Optionally, handle the case where IDnode is null if needed
return;
}

if (!node.baseExpression || !node.baseExpression.interactsWithPublic){
console.error('2222222222222222222 base expression is not defined or does not interact with public:',node);
return;

}
// console.log('Node Path:', path);
// console.log('Referenced Indicator:', path.scope.getReferencedIndicator(node, true));

Expand Down
4 changes: 3 additions & 1 deletion test/contracts/Non-Secret-Array.zol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ pragma solidity ^0.8.0;
contract Assign {
secret uint256 private a;
secret uint256 private b;
uint256 public index;
uint256 public index;
uint256 public d;
uint256 [3] public c;

function add( uint256 value) public {
Expand All @@ -12,6 +13,7 @@ c[index] += value;

function add1( uint256 value) public {
c[index] += value;
known a +=d;

}

Expand Down

0 comments on commit 8153236

Please sign in to comment.