Skip to content

Commit

Permalink
fix: add constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
lydiagarms committed Sep 13, 2024
1 parent 73b1f47 commit acbe256
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/contracts/mapping-3.zol
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ contract MyContract {
secret uint256 private b;
address public admin;

constructor() {
admin = msg.sender;
}

function assign(secret address param1, secret uint256 param2) public {
unknown a[param1] += param2;
}
Expand Down

0 comments on commit acbe256

Please sign in to comment.